NEW 148036
Web Inspector: convert tests in http/tests/inspector/ to use inspector-test.js
https://bugs.webkit.org/show_bug.cgi?id=148036
Summary Web Inspector: convert tests in http/tests/inspector/ to use inspector-test.js
Blaze Burg
Reported 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.
Attachments
Radar WebKit Bug Importer
Comment 1 2015-08-14 13:11:31 PDT
Note You need to log in before you can comment on or make changes to this bug.