Title: [144114] trunk/Source/WebKit2
Revision
144114
Author
[email protected]
Date
2013-02-26 15:06:17 -0800 (Tue, 26 Feb 2013)

Log Message

Fix a copy/paste error in WebLoaderClient::didBlockInsecurePluginVersion
https://bugs.webkit.org/show_bug.cgi?id=110914
<rdar://problem/13297581>

Reviewed by Beth Dakin.

Pass kWKErrorCodeInsecurePlugInVersion to the pluginDidFail callback.

* UIProcess/WebLoaderClient.cpp:
(WebKit::WebLoaderClient::didBlockInsecurePluginVersion):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (144113 => 144114)


--- trunk/Source/WebKit2/ChangeLog	2013-02-26 22:57:17 UTC (rev 144113)
+++ trunk/Source/WebKit2/ChangeLog	2013-02-26 23:06:17 UTC (rev 144114)
@@ -1,3 +1,16 @@
+2013-02-26  Anders Carlsson  <[email protected]>
+
+        Fix a copy/paste error in WebLoaderClient::didBlockInsecurePluginVersion
+        https://bugs.webkit.org/show_bug.cgi?id=110914
+        <rdar://problem/13297581>
+
+        Reviewed by Beth Dakin.
+
+        Pass kWKErrorCodeInsecurePlugInVersion to the pluginDidFail callback.
+
+        * UIProcess/WebLoaderClient.cpp:
+        (WebKit::WebLoaderClient::didBlockInsecurePluginVersion):
+
 2013-02-26  Jer Noble  <[email protected]>
 
         Unreviewed build fix; use correct macro for platform name in FeatureDefines.xcconfig.

Modified: trunk/Source/WebKit2/UIProcess/WebLoaderClient.cpp (144113 => 144114)


--- trunk/Source/WebKit2/UIProcess/WebLoaderClient.cpp	2013-02-26 22:57:17 UTC (rev 144113)
+++ trunk/Source/WebKit2/UIProcess/WebLoaderClient.cpp	2013-02-26 23:06:17 UTC (rev 144114)
@@ -295,7 +295,7 @@
 
     if (m_client.pluginDidFail) {
         RefPtr<ImmutableDictionary> pluginInformation = WebPageProxy::pluginInformationDictionary(pluginBundleIdentifier, pluginBundleVersion, String(), frameURLString, mimeType, pageURLString, String(), String());
-        m_client.pluginDidFail(toAPI(page), kWKErrorCodeCannotLoadPlugIn, toAPI(pluginInformation.get()), m_client.clientInfo);
+        m_client.pluginDidFail(toAPI(page), kWKErrorCodeInsecurePlugInVersion, toAPI(pluginInformation.get()), m_client.clientInfo);
     }
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to