Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(359)

Issue 2975523002: DevTools: add console test helpers to new test runner & migrate a console test (Closed)

Created:
3 years, 5 months ago by chenwilliam
Modified:
3 years, 5 months ago
Reviewers:
caseq, pfeldman, luoe
CC:
chromium-reviews, caseq+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, blink-reviews, pfeldman, kozyatinskiy+blink_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

DevTools: add console test helpers to new test runner & migrate a console test - Copies the remaining methods in console-test.js into ConsoleTestRunner.js and adds JsDocs - Migrates a console test (will delete original in f/u CL). This will be followed-up by migrating batches of console test. BUG=667560 Review-Url: https://codereview.chromium.org/2975523002 Cr-Commit-Position: refs/heads/master@{#486559} Committed: https://chromium.googlesource.com/chromium/src/+/928d360b185de165acb06cddfdba459f0100a666

Patch Set 1 #

Patch Set 2 : cleanup #

Total comments: 36

Patch Set 3 : cl fb #

Patch Set 4 : type #

Total comments: 2

Patch Set 5 : fix #

Total comments: 20

Patch Set 6 : fix #

Patch Set 7 : clean #

Patch Set 8 : fixup #

Total comments: 8

Patch Set 9 : fix #

Patch Set 10 : fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+624 lines, -53 lines) Patch
A third_party/WebKit/LayoutTests/http/tests/inspector/devtools-js/.clang-format View 2 1 chunk +8 lines, -0 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/inspector/devtools-js/console-clear.js View 1 chunk +0 lines, -29 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/inspector/devtools-js/console-clear-expected.txt View 1 chunk +0 lines, -8 lines 0 comments Download
A third_party/WebKit/LayoutTests/http/tests/inspector/devtools-js/console/command-line-api.js View 1 2 3 4 5 6 7 8 9 1 chunk +57 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/http/tests/inspector/devtools-js/console/command-line-api-expected.txt View 2 1 chunk +39 lines, -0 lines 0 comments Download
A + third_party/WebKit/LayoutTests/http/tests/inspector/devtools-js/console/console-clear.js View 0 chunks +-1 lines, --1 lines 0 comments Download
A + third_party/WebKit/LayoutTests/http/tests/inspector/devtools-js/console/console-clear-expected.txt View 0 chunks +-1 lines, --1 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/console_test_runner/ConsoleTestRunner.js View 1 2 3 4 5 6 7 8 4 chunks +378 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/console_test_runner/module.json View 5 1 chunk +2 lines, -1 line 0 comments Download
A third_party/WebKit/Source/devtools/front_end/elements_test_runner/ElementsTestRunner.js View 1 chunk +81 lines, -0 lines 0 comments Download
A + third_party/WebKit/Source/devtools/front_end/elements_test_runner/module.json View 1 chunk +2 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/integration_test_runner.json View 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/integration_test_runner/IntegrationTestRunner.js View 1 2 3 4 5 6 7 3 chunks +18 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/test_runner/TestRunner.js View 1 2 3 4 5 3 chunks +40 lines, -2 lines 0 comments Download

Messages

