Bug 145150
Summary: | Web Inspector: Support for source maps in remote debugging of JSContext | ||
---|---|---|---|
Product: | WebKit | Reporter: | Robert Payne <robertpayne> |
Component: | Web Inspector | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Enhancement | CC: | blake.friedman, graouts, inspector-bugzilla-changes, jonowells, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | 528+ (Nightly build) | ||
Hardware: | iPhone / iPad | ||
OS: | All | ||
Bug Depends on: | 154303 | ||
Bug Blocks: |
Robert Payne
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
<rdar://problem/21009604>
Joseph Pecoraro
<rdar://problem/17826429>
Joseph Pecoraro
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.