Changeset 259097 in webkit


Ignore:
Timestamp:
Mar 26, 2020 6:35:59 PM (4 years ago)
Author:
Chris Dumez
Message:

Regression: Unable to trigger context menu on empty tabs in Safari
https://bugs.webkit.org/show_bug.cgi?id=209628

Reviewed by Geoffrey Garen.

Launch the WebPageProxy's initial process if it starts processing mouse events.
As an optimization, the WebPageProxy only launches its initial process when it
really needs to.

  • UIProcess/WebPageProxy.cpp:

(WebKit::WebPageProxy::handleMouseEvent):

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r259093 r259097  
     12020-03-26  Chris Dumez  <cdumez@apple.com>
     2
     3        Regression: Unable to trigger context menu on empty tabs in Safari
     4        https://bugs.webkit.org/show_bug.cgi?id=209628
     5
     6        Reviewed by Geoffrey Garen.
     7
     8        Launch the WebPageProxy's initial process if it starts processing mouse events.
     9        As an optimization, the WebPageProxy only launches its initial process when it
     10        really needs to.
     11
     12        * UIProcess/WebPageProxy.cpp:
     13        (WebKit::WebPageProxy::handleMouseEvent):
     14
    1152020-03-26  Michael Catanzaro  <mcatanzaro@gnome.org>
    216
  • trunk/Source/WebKit/UIProcess/WebPageProxy.cpp

    r259085 r259097  
    24982498void WebPageProxy::handleMouseEvent(const NativeWebMouseEvent& event)
    24992499{
     2500    if (event.type() == WebEvent::MouseDown)
     2501        launchInitialProcessIfNecessary();
     2502
    25002503    if (!hasRunningProcess())
    25012504        return;
Note: See TracChangeset for help on using the changeset viewer.