Changeset 88048 in webkit


Ignore:
Timestamp:
Jun 3, 2011 1:53:47 PM (13 years ago)
Author:
andersca@apple.com
Message:

2011-06-03 Anders Carlsson <andersca@apple.com>

Reviewed by Brady Eidson.

Disable the sync message timeout for the Microsoft SharePoint plug-in
https://bugs.webkit.org/show_bug.cgi?id=62043
<rdar://problem/9536303>

  • WebProcess/Plugins/PluginProcessConnection.cpp: (WebKit::defaultSyncMessageTimeout):
Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r88046 r88048  
     12011-06-03  Anders Carlsson  <andersca@apple.com>
     2
     3        Reviewed by Brady Eidson.
     4
     5        Disable the sync message timeout for the Microsoft SharePoint plug-in
     6        https://bugs.webkit.org/show_bug.cgi?id=62043
     7        <rdar://problem/9536303>
     8
     9        * WebProcess/Plugins/PluginProcessConnection.cpp:
     10        (WebKit::defaultSyncMessageTimeout):
     11
    1122011-06-03  Andreas Kling  <kling@webkit.org>
    213
  • trunk/Source/WebKit2/WebProcess/Plugins/PluginProcessConnection.cpp

    r87688 r88048  
    4545static double defaultSyncMessageTimeout(const String& pluginPath)
    4646{
     47    // FIXME: We should key this off something other than the path.
     48
    4749    // We don't want a message timeout for the AppleConnect plug-in.
    48     // FIXME: We should key this off something other than the path.
    4950    if (pathGetFileName(pluginPath) == "AppleConnect.plugin")
    5051        return CoreIPC::Connection::NoTimeout;
    5152
     53    // We don't want a message timeout for the Microsoft SharePoint plug-in
     54    // since it can spin a nested run loop in response to an NPN_Invoke, making it seem like
     55    // the plug-in process is hung. See <rdar://problem/9536303>.
     56    // FIXME: Instead of changing the default sync message timeout, CoreIPC could send an
     57    // asynchronous message which the other process would have to reply to on the main thread.
     58    // This way we could check if the plug-in process is actually hung or not.
     59    if (pathGetFileName(pluginPath) == "SharePointBrowserPlugin.plugin")
     60        return CoreIPC::Connection::NoTimeout;
     61   
    5262    return syncMessageTimeout;
    5363}
Note: See TracChangeset for help on using the changeset viewer.