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.
<rdar://problem/21009604>
<rdar://problem/17826429>
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.