[Webkit-unassigned] [Bug 271880] New: "Extra Scripts/Style Sheets" and missing sourceMappingURL issue

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 28 23:57:26 PDT 2024


            Bug ID: 271880
           Summary: "Extra Scripts/Style Sheets" and missing
                    sourceMappingURL issue
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: pgorszkowski at igalia.com
                CC: inspector-bugzilla-changes at group.apple.com

Created attachment 470660

  --> https://bugs.webkit.org/attachment.cgi?id=470660&action=review

Screenshot with index.js file inside "Extra Scripts" folder

inconsistent behaviour in case of WebInspector and "Extra Scripts". The inconsistency is observed with this simple test case:

<script src="https://player-stable-endpoint.prd.mp.itv.com/ctv/virginmedia"></script>

https://player-stable-endpoint.prd.mp.itv.com/ctv/virginmedia redirects to https://player-stable-endpoint.prd.mp.itv.com/ctv/1.14.5/index.js.
https://player-stable-endpoint.prd.mp.itv.com/ctv/1.14.5/index.js contains "//# sourceMappingURL=index.js.map" but index.js.map does not exist on server

When we open site with simple test case, and then webinspector and we go to Sources we see "Extra Scripts" folder with this index.js:

but when we refresh the site (webinspector is opened during that) then index.js file is not in "Extra Scripts" but in main resources:

If we use direct https://player-stable-endpoint.prd.mp.itv.com/ctv/1.14.5/index.js as a source of the script (so without redirection from https://player-stable-endpoint.prd.mp.itv.com/ctv/virginmedia):

<script src="https://player-stable-endpoint.prd.mp.itv.com/ctv/1.14.5/index.js"></script>

the index.js file will be always in main branch of the resource tree( "Extra Scripts" folder will not be created at all)

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240329/e1064c3a/attachment.htm>

More information about the webkit-unassigned mailing list