Ticket #9374 (closed enhancement: fixed)
enable '//@ sourceURL' debug assist for WebKit
| Reported by: | pmuellr | Owned by: | peller |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.4 |
| Component: | Core | Version: | 1.3.1 |
| Severity: | normal | Keywords: | |
| Cc: | peller, jburke, dante |
Description
In dojo._base._loader.loader.js, in the dojo._loadUri() function, a comment of the form "//@ sourceURL" is appended to source about to be eval()'d, as a debug assist for Firebug.
I've submitted code to WebKit? to enable the same functionality there:
Unfortunately, dojo only enables this check if the browser is a Mozilla-based browser (a check if(d.isMoz) is made). I'd like to either have the check removed, or extended to include WebKit?.
I've tested removing the check, and with the WebKit? patch, everything works fine, and you get "named" eval(0's.
Change History
Note: See
TracTickets for help on using
tickets.