Title: [260765] trunk/Source/WebKit
Revision
260765
Author
[email protected]
Date
2020-04-27 10:42:03 -0700 (Mon, 27 Apr 2020)

Log Message

Fix assertion after r260709
https://bugs.webkit.org/show_bug.cgi?id=211007
<rdar://problem/62457303>

* WebProcess/Plugins/PluginView.cpp:
(WebKit::PluginView::performJavaScriptURLRequest):
Not only did I spell _javascript_ wrong, I should've used the special protocolIsJavaScript() method.

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (260764 => 260765)


--- trunk/Source/WebKit/ChangeLog	2020-04-27 17:13:19 UTC (rev 260764)
+++ trunk/Source/WebKit/ChangeLog	2020-04-27 17:42:03 UTC (rev 260765)
@@ -1,5 +1,15 @@
 2020-04-27  Alex Christensen  <[email protected]>
 
+        Fix assertion after r260709
+        https://bugs.webkit.org/show_bug.cgi?id=211007
+        <rdar://problem/62457303>
+
+        * WebProcess/Plugins/PluginView.cpp:
+        (WebKit::PluginView::performJavaScriptURLRequest):
+        Not only did I spell _javascript_ wrong, I should've used the special protocolIsJavaScript() method.
+
+2020-04-27  Alex Christensen  <[email protected]>
+
         Reduce use of WebPageProxy::VoidCallback
         https://bugs.webkit.org/show_bug.cgi?id=210944
 

Modified: trunk/Source/WebKit/WebProcess/Plugins/PluginView.cpp (260764 => 260765)


--- trunk/Source/WebKit/WebProcess/Plugins/PluginView.cpp	2020-04-27 17:13:19 UTC (rev 260764)
+++ trunk/Source/WebKit/WebProcess/Plugins/PluginView.cpp	2020-04-27 17:42:03 UTC (rev 260765)
@@ -1233,7 +1233,7 @@
 
 void PluginView::performJavaScriptURLRequest(URLRequest* request)
 {
-    ASSERT(request->request().url().protocolIs("javasript"));
+    ASSERT(request->request().url().protocolIsJavaScript());
 
     RefPtr<Frame> frame = m_pluginElement->document().frame();
     if (!frame)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to