Javascript files although loaded but cannot be seen in source window of developer tool
Reported by
haris...@gmail.com,
Nov 1 2016
|
||||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36 Steps to reproduce the problem: 1. Open a we page (calls a bunch of .js files) 2. Open chrome's dev tool source window 3. search for .js files that are loaded, they are not present there. What is the expected behavior? Source window should show all .js files called while loading a particular web page. What went wrong? I am using dojo heavily on the front end. Is there any configuration that I need to do in my project in order to reflect all .js files loaded for a web page. I can see them in Network's tab but in order to debug those files I need them in source window. Did this work before? N/A Chrome version: 54.0.2840.71 Channel: stable OS Version: 6.1 (Windows 7, Windows Server 2008 R2) Flash Version: Shockwave Flash 23.0 r0
,
Nov 2 2016
I'm seeing it occasionally (rarely) on various sites, also on extension background pages. So far I didn't notice what triggers the issue.
,
Nov 2 2016
I have fixed issue in my project. Apparently, chrome has moved its sourceURL parsing from DevTools to V8 and now, the regex for sourceURL doesn't match for the newer versions with what dojo has embedded into their framework. It will match //# or //@, but not the four slash variant (doubly commented directive). Look for ////@ sourceURL in one of your dojo js file and change it to //# sourceURL. It worked for me and now I can see all dojo js files loaded by the server for that particular page. Thanks.
,
Nov 2 2016
,
Nov 2 2016
,
Nov 2 2016
Looks like the issue was mitigated. |
||||
►
Sign in to add a comment |
||||
Comment 1 by hdodda@chromium.org
, Nov 2 2016Labels: Needs-Feedback
57.4 KB
57.4 KB View Download