Bug 148036
Summary: | Web Inspector: convert tests in http/tests/inspector/ to use inspector-test.js | ||
---|---|---|---|
Product: | WebKit | Reporter: | Blaze Burg <bburg> |
Component: | Web Inspector | Assignee: | 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 |
Blaze Burg
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/22292122>