Bug 208540

Summary: Web Inspector: Demo Audit > ... > getResourceContent fails upon (HTTPS) redirect
Product: WebKit Reporter: Ross Kirsling <ross.kirsling>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: inspector-bugzilla-changes
Priority: P2    
Version: WebKit Nightly Build   
Hardware: All   
OS: All   

Description Ross Kirsling 2020-03-03 15:32:45 PST
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.