Bug 141266
| Summary: | Web Inspector: Support data URL SourceMaps for iOS 6 and iOS 7 | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Jonathan Wells <jonowells> |
| Component: | Web Inspector | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED WONTFIX | ||
| Severity: | Normal | CC: | graouts, joepeck, jonowells, mattbaker, nvasilyev, timothy, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | 528+ (Nightly build) | ||
| Hardware: | All | ||
| OS: | All | ||
Jonathan Wells
Right now iOS 6 and iOS 7 using the Remote Inspector won't show source maps with data URLs even though they could.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/19721661>
Jonathan Wells
SourceMapResource#sourceMapResourceLoadError will need to not throw an error, or be otherwise avoided when using the remote inspector on iOS 6 or 7, or else execution will stop.
Joseph Pecoraro
When possible, we should title radars based on their user impact, instead of the code change. The _loadAndParseSourceMap part is overly specific, in case this were to change.
Joseph Pecoraro
s/radars/bugs/ =)
Jonathan Wells
(In reply to comment #2)
> SourceMapResource#sourceMapResourceLoadError will need to not throw an
> error, or be otherwise avoided when using the remote inspector on iOS 6 or
> 7, or else execution will stop.
This is no longer a concern. An error is no longer thrown.
Timothy Hatcher
What needs done here?
Joseph Pecoraro
(In reply to comment #6)
> What needs done here?
SourceMapManager only loads SourceMap resources if NetworkAgent.loadResource exists (so it can load the resource through the inspected page). If that doesn't exist (e.g. iOS 6 and 7) we don't even try to load source maps.
I'm not sure if it is worth the time investment at this point to implement something for iOS 6 and 7 here. I believe we used to do an XHR / synchronous load from the frontend, which won't work in all cases anyway.