Total messages: 27 (11 generated)
chenwilliam
I found it easier to just convert all of the console test helpers upfront since ...
3 years, 5 months ago (2017-07-06 23:58:32 UTC) #3
luoe
https://codereview.chromium.org/2975523002/diff/20001/third_party/WebKit/Source/devtools/front_end/console_test_runner/ConsoleTestRunner.js File third_party/WebKit/Source/devtools/front_end/console_test_runner/ConsoleTestRunner.js (right): https://codereview.chromium.org/2975523002/diff/20001/third_party/WebKit/Source/devtools/front_end/console_test_runner/ConsoleTestRunner.js#newcode12 third_party/WebKit/Source/devtools/front_end/console_test_runner/ConsoleTestRunner.js:12: * @param {boolean} dumpClassNames The first two printOriginating, dumpClassNames ...
3 years, 5 months ago (2017-07-07 22:26:40 UTC) #4
dgozman
https://codereview.chromium.org/2975523002/diff/20001/third_party/WebKit/Source/devtools/front_end/console_test_runner/module.json File third_party/WebKit/Source/devtools/front_end/console_test_runner/module.json (right): https://codereview.chromium.org/2975523002/diff/20001/third_party/WebKit/Source/devtools/front_end/console_test_runner/module.json#newcode7 third_party/WebKit/Source/devtools/front_end/console_test_runner/module.json:7: "main" On 2017/07/07 22:26:40, luoe wrote: > It seems ...
3 years, 5 months ago (2017-07-09 18:15:40 UTC) #5
chenwilliam
please take another look https://codereview.chromium.org/2975523002/diff/20001/third_party/WebKit/Source/devtools/front_end/console_test_runner/ConsoleTestRunner.js File third_party/WebKit/Source/devtools/front_end/console_test_runner/ConsoleTestRunner.js (right): https://codereview.chromium.org/2975523002/diff/20001/third_party/WebKit/Source/devtools/front_end/console_test_runner/ConsoleTestRunner.js#newcode12 third_party/WebKit/Source/devtools/front_end/console_test_runner/ConsoleTestRunner.js:12: * @param {boolean} dumpClassNames On ...
3 years, 5 months ago (2017-07-10 21:14:35 UTC) #7
chenwilliam
@caseq - would you mind taking a look at this CL? I'm starting to work ...
3 years, 5 months ago (2017-07-10 23:44:16 UTC) #10
luoe
lgtm Is it now possible to have console just depend on counters instead of main? ...
3 years, 5 months ago (2017-07-11 22:26:09 UTC) #11
chenwilliam
https://codereview.chromium.org/2975523002/diff/60001/third_party/WebKit/Source/devtools/front_end/console_test_runner/module.json File third_party/WebKit/Source/devtools/front_end/console_test_runner/module.json (right): https://codereview.chromium.org/2975523002/diff/60001/third_party/WebKit/Source/devtools/front_end/console_test_runner/module.json#newcode7 third_party/WebKit/Source/devtools/front_end/console_test_runner/module.json:7: "main" On 2017/07/11 22:26:09, luoe wrote: > counters? Done.
3 years, 5 months ago (2017-07-11 23:06:01 UTC) #12
caseq
https://codereview.chromium.org/2975523002/diff/80001/third_party/WebKit/LayoutTests/http/tests/inspector/devtools-js/console/command-line-api.js File third_party/WebKit/LayoutTests/http/tests/inspector/devtools-js/console/command-line-api.js (right): https://codereview.chromium.org/2975523002/diff/80001/third_party/WebKit/LayoutTests/http/tests/inspector/devtools-js/console/command-line-api.js#newcode10 third_party/WebKit/LayoutTests/http/tests/inspector/devtools-js/console/command-line-api.js:10: await TestRunner.loadPanel("console"); I wonder whether these need to be ...
3 years, 5 months ago (2017-07-12 01:04:34 UTC) #13
dgozman
Note that the plan is to not change any semantics of test helpers, so that ...
3 years, 5 months ago (2017-07-12 17:40:25 UTC) #14
chenwilliam
@caseq - thanks for the review. could you take another look? https://codereview.chromium.org/2975523002/diff/80001/third_party/WebKit/LayoutTests/http/tests/inspector/devtools-js/console/command-line-api.js File third_party/WebKit/LayoutTests/http/tests/inspector/devtools-js/console/command-line-api.js (right): ...
3 years, 5 months ago (2017-07-12 22:02:58 UTC) #15
caseq
lgtm https://codereview.chromium.org/2975523002/diff/140001/third_party/WebKit/LayoutTests/http/tests/inspector/devtools-js/console/command-line-api.js File third_party/WebKit/LayoutTests/http/tests/inspector/devtools-js/console/command-line-api.js (right): https://codereview.chromium.org/2975523002/diff/140001/third_party/WebKit/LayoutTests/http/tests/inspector/devtools-js/console/command-line-api.js#newcode8 third_party/WebKit/LayoutTests/http/tests/inspector/devtools-js/console/command-line-api.js:8: await TestRunner.loadModule("console_test_runner"); nit: s/"/'/g since this appears to ...
3 years, 5 months ago (2017-07-13 17:50:00 UTC) #16
chenwilliam
Thanks for the review https://codereview.chromium.org/2975523002/diff/140001/third_party/WebKit/LayoutTests/http/tests/inspector/devtools-js/console/command-line-api.js File third_party/WebKit/LayoutTests/http/tests/inspector/devtools-js/console/command-line-api.js (right): https://codereview.chromium.org/2975523002/diff/140001/third_party/WebKit/LayoutTests/http/tests/inspector/devtools-js/console/command-line-api.js#newcode8 third_party/WebKit/LayoutTests/http/tests/inspector/devtools-js/console/command-line-api.js:8: await TestRunner.loadModule("console_test_runner"); On 2017/07/13 17:50:00, ...
3 years, 5 months ago (2017-07-13 19:16:45 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2975523002/180001
3 years, 5 months ago (2017-07-13 19:17:09 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/337910)
3 years, 5 months ago (2017-07-13 20:38:09 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2975523002/180001
3 years, 5 months ago (2017-07-13 20:41:35 UTC) #24
commit-bot: I haz the power
3 years, 5 months ago (2017-07-14 00:56:46 UTC) #27
Message was sent while issue was closed.
Committed patchset #10 (id:180001) as
https://chromium.googlesource.com/chromium/src/+/928d360b185de165acb06cddfdba...

Powered by Google App Engine
This is Rietveld 408576698