Title: [256112] trunk/Source/WebKit
Revision
256112
Author
[email protected]
Date
2020-02-10 02:04:05 -0800 (Mon, 10 Feb 2020)

Log Message

[GTK][WebInspector] Always allow data:// URIs for inspector views
https://bugs.webkit.org/show_bug.cgi?id=207454

Reviewed by Carlos Garcia Campos.

No new tests needed.

* UIProcess/Inspector/gtk/WebInspectorProxyGtk.cpp:
(WebKit::WebInspectorProxy::platformCreateFrontendPage): The Web
Inspector may use navigation to data:// URLs, so always allow it.

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (256111 => 256112)


--- trunk/Source/WebKit/ChangeLog	2020-02-10 08:38:07 UTC (rev 256111)
+++ trunk/Source/WebKit/ChangeLog	2020-02-10 10:04:05 UTC (rev 256112)
@@ -1,3 +1,16 @@
+2020-02-10  Adrian Perez de Castro  <[email protected]>
+
+        [GTK][WebInspector] Always allow data:// URIs for inspector views
+        https://bugs.webkit.org/show_bug.cgi?id=207454
+
+        Reviewed by Carlos Garcia Campos.
+
+        No new tests needed.
+
+        * UIProcess/Inspector/gtk/WebInspectorProxyGtk.cpp:
+        (WebKit::WebInspectorProxy::platformCreateFrontendPage): The Web
+        Inspector may use navigation to data:// URLs, so always allow it.
+
 2020-02-09  Lauro Moura  <[email protected]>
 
         [GTK][WPE] Expose allowTopNavigationToDataURL

Modified: trunk/Source/WebKit/UIProcess/Inspector/gtk/WebInspectorProxyGtk.cpp (256111 => 256112)


--- trunk/Source/WebKit/UIProcess/Inspector/gtk/WebInspectorProxyGtk.cpp	2020-02-10 08:38:07 UTC (rev 256111)
+++ trunk/Source/WebKit/UIProcess/Inspector/gtk/WebInspectorProxyGtk.cpp	2020-02-10 10:04:05 UTC (rev 256112)
@@ -147,6 +147,7 @@
     preferences->setDeveloperExtrasEnabled(true);
     preferences->setLogsPageMessagesToSystemConsoleEnabled(true);
 #endif
+    preferences->setAllowTopNavigationToDataURLs(true);
     preferences->setJavaScriptRuntimeFlags({
     });
     auto pageGroup = WebPageGroup::create(inspectorPageGroupIdentifierForPage(inspectedPage()));
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to