Bug 148036

Summary: Web Inspector: convert tests in http/tests/inspector/ to use inspector-test.js
Product: WebKit Reporter: BJ Burg <bburg>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: graouts, inspector-bugzilla-changes, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on: 147955    
Bug Blocks: 147093    

Description BJ Burg 2015-08-14 13:10:46 PDT
After www.webkit.org/b/147955 lands, these tests will no longer work when using protocol-test.js.
With that change, the inspector page (TestStub.html) will be a local file loaded from the WebInspectorUI bundle, thus causing problems for http tests which run from http://localhost/. 

There are some workarounds, such as testRunner.addOriginAccessWhitelistEntry, but this currently crashes on WK2. It will be easier to rewrite the tests to use inspector-test.js, which loads a full Inspector instance (Test.html) which can easily load local files.
Comment 1 Radar WebKit Bug Importer 2015-08-14 13:11:31 PDT
<rdar://problem/22292122>