WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
81248
Web Inspector: support inline source maps.
https://bugs.webkit.org/show_bug.cgi?id=81248
Summary
Web Inspector: support inline source maps.
Pavel Podivilov
Reported
2012-03-15 11:42:31 PDT
Web Inspector: support inline source maps. * support optional map.sourcesContent array with sources content * support data: url as script sourceMapURL, e.g. "//@ sourceMappingURL=data:application/json;base64,<base64-encoded map>"
Attachments
Patch
(6.88 KB, patch)
2012-03-15 11:44 PDT
,
Pavel Podivilov
pfeldman
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Pavel Podivilov
Comment 1
2012-03-15 11:44:32 PDT
Created
attachment 132091
[details]
Patch
Pavel Podivilov
Comment 2
2012-03-16 04:05:42 PDT
A better option would be to use data: urls for sources as well, to avoid changing source map format.
Pavel Podivilov
Comment 3
2012-03-16 06:31:47 PDT
(In reply to
comment #2
)
> A better option would be to use data: urls for sources as well, to avoid changing source map format.
It turns out there is no nice way to provide names for sources loaded from data: urls. Using sourceURL comment would require loading and searching all the sources which is not acceptable for large maps. map.sourcesContent seems to be the best option.
Pavel Podivilov
Comment 4
2012-03-20 07:01:46 PDT
Committed
r111389
: <
http://trac.webkit.org/changeset/111389
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug