|
DevTools: create test infrastructure so devtools drives the test
Improvements:
* devtools drives the test, not the inspected page
* tests are pure JS
* doc-typed test harness
* improved debugging experience (surround test function with TestRunner.debugTest)
This copies a couple of existing tests - once this infra has been proven,
we'll delete the originals.
Perf:
- Old (66 sec) [0]
- New (45 sec) [1]
[0] src/blink/tools/run_layout_tests.py --repeat-each=100 inspector/console/console-clear.html
[1] src/blink/tools/run_layout_tests.py --repeat-each=100 http/tests/inspector/devtools-js/console-clear.js
BUG= 667560
Review-Url: https://codereview.chromium.org/2837083003
Cr-Commit-Position: refs/heads/master@{#481045}
Committed: https://chromium.googlesource.com/chromium/src/+/941c636edf9661207927a5da8dd88a622998d1f6
Total comments: 22
Total comments: 12
Total comments: 32
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+626 lines, -60 lines) |
Patch |
 |
M |
content/shell/browser/layout_test/blink_test_controller.h
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/shell/browser/layout_test/blink_test_controller.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
8 chunks |
+40 lines, -19 lines |
0 comments
|
Download
|
 |
M |
content/shell/browser/layout_test/layout_test_devtools_bindings.h
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/shell/browser/layout_test/layout_test_devtools_bindings.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+16 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/shell/browser/shell_devtools_bindings.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/shell/browser/shell_devtools_bindings.cc
|
View
|
1
2
3
4
|
2 chunks |
+6 lines, -21 lines |
0 comments
|
Download
|
 |
M |
content/shell/test_runner/test_interfaces.cc
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/http/tests/inspector-unit/filtered-item-selection-dialog-filtering.js
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/http/tests/inspector-unit/filtered-list-widget-providers.js
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/http/tests/inspector-unit/tabbed-pane.js
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/http/tests/inspector-unit/text-prompt.js
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
A |
third_party/WebKit/LayoutTests/http/tests/inspector/devtools-js/console-clear.js
|
View
|
1
2
3
4
5
6
|
1 chunk |
+29 lines, -0 lines |
0 comments
|
Download
|
 |
A |
third_party/WebKit/LayoutTests/http/tests/inspector/devtools-js/console-clear-expected.txt
|
View
|
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
A |
third_party/WebKit/LayoutTests/http/tests/inspector/devtools-js/simple-test.js
|
View
|
1
2
3
4
5
6
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
A |
third_party/WebKit/LayoutTests/http/tests/inspector/devtools-js/simple-test-expected.txt
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/devtools/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
|
5 chunks |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
A |
third_party/WebKit/Source/devtools/front_end/console_test_runner/ConsoleTestRunner.js
|
View
|
1
2
3
4
5
|
1 chunk |
+146 lines, -0 lines |
0 comments
|
Download
|
 |
A |
third_party/WebKit/Source/devtools/front_end/console_test_runner/module.json
|
View
|
1
2
3
4
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
 |
A |
third_party/WebKit/Source/devtools/front_end/integration_test_runner.html
|
View
|
1
2
3
4
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
Download
|
 |
A |
third_party/WebKit/Source/devtools/front_end/integration_test_runner.js
|
View
|
1
2
3
4
5
6
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
A |
third_party/WebKit/Source/devtools/front_end/integration_test_runner.json
|
View
|
1
2
3
4
|
1 chunk |
+75 lines, -0 lines |
0 comments
|
Download
|
 |
A |
third_party/WebKit/Source/devtools/front_end/integration_test_runner/IntegrationTestRunner.js
|
View
|
1
2
3
4
5
6
|
1 chunk |
+99 lines, -0 lines |
0 comments
|
Download
|
 |
A |
third_party/WebKit/Source/devtools/front_end/integration_test_runner/module.json
|
View
|
1
2
3
4
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/devtools/front_end/main/Main.js
|
View
|
1
2
3
4
5
6
7
8
9
|
5 chunks |
+24 lines, -6 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/devtools/front_end/test_runner/TestRunner.js
|
View
|
1
2
3
4
5
6
7
8
|
6 chunks |
+96 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/devtools/front_end/test_runner/module.json
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/devtools/scripts/compile_frontend.py
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/devtools/scripts/extract_module/extract_module.js
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/base.py
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 20 (7 generated)
|