[Webkit-unassigned] [Bug 129190] New: Web Inspector: model tests should use a special Test.html inspector page
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Feb 21 18:13:10 PST 2014
https://bugs.webkit.org/show_bug.cgi?id=129190
Summary: Web Inspector: model tests should use a special
Test.html inspector page
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: P2
Component: Web Inspector
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: bburg at apple.com
CC: timothy at apple.com, joepeck at webkit.org,
webkit-bug-importer at group.apple.com,
graouts at webkit.org
Loading the entire Main.html page for replay and model tests is overkill and will make the tests too slow. Instead we should load a separate Test.html (which could be generated) that only loads models and controllers.
For WebKit2, we can create a new WebInspector message called createInspectorPageForTest() which navigates the page to a different URL. This can be called by the WK2 inspector client whenever InspectorController::isUnderTest() is true, so subsequent calls to showWebInspector() from the test runner just do the right thing.
For WebKit1, we can change the logic in WebInspectorClient::openInspectorFrontend implementations to load a different URL according to the passed-in InspectorController, or we can ask the InspectorController what page to load. A naive implementation might not play nice with bundles and frameworks, however.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list