WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
145150
Web Inspector: Support for source maps in remote debugging of JSContext
https://bugs.webkit.org/show_bug.cgi?id=145150
Summary
Web Inspector: Support for source maps in remote debugging of JSContext
Robert Payne
Reported
2015-05-18 16:50:22 PDT
If one uses the remote debugger to debug a JSContext instance on an iOS device or simulator source maps do not work. Reproduction Steps: 1. Start up a simple iOS application in the simulator that creates a JSContext and loads a script with source maps 2. Connect via WebKit remote debugging to the JSContext Observed Results: Source maps are not loaded and digested into the web inspector Expected Results: Source maps should be loaded and digested into the web inspector ----------------------------------------- It appears that NetworkAgent.loadResource and Promise are not available to JSContext and thus the source map loading is skipped.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2015-05-18 16:50:49 PDT
<
rdar://problem/21009604
>
Joseph Pecoraro
Comment 2
2015-05-18 17:00:40 PDT
<
rdar://problem/17826429
>
Joseph Pecoraro
Comment 3
2016-02-16 11:58:10 PST
As a first step, we will at least allow inline SourceMaps (a data uri sourceMappingURL which contains inline source via the `sourcesContent` list). I have a patch up for that on: <
https://webkit.org/b/154303
> JSContext Inspector: Support for inline source maps Lets keep this for tracking loading a Source Map over the network, which still does not exist yet.
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