Changeset 225863 in webkit
- Timestamp:
- Dec 13, 2017 12:19:08 PM (6 years ago)
- Location:
- trunk/Source
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r225862 r225863 1 2017-12-13 Per Arne Vollan <pvollan@apple.com> 2 3 REGRESSION(225597): Can't select a text box or web view on a page when VO is on. 4 https://bugs.webkit.org/show_bug.cgi?id=180756 5 <rdar://problem/35996158> 6 7 Reviewed by Brent Fulgham. 8 9 No new tests. 10 11 * platform/mac/EventLoopMac.mm: 12 (WebCore::EventLoop::cycle): 13 1 14 2017-12-13 Antoine Quint <graouts@apple.com> 2 15 -
trunk/Source/WebCore/platform/mac/EventLoopMac.mm
r225597 r225863 31 31 void EventLoop::cycle() 32 32 { 33 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101400 33 34 if (![NSApp isRunning]) { 34 35 [[NSRunLoop currentRunLoop] runUntilDate:[NSDate dateWithTimeIntervalSinceNow:0.05]]; 35 36 return; 36 37 } 38 #endif 37 39 [NSApp setWindowsNeedUpdate:YES]; 38 40 if (NSEvent *event = [NSApp nextEventMatchingMask:NSEventMaskAny untilDate:[NSDate dateWithTimeIntervalSinceNow:0.05] inMode:NSDefaultRunLoopMode dequeue:YES]) -
trunk/Source/WebKit/ChangeLog
r225858 r225863 1 2017-12-13 Per Arne Vollan <pvollan@apple.com> 2 3 REGRESSION(225597): Can't select a text box or web view on a page when VO is on. 4 https://bugs.webkit.org/show_bug.cgi?id=180756 5 <rdar://problem/35996158> 6 7 Reviewed by Brent Fulgham. 8 9 * Platform/IPC/mac/ConnectionMac.mm: 10 (IPC::AccessibilityProcessSuspendedNotification): 11 * UIProcess/Launcher/mac/ProcessLauncherMac.mm: 12 (WebKit::shouldLeakBoost): 13 * WebProcess/EntryPoint/mac/XPCService/WebContentService/Info-OSX.plist: 14 * WebProcess/WebProcess.cpp: 15 (WebKit::WebProcess::initializeProcess): 16 1 17 2017-12-13 Brent Fulgham <bfulgham@apple.com> 2 18 -
trunk/Source/WebKit/Platform/IPC/mac/ConnectionMac.mm
r225597 r225863 587 587 { 588 588 #if PLATFORM(MAC) 589 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101400 589 590 // Calling _AXUIElementNotifyProcessSuspendStatus will crash if the NSApplication event loop is not running. 590 591 if (![NSApp isRunning]) 591 592 return; 593 #endif 592 594 _AXUIElementNotifyProcessSuspendStatus(suspended ? AXSuspendStatusSuspended : AXSuspendStatusRunning); 593 595 #elif PLATFORM(IOS) -
trunk/Source/WebKit/UIProcess/Launcher/mac/ProcessLauncherMac.mm
r225597 r225863 77 77 return true; 78 78 #else 79 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101400 80 // Boost the WebContent process if the NSApplication run loop is not used. 81 if (launchOptions.processType == ProcessLauncher::ProcessType::Web) 82 return true; 83 #endif 79 84 // On Mac, leak a boost onto the NetworkProcess. 80 return launchOptions.processType == ProcessLauncher::ProcessType::Network 81 || launchOptions.processType == ProcessLauncher::ProcessType::Web; 85 return launchOptions.processType == ProcessLauncher::ProcessType::Network; 82 86 #endif 83 87 } -
trunk/Source/WebKit/WebProcess/EntryPoint/mac/XPCService/WebContentService/Info-OSX.plist
r225597 r225863 46 46 <string>Application</string> 47 47 <key>RunLoopType</key> 48 <string> NSRunLoop</string>48 <string>_NSApplicationMain</string> 49 49 <key>_MultipleInstances</key> 50 50 <true/> -
trunk/Source/WebKit/WebProcess/WebProcess.cpp
r225751 r225863 217 217 void WebProcess::initializeProcess(const ChildProcessInitializationParameters& parameters) 218 218 { 219 #if PLATFORM( COCOA) && !PLATFORM(IOS)219 #if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101400 220 220 // This call is needed when the WebProcess is not running the NSApplication event loop. 221 221 // Otherwise, calling enableSandboxStyleFileQuarantine() will fail.
Note: See TracChangeset
for help on using the changeset viewer.