RESOLVED FIXED 116290
Web Inspector: Allow "//# sourceMappingURL" syntax alongside "//@"
https://bugs.webkit.org/show_bug.cgi?id=116290
Summary Web Inspector: Allow "//# sourceMappingURL" syntax alongside "//@"
Joseph Pecoraro
Reported 2013-05-16 22:21:23 PDT
Deprecating "//@" syntax in favor of "//#" syntax is actively being discussed on the dev-js-sourcemap mozilla mailing list, because of issues with JS conditional compilation IE: <https://groups.google.com/forum/?fromgroups=#!topic/mozilla.dev.js-sourcemap/4uo7Z5nTfUY> It made it into the Source Map Spec: <https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit> > May 16, 2013 - John Lenz > Updated linking convention to use # instead of @. @ conflicts with internet explorer’s conditional code And a note about the previously deprecated syntax (which we should still support): > Note: The prefix for this annotation was initially “//@” however this conflicts with > Internet Explorer’s conditional comments and was changed to “//#”. It is reasonable > for tools to also accept “//@” but “//#” is preferred.
Attachments
[PATCH] Proposed Fix (6.63 KB, patch)
2013-05-16 22:53 PDT, Joseph Pecoraro
no flags
Joseph Pecoraro
Comment 1 2013-05-16 22:22:39 PDT
Joseph Pecoraro
Comment 2 2013-05-16 22:53:23 PDT
Created attachment 202047 [details] [PATCH] Proposed Fix Support # or @ for sourceMappingURL and sourceURL.
WebKit Commit Bot
Comment 3 2013-05-17 05:30:21 PDT
Comment on attachment 202047 [details] [PATCH] Proposed Fix Clearing flags on attachment: 202047 Committed r150251: <http://trac.webkit.org/changeset/150251>
WebKit Commit Bot
Comment 4 2013-05-17 05:30:23 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.