Created attachment 470660 [details] 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: <html> <head> <script src="https://player-stable-endpoint.prd.mp.itv.com/ctv/virginmedia"></script> <body> </body> </html> 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: image.png image.png 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): <html> <head> <script src="https://player-stable-endpoint.prd.mp.itv.com/ctv/1.14.5/index.js"></script> <body> </body> </html> the index.js file will be always in main branch of the resource tree( "Extra Scripts" folder will not be created at all)
Created attachment 470661 [details] Screenshot with index.js file not in "Extra Scripts" folder
<rdar://problem/125952957>