|
[DevTools] New harness for inspector-protocol layout tests
New harness loads a helper html file in a main testing window,
connects it to a browser-wide DevToolsAgentHost for manipulating pages
and evaluates the javascript test.
DevToolsProtocolTestBindings is a small implementation of
DevToolsAgentHost <--> harness communication (based on DevToolsFrontendHost).
Harness has a Page and Session class, which will make it possible to test
multiple sessions connected to the same page, and (if need arises) multiple
pages interaction.
Converted 4 tests to new harness. More to come.
BUG= 734762
Review-Url: https://codereview.chromium.org/2950713002
Cr-Commit-Position: refs/heads/master@{#481419}
Committed: https://chromium.googlesource.com/chromium/src/+/454746093cd6f8d587a0c28818c500846c311cc9
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+803 lines, -271 lines) |
Patch |
|
M |
content/shell/BUILD.gn
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/shell/browser/DEPS
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/shell/browser/layout_test/blink_test_controller.h
|
View
|
1
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/shell/browser/layout_test/blink_test_controller.cc
|
View
|
1
|
6 chunks |
+15 lines, -0 lines |
0 comments
|
Download
|
|
A |
content/shell/browser/layout_test/devtools_protocol_test_bindings.h
|
View
|
1
|
1 chunk |
+49 lines, -0 lines |
0 comments
|
Download
|
|
A |
content/shell/browser/layout_test/devtools_protocol_test_bindings.cc
|
View
|
1
|
1 chunk |
+134 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/shell/browser/shell_devtools_manager_delegate.cc
|
View
|
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/FlagExpectations/enable-blink-features=LayoutNG
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
D |
third_party/WebKit/LayoutTests/inspector-protocol/json-parse.html
|
View
|
|
1 chunk |
+0 lines, -24 lines |
0 comments
|
Download
|
|
A |
third_party/WebKit/LayoutTests/inspector-protocol/json-parse.js
|
View
|
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/inspector-protocol/json-parse-expected.txt
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
D |
third_party/WebKit/LayoutTests/inspector-protocol/loading-iframe-document-node.html
|
View
|
1
|
1 chunk |
+0 lines, -89 lines |
0 comments
|
Download
|
|
A |
third_party/WebKit/LayoutTests/inspector-protocol/loading-iframe-document-node.js
|
View
|
1
|
1 chunk |
+40 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/inspector-protocol/loading-iframe-document-node-expected.txt
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
A |
third_party/WebKit/LayoutTests/inspector-protocol/resources/inspector-protocol-page.html
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
A |
third_party/WebKit/LayoutTests/inspector-protocol/resources/inspector-protocol-test.html
|
View
|
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
|
A |
third_party/WebKit/LayoutTests/inspector-protocol/resources/inspector-protocol-test.js
|
View
|
1
|
1 chunk |
+452 lines, -0 lines |
0 comments
|
Download
|
|
D |
third_party/WebKit/LayoutTests/inspector-protocol/shadow-dom-rules-in-styleSheetAddedEvent.html
|
View
|
1
|
1 chunk |
+0 lines, -42 lines |
0 comments
|
Download
|
|
A |
third_party/WebKit/LayoutTests/inspector-protocol/shadow-dom-rules-in-styleSheetAddedEvent.js
|
View
|
1
|
1 chunk |
+21 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/inspector-protocol/shadow-dom-rules-in-styleSheetAddedEvent-expected.txt
|
View
|
1
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
D |
third_party/WebKit/LayoutTests/inspector-protocol/stylesheet-tracking-restart.html
|
View
|
1
|
1 chunk |
+0 lines, -111 lines |
0 comments
|
Download
|
|
A |
third_party/WebKit/LayoutTests/inspector-protocol/stylesheet-tracking-restart.js
|
View
|
1
|
1 chunk |
+47 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/base.py
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
Dependent Patchsets:
Total messages: 20 (13 generated)
|