Changeset 88048 in webkit
- Timestamp:
- Jun 3, 2011 1:53:47 PM (13 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r88046 r88048 1 2011-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 1 12 2011-06-03 Andreas Kling <kling@webkit.org> 2 13 -
trunk/Source/WebKit2/WebProcess/Plugins/PluginProcessConnection.cpp
r87688 r88048 45 45 static double defaultSyncMessageTimeout(const String& pluginPath) 46 46 { 47 // FIXME: We should key this off something other than the path. 48 47 49 // We don't want a message timeout for the AppleConnect plug-in. 48 // FIXME: We should key this off something other than the path.49 50 if (pathGetFileName(pluginPath) == "AppleConnect.plugin") 50 51 return CoreIPC::Connection::NoTimeout; 51 52 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 52 62 return syncMessageTimeout; 53 63 }
Note: See TracChangeset
for help on using the changeset viewer.