⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 228625 in webkit


Ignore:
Timestamp:
Feb 19, 2018, 1:32:40 AM (9 years ago)
Author:
Carlos Garcia Campos
Message:

Merge r228125 - Add DoNotProcessIncomingMessagesWhenWaitingForSyncReply to GetPlugins and RootViewToScreen
​https://bugs.webkit.org/show_bug.cgi?id=182458

Reviewed by Chris Dumez.

Added DoNotProcessIncomingMessagesWhenWaitingForSyncReply to GetPlugins and RootViewToScreen
which are found to get sent from WebContent process while ScriptDisallowedScope is present
by a work-in-progress patch on webkit.org/b/182449.

  • WebProcess/Plugins/WebPluginInfoProvider.cpp:

(WebKit::WebPluginInfoProvider::populatePluginCache):

  • WebProcess/WebPage/WebPage.cpp:

(WebKit::WebPage::rootViewToScreen):

Location:
releases/WebKitGTK/webkit-2.20/Source/WebKit
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • releases/WebKitGTK/webkit-2.20/Source/WebKit/ChangeLog

    r228621 r228625  
     12018-02-05  Ryosuke Niwa  <rniwa@webkit.org>
     2
     3        Add DoNotProcessIncomingMessagesWhenWaitingForSyncReply to GetPlugins and RootViewToScreen
     4        https://bugs.webkit.org/show_bug.cgi?id=182458
     5
     6        Reviewed by Chris Dumez.
     7
     8        Added DoNotProcessIncomingMessagesWhenWaitingForSyncReply to GetPlugins and RootViewToScreen
     9        which are found to get sent from WebContent process while ScriptDisallowedScope is present
     10        by a work-in-progress patch on webkit.org/b/182449.
     11
     12        * WebProcess/Plugins/WebPluginInfoProvider.cpp:
     13        (WebKit::WebPluginInfoProvider::populatePluginCache):
     14        * WebProcess/WebPage/WebPage.cpp:
     15        (WebKit::WebPage::rootViewToScreen):
     16
    1172018-02-05  John Wilander  <wilander@apple.com>
    218
  • releases/WebKitGTK/webkit-2.20/Source/WebKit/WebProcess/Plugins/WebPluginInfoProvider.cpp

    r227637 r228625  
    146146        HangDetectionDisabler hangDetectionDisabler;
    147147
    148         if (!WebProcess::singleton().parentProcessConnection()->sendSync(Messages::WebProcessProxy::GetPlugins(m_shouldRefreshPlugins), Messages::WebProcessProxy::GetPlugins::Reply(m_cachedPlugins, m_cachedApplicationPlugins), 0))
     148        if (!WebProcess::singleton().parentProcessConnection()->sendSync(Messages::WebProcessProxy::GetPlugins(m_shouldRefreshPlugins),
     149            Messages::WebProcessProxy::GetPlugins::Reply(m_cachedPlugins, m_cachedApplicationPlugins), 0,
     150            Seconds::infinity(), IPC::SendSyncOption::DoNotProcessIncomingMessagesWhenWaitingForSyncReply))
    149151            return;
    150152
  • releases/WebKitGTK/webkit-2.20/Source/WebKit/WebProcess/WebPage/WebPage.cpp

    r227984 r228625  
    28912891{
    28922892    IntRect screenRect;
    2893     sendSync(Messages::WebPageProxy::RootViewToScreen(rect), Messages::WebPageProxy::RootViewToScreen::Reply(screenRect));
     2893    sendSync(Messages::WebPageProxy::RootViewToScreen(rect), Messages::WebPageProxy::RootViewToScreen::Reply(screenRect), Seconds::infinity(), IPC::SendSyncOption::DoNotProcessIncomingMessagesWhenWaitingForSyncReply);
    28942894    return screenRect;
    28952895}
Note: See TracChangeset for help on using the changeset viewer.