Bug 208540
| Summary: | Web Inspector: Demo Audit > ... > getResourceContent fails upon (HTTPS) redirect | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ross Kirsling <ross.kirsling> |
| Component: | Web Inspector | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | inspector-bugzilla-changes |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | All | ||
| OS: | All | ||
Ross Kirsling
Repro:
1. Enter a protocol-less URL like `webkit.org` into URL bar (but make sure it doesn't autocomplete from history).
2. Open Web Inspector Audit tab and hit Start.
Result:
Demo Audit > Specially Exposed Data > Resources > getResourceContent fails.
> TypeError: undefined is not an object (evaluating 'mainResource.id')
Notes:
- HTTPS redirects are the easiest repro scenario, but any redirect should cause the same result.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |