Summary: | Web Inspector needs a testing infrastructure | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Kevin McCullough <kmccullough> | ||||||||
Component: | Web Inspector (Deprecated) | Assignee: | Pavel Feldman <pfeldman> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | timothy | ||||||||
Priority: | P2 | Keywords: | InRadar | ||||||||
Version: | 528+ (Nightly build) | ||||||||||
Hardware: | All | ||||||||||
OS: | All | ||||||||||
Bug Depends on: | 30008, 30009, 30010, 30014 | ||||||||||
Bug Blocks: | |||||||||||
Attachments: |
|
Description
Kevin McCullough
2009-06-19 11:08:00 PDT
Created attachment 40370 [details]
testing harness
This patch contains two test cases and the harness implementation for the Mac. I'd like to get your feedback on it before I extract WebInspectorPrivate.h and jump into implementing it for other platforms.
Comment on attachment 40370 [details] testing harness Some tabs in evaluate-in-frontend.js. > + var output = document.getElementById("output"); > + output.innerHTML += text + "<BR>"; Stray space. > + void testEvaluateInFrontend(long callId, const String& script); These functions with "testEvaluate" read funny. I think "evaluateTest" would read better. Since I read it as "evaluate this test", not "test the evaluate". > + Vector<pair<long, String> > m_pendingTestEvaluateInFrontendCommands; Maybe m_pendingEvaluateTestCommands. Created attachment 40470 [details]
testing harness #2
Created attachment 40472 [details]
testing harness #2 with waitToDumpWatchdogInterval rolled back to original value
Note that this patch requires additional testing on non-Mac platforms prior to landing.
I am splitting this patch into several ones: https://bugs.webkit.org/show_bug.cgi?id=30008 https://bugs.webkit.org/show_bug.cgi?id=30009 https://bugs.webkit.org/show_bug.cgi?id=30010 https://bugs.webkit.org/show_bug.cgi?id=30014 Comment on attachment 40472 [details]
testing harness #2 with waitToDumpWatchdogInterval rolled back to original value
Clearing the review flag since this patch has been split.
|