Title: [189080] trunk/Source/WebKit2
Revision
189080
Author
[email protected]
Date
2015-08-27 18:43:14 -0700 (Thu, 27 Aug 2015)

Log Message

pluginInfo.clientLoadPolicy is used uninitialized in WebContent process
https://bugs.webkit.org/show_bug.cgi?id=148550

Reviewed by Tim Horton.

This fixes flakiness on plugins/plugin-_javascript_-access.html.

* Shared/WebCoreArgumentCoders.cpp: (IPC::ArgumentCoder<PluginInfo>::decode):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (189079 => 189080)


--- trunk/Source/WebKit2/ChangeLog	2015-08-28 01:13:39 UTC (rev 189079)
+++ trunk/Source/WebKit2/ChangeLog	2015-08-28 01:43:14 UTC (rev 189080)
@@ -1,3 +1,14 @@
+2015-08-27  Alexey Proskuryakov  <[email protected]>
+
+        pluginInfo.clientLoadPolicy is used uninitialized in WebContent process
+        https://bugs.webkit.org/show_bug.cgi?id=148550
+
+        Reviewed by Tim Horton.
+
+        This fixes flakiness on plugins/plugin-_javascript_-access.html.
+
+        * Shared/WebCoreArgumentCoders.cpp: (IPC::ArgumentCoder<PluginInfo>::decode):
+
 2015-08-27  Timothy Horton  <[email protected]>
 
         Factor out Lookup invocation

Modified: trunk/Source/WebKit2/Shared/WebCoreArgumentCoders.cpp (189079 => 189080)


--- trunk/Source/WebKit2/Shared/WebCoreArgumentCoders.cpp	2015-08-28 01:13:39 UTC (rev 189079)
+++ trunk/Source/WebKit2/Shared/WebCoreArgumentCoders.cpp	2015-08-28 01:43:14 UTC (rev 189080)
@@ -596,8 +596,7 @@
         return false;
     if (!decoder.decode(pluginInfo.isApplicationPlugin))
         return false;
-    PluginLoadClientPolicy clientLoadPolicy;
-    if (!decoder.decodeEnum(clientLoadPolicy))
+    if (!decoder.decodeEnum(pluginInfo.clientLoadPolicy))
         return false;
 #if PLATFORM(MAC)
     if (!decoder.decode(pluginInfo.bundleIdentifier))
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to