Title: [251170] trunk/Source/WebInspectorUI
Revision
251170
Author
drou...@apple.com
Date
2019-10-15 17:01:35 -0700 (Tue, 15 Oct 2019)

Log Message

Web Inspector: Debugger: prevent source mapped resources from being blackboxed
https://bugs.webkit.org/show_bug.cgi?id=203007

Reviewed by Matt Baker.

Since source mapped resources are entirely a frontend concept, it doesn't make sense to
allow them to be blackboxed.

* UserInterface/Models/SourceMapResource.js:
(WI.SourceMapResource.prototype.get supportsScriptBlackboxing):

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (251169 => 251170)


--- trunk/Source/WebInspectorUI/ChangeLog	2019-10-15 23:40:00 UTC (rev 251169)
+++ trunk/Source/WebInspectorUI/ChangeLog	2019-10-16 00:01:35 UTC (rev 251170)
@@ -1,3 +1,16 @@
+2019-10-15  Devin Rousso  <drou...@apple.com>
+
+        Web Inspector: Debugger: prevent source mapped resources from being blackboxed
+        https://bugs.webkit.org/show_bug.cgi?id=203007
+
+        Reviewed by Matt Baker.
+
+        Since source mapped resources are entirely a frontend concept, it doesn't make sense to
+        allow them to be blackboxed.
+
+        * UserInterface/Models/SourceMapResource.js:
+        (WI.SourceMapResource.prototype.get supportsScriptBlackboxing):
+
 2019-10-15  Nikita Vasilyev  <nvasil...@apple.com>
 
         Web Inspector: Convert CSSRule selectorText setter to setSelectorText method because it's asynchronous

Modified: trunk/Source/WebInspectorUI/UserInterface/Models/SourceMapResource.js (251169 => 251170)


--- trunk/Source/WebInspectorUI/UserInterface/Models/SourceMapResource.js	2019-10-15 23:40:00 UTC (rev 251169)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/SourceMapResource.js	2019-10-16 00:01:35 UTC (rev 251170)
@@ -74,6 +74,11 @@
         return resourceURLComponents.path.substring(sourceMappingBasePathURLComponents.path.length, resourceURLComponents.length);
     }
 
+    get supportsScriptBlackboxing()
+    {
+        return false;
+    }
+
     requestContentFromBackend()
     {
         // Revert the markAsFinished that was done in the constructor.
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to