[Webkit-unassigned] [Bug 50432] Web Inspector: inline script blocks and injected script elements don't show "scripts" tab list

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 3 04:45:55 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=50432





--- Comment #2 from Patrick Mueller <pmuellr at yahoo.com>  2010-12-03 04:45:54 PST ---
You can get "scripts" which otherwise are not shown in the scripts drop-down, to be shown, in Safari, by adding to your script, a comment of the form:

   //@sourceURL=name-of-the-script.js

Does not work in Chrome Dev Tools (never did, IIRC).

It should also be the case that if you can get the debugger to stop in one of these un-shown scripts, that while the debugger is stopped there, a script entry is added to the drop-down with the name "(program)".

We tried earlier to just show all the script entries, and for apps that load scripts dynamically (via eval()), the drop-down became a sea of unfriendly "(program)" entries.  Be careful what you ask for.  :-)

The whole concept of "scripts" in the browser environment is a bit squirrelly to begin with ...

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list