Title: [197802] trunk/Source/WebInspectorUI
Revision
197802
Author
[email protected]
Date
2016-03-08 13:56:14 -0800 (Tue, 08 Mar 2016)

Log Message

Web Inspector: Images being blocked by CSP 2.0
https://bugs.webkit.org/show_bug.cgi?id=155182
<rdar://problem/25040640>

Patch by Joseph Pecoraro <[email protected]> on 2016-03-08
Reviewed by Daniel Bates.

* UserInterface/Main.html:
Allow Web Inspector to load file: and blob: image resources.
Also blob: media and font resources.

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (197801 => 197802)


--- trunk/Source/WebInspectorUI/ChangeLog	2016-03-08 21:44:43 UTC (rev 197801)
+++ trunk/Source/WebInspectorUI/ChangeLog	2016-03-08 21:56:14 UTC (rev 197802)
@@ -1,3 +1,15 @@
+2016-03-08  Joseph Pecoraro  <[email protected]>
+
+        Web Inspector: Images being blocked by CSP 2.0
+        https://bugs.webkit.org/show_bug.cgi?id=155182
+        <rdar://problem/25040640>
+
+        Reviewed by Daniel Bates.
+
+        * UserInterface/Main.html:
+        Allow Web Inspector to load file: and blob: image resources.
+        Also blob: media and font resources.
+
 2016-03-06  Nikita Vasilyev  <[email protected]>
 
         Web Inspector: Use half-pixel borders for data grids

Modified: trunk/Source/WebInspectorUI/UserInterface/Main.html (197801 => 197802)


--- trunk/Source/WebInspectorUI/UserInterface/Main.html	2016-03-08 21:44:43 UTC (rev 197801)
+++ trunk/Source/WebInspectorUI/UserInterface/Main.html	2016-03-08 21:56:14 UTC (rev 197802)
@@ -26,7 +26,7 @@
 <html>
 <head>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-    <meta http-equiv="Content-Security-Policy" content="default-src 'self'; img-src *; connect-src *; media-src *; font-src *; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline'">
+    <meta http-equiv="Content-Security-Policy" content="default-src 'self'; img-src * file: blob:; connect-src *; media-src * blob:; font-src * blob:; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline'">
 
     <link rel="stylesheet" href=""
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to