Title: [153856] trunk/Source/WebKit2
Revision
153856
Author
barraclo...@apple.com
Date
2013-08-08 16:19:17 -0700 (Thu, 08 Aug 2013)

Log Message

Disable suppression of plugin process for Java
https://bugs.webkit.org/show_bug.cgi?id=119604

Reviewed by Sam Weinig.

Workaround, the Java plugin doesn't like this.

* PluginProcess/mac/PluginProcessMac.mm:
(WebKit::PluginProcess::platformInitializeProcess):
    - +1 active task count on the java plugin, to inhibit supression.

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (153855 => 153856)


--- trunk/Source/WebKit2/ChangeLog	2013-08-08 23:12:36 UTC (rev 153855)
+++ trunk/Source/WebKit2/ChangeLog	2013-08-08 23:19:17 UTC (rev 153856)
@@ -1,3 +1,16 @@
+2013-08-08  Gavin Barraclough  <barraclo...@apple.com>
+
+        Disable suppression of plugin process for Java
+        https://bugs.webkit.org/show_bug.cgi?id=119604
+
+        Reviewed by Sam Weinig.
+
+        Workaround, the Java plugin doesn't like this.
+
+        * PluginProcess/mac/PluginProcessMac.mm:
+        (WebKit::PluginProcess::platformInitializeProcess):
+            - +1 active task count on the java plugin, to inhibit supression.
+
 2013-08-08  Dean Jackson  <d...@apple.com>
 
         Add logging to the primary plugin detection

Modified: trunk/Source/WebKit2/PluginProcess/mac/PluginProcessMac.mm (153855 => 153856)


--- trunk/Source/WebKit2/PluginProcess/mac/PluginProcessMac.mm	2013-08-08 23:12:36 UTC (rev 153855)
+++ trunk/Source/WebKit2/PluginProcess/mac/PluginProcessMac.mm	2013-08-08 23:19:17 UTC (rev 153856)
@@ -415,6 +415,10 @@
         return;
 
     m_pluginBundleIdentifier = CFBundleGetIdentifier(pluginBundle.get());
+
+    // FIXME: Workaround for Java not liking its plugin process to be supressed - <rdar://problem/14267843>
+    if (m_pluginBundleIdentifier == "com.oracle.java.JavaAppletPlugin")
+        incrementActiveTaskCount();
 }
 
 void PluginProcess::initializeProcessName(const ChildProcessInitializationParameters& parameters)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to