WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
43264
Web Inspector: inspector tests should be frontend-driven
https://bugs.webkit.org/show_bug.cgi?id=43264
Summary
Web Inspector: inspector tests should be frontend-driven
Pavel Podivilov
Reported
2010-07-30 11:15:47 PDT
Web Inspector: inspector tests should be frontend-driven
Attachments
Proposed patch.
(12.03 KB, patch)
2010-07-30 11:27 PDT
,
Pavel Podivilov
no flags
Details
Formatted Diff
Diff
Define inspector layout test as a sequence of steps.
(4.52 KB, patch)
2010-07-31 03:59 PDT
,
Pavel Podivilov
no flags
Details
Formatted Diff
Diff
Proposed patch.
(11.71 KB, patch)
2010-08-17 08:04 PDT
,
Pavel Podivilov
no flags
Details
Formatted Diff
Diff
Proposed patch.
(11.87 KB, patch)
2010-08-18 05:50 PDT
,
Pavel Podivilov
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Pavel Podivilov
Comment 1
2010-07-30 11:27:25 PDT
Created
attachment 63088
[details]
Proposed patch.
Pavel Podivilov
Comment 2
2010-07-31 03:59:12 PDT
Created
attachment 63147
[details]
Define inspector layout test as a sequence of steps.
Yury Semikhatsky
Comment 3
2010-08-17 03:16:44 PDT
Comment on
attachment 63088
[details]
Proposed patch. LayoutTests/http/tests/inspector/inspector-test2.js:162 + "if (!InspectorTest) {", !window.InspectorTest, otherwise you'll get an exception. LayoutTests/http/tests/inspector/inspector-test2.js:174 + layoutTestController.evaluateInWebInspector(completeTestCallId, "true"); This roundtrip shouldn't be needed(at least at the new tests). LayoutTests/http/tests/inspector/inspector-test2.js:69 + function createKeyEvent(keyIdentifier) Let's move all these methods on to InspectorTest object so that it's easy to distinguish test methods from the rest of front-end methods. LayoutTests/http/tests/inspector/inspector-test2.js:24 + InspectorTest.push = function(text) maybe rename it to addResult?
Pavel Podivilov
Comment 4
2010-08-17 08:04:34 PDT
Created
attachment 64594
[details]
Proposed patch.
Pavel Podivilov
Comment 5
2010-08-17 08:07:31 PDT
(In reply to
comment #3
)
> (From update of
attachment 63088
[details]
) > LayoutTests/http/tests/inspector/inspector-test2.js:162 > + "if (!InspectorTest) {", > !window.InspectorTest, otherwise you'll get an exception.
done
> LayoutTests/http/tests/inspector/inspector-test2.js:174 > + layoutTestController.evaluateInWebInspector(completeTestCallId, "true"); > This roundtrip shouldn't be needed(at least at the new tests).
done
> LayoutTests/http/tests/inspector/inspector-test2.js:69 > + function createKeyEvent(keyIdentifier) > Let's move all these methods on to InspectorTest object so that it's easy to distinguish test methods from the rest of front-end methods.
This methods are actually private methods of InspectorTest not visible from outside. We can make them public if needed by tests.
> > LayoutTests/http/tests/inspector/inspector-test2.js:24 > + InspectorTest.push = function(text) > maybe rename it to addResult?
done
Pavel Podivilov
Comment 6
2010-08-18 05:50:27 PDT
Created
attachment 64693
[details]
Proposed patch.
Yury Semikhatsky
Comment 7
2010-08-18 06:27:52 PDT
Comment on
attachment 64693
[details]
Proposed patch. Clearing flags on attachment: 64693 Committed
r65606
: <
http://trac.webkit.org/changeset/65606
>
Yury Semikhatsky
Comment 8
2010-08-18 06:28:03 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug