Changeset 89865 in webkit


Ignore:
Timestamp:
Jun 27, 2011 3:11:19 PM (13 years ago)
Author:
jeffm@apple.com
Message:

Web process always pauses on launch
https://bugs.webkit.org/show_bug.cgi?id=63487

Reviewed by Oliver Hunt.

In the absence of the WEBKIT2_PAUSE_WEB_PROCESS_ON_LAUNCH environment variable, only pause the web process on
launch if the shift, control, and alt keys are all held down. This regressed in r89865, which always caused the
web process to pause if the shift and alt keys were not held down.

  • WebProcess/WebKitMain.cpp:

(pauseProcessIfNeeded): Add some parentheses.

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r89803 r89865  
     12011-06-27  Jeff Miller  <jeffm@apple.com>
     2
     3        Reviewed by Oliver Hunt.
     4
     5        Web process always pauses on launch
     6        https://bugs.webkit.org/show_bug.cgi?id=63487
     7       
     8        In the absence of the WEBKIT2_PAUSE_WEB_PROCESS_ON_LAUNCH environment variable, only pause the web process on
     9        launch if the shift, control, and alt keys are all held down. This regressed in r89865, which always caused the
     10        web process to pause if the shift and alt keys were not held down.
     11
     12        * WebProcess/WebKitMain.cpp:
     13        (pauseProcessIfNeeded): Add some parentheses.
     14
    1152011-06-27  Huang Dongsung  <luxtella@company100.net>
    216
  • trunk/Source/WebKit2/WebProcess/WebKitMain.cpp

    r89689 r89865  
    151151    // debugger. This is useful for debugging problems that happen early in the web process's lifetime.
    152152    const unsigned short highBitMaskShort = 0x8000;
    153     if (!getenv("WEBKIT2_PAUSE_WEB_PROCESS_ON_LAUNCH") && !(::GetKeyState(VK_CONTROL) & highBitMaskShort) && (::GetKeyState(VK_MENU) & highBitMaskShort) && (::GetKeyState(VK_SHIFT) & highBitMaskShort))
     153    if (!getenv("WEBKIT2_PAUSE_WEB_PROCESS_ON_LAUNCH") && !((::GetKeyState(VK_CONTROL) & highBitMaskShort) && (::GetKeyState(VK_MENU) & highBitMaskShort) && (::GetKeyState(VK_SHIFT) & highBitMaskShort)))
    154154        return;
    155155
Note: See TracChangeset for help on using the changeset viewer.