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

Issue 1308973005: html_viewer/web_view: An app for running layout-tests. (Closed)

Created:
5 years, 3 months ago by sadrul
Modified:
5 years, 3 months ago
CC:
jochen (gone - plz use gerrit), Aaron Boodman, abarth-chromium, ben+mojo_chromium.org, blundell+watchlist_chromium.org, chromium-reviews, darin (slow to review), darin-cc_chromium.org, droger+watchlist_chromium.org, jochen+watch_chromium.org, mkwst+moarreviews-shell_chromium.org, mlamouri+watch-content_chromium.org, penghuang+watch-mandoline_chromium.org, qsr+mojo_chromium.org, sdefresne+watchlist_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

html_viewer/web_view: An app for running layout-tests. The standalone app (layout_test_runner) can be used as a driver with the run-webkit-tests script in blink to run the layout tests. A brief explanation of how it works: . The app launches mojo:web_view_test_runner. . In system-check mode, the mojo:web_view_test_runner app terminates when the view-tree host comes up successfully, instead of loading any pages. . LayoutTestHTMLViewer installs a callback on WebTestInterfaces to run a callback when the test stops running. . When a test stops running, LayoutTestHTMLViewer notifies the mojo:web_view_test_runner app about it through the LayoutTestRunner interface. Command: ./third_party/WebKit/Tools/Scripts/run-webkit-tests \ --driver-name=layout_test_runner \ --additional-driver-flag=--content-handlers=text/html,mojo:layout_test_html_viewer \ --debug \ --target=Debug_gn \ fast/events/touch/create-touch-event.html Only text-only tests are supported right now. Pixel/audio output are yet to be done. Some stats: . fast/dom: 1434 passes out of 1963 tests. . fast/events: 449 passes out of 738 tests. . fast/events/touch: 99 passes out of 131 tests. BUG=478250 R=jochen@chromium.org, rsleevi@chromium.org, sky@chromium.org Committed: https://crrev.com/60cb54f6837ab9b7f0377b36fa7e33cd076ba088 Cr-Commit-Position: refs/heads/master@{#348053}

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Patch Set 4 : gn-check #

Patch Set 5 : gn-check #

Patch Set 6 : . #

Patch Set 7 : . #

Patch Set 8 : fix-win-build #

Total comments: 5

Patch Set 9 : dedicated-app #

Patch Set 10 : . #

Total comments: 8

Patch Set 11 : . #

Patch Set 12 : . #

Total comments: 2

Patch Set 13 : . #

Total comments: 2

Patch Set 14 : . #

Patch Set 15 : . #

Patch Set 16 : . #

Patch Set 17 : . #

Patch Set 18 : . #

Patch Set 19 : tot/merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+495 lines, -16 lines) Patch
M components/html_viewer/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -0 lines 0 comments Download
M components/html_viewer/DEPS View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -0 lines 0 comments Download
M components/html_viewer/layout_test_html_viewer.h View 1 chunk +2 lines, -0 lines 0 comments Download
M components/html_viewer/layout_test_html_viewer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +12 lines, -0 lines 0 comments Download
M components/html_viewer/web_test_delegate_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +5 lines, -0 lines 0 comments Download
M components/html_viewer/web_test_delegate_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +9 lines, -3 lines 0 comments Download
M components/web_view/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +1 line, -0 lines 0 comments Download
M components/web_view/frame_connection.cc View 1 2 3 4 5 6 7 8 2 chunks +6 lines, -0 lines 0 comments Download
A components/web_view/test_runner/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +60 lines, -0 lines 0 comments Download
A components/web_view/test_runner/DEPS View 1 2 3 4 5 6 7 8 1 chunk +10 lines, -0 lines 0 comments Download
A + components/web_view/test_runner/launcher.h View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -5 lines 0 comments Download
A components/web_view/test_runner/launcher.cc View 1 2 3 4 5 6 7 8 1 chunk +37 lines, -0 lines 0 comments Download
A + components/web_view/test_runner/main.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +7 lines, -4 lines 0 comments Download
A + components/web_view/test_runner/public/interfaces/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download
A + components/web_view/test_runner/public/interfaces/layout_test_runner.mojom View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -1 line 0 comments Download
A components/web_view/test_runner/test_runner_application_delegate.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +80 lines, -0 lines 0 comments Download
A components/web_view/test_runner/test_runner_application_delegate.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +250 lines, -0 lines 0 comments Download
A + components/web_view/test_runner/test_runner_main.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -2 lines 0 comments Download
M mandoline/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 29 (7 generated)
sadrul
5 years, 3 months ago (2015-09-03 17:08:11 UTC) #2
sky
Is there a reason you want to use mandoline? Why not a dedicated app?
5 years, 3 months ago (2015-09-03 19:25:29 UTC) #3
sky
https://codereview.chromium.org/1308973005/diff/140001/components/html_viewer/public/interfaces/layout_test_runner.mojom File components/html_viewer/public/interfaces/layout_test_runner.mojom (right): https://codereview.chromium.org/1308973005/diff/140001/components/html_viewer/public/interfaces/layout_test_runner.mojom#newcode7 components/html_viewer/public/interfaces/layout_test_runner.mojom:7: interface LayoutTestRunner { Generally we put interfaces near the ...
5 years, 3 months ago (2015-09-03 19:31:59 UTC) #4
sadrul
On 2015/09/03 19:25:29, sky wrote: > Is there a reason you want to use mandoline? ...
5 years, 3 months ago (2015-09-03 19:47:44 UTC) #5
sky
While the phone_ui is an easy place now to add that logic now, I suspect ...
5 years, 3 months ago (2015-09-03 19:52:24 UTC) #6
jam
On 2015/09/03 19:52:24, sky wrote: > While the phone_ui is an easy place now to ...
5 years, 3 months ago (2015-09-03 20:47:22 UTC) #7
sadrul
On 2015/09/03 20:47:22, jam wrote: > On 2015/09/03 19:52:24, sky wrote: > > While the ...
5 years, 3 months ago (2015-09-03 21:49:00 UTC) #8
sky
https://codereview.chromium.org/1308973005/diff/180001/components/web_view/test_runner/BUILD.gn File components/web_view/test_runner/BUILD.gn (right): https://codereview.chromium.org/1308973005/diff/180001/components/web_view/test_runner/BUILD.gn#newcode8 components/web_view/test_runner/BUILD.gn:8: executable("test_runner") { Add this as a DEP to /mandoline/BUILD.gn's ...
5 years, 3 months ago (2015-09-03 23:01:02 UTC) #9
sadrul
https://codereview.chromium.org/1308973005/diff/180001/components/web_view/test_runner/BUILD.gn File components/web_view/test_runner/BUILD.gn (right): https://codereview.chromium.org/1308973005/diff/180001/components/web_view/test_runner/BUILD.gn#newcode8 components/web_view/test_runner/BUILD.gn:8: executable("test_runner") { On 2015/09/03 23:01:02, sky wrote: > Add ...
5 years, 3 months ago (2015-09-04 03:48:58 UTC) #10
sky
LGTM https://codereview.chromium.org/1308973005/diff/210001/components/web_view/frame_connection.cc File components/web_view/frame_connection.cc (right): https://codereview.chromium.org/1308973005/diff/210001/components/web_view/frame_connection.cc#newcode98 components/web_view/frame_connection.cc:98: mojo::Array<mojo::String> test_runner_interfaces; Do you think we should only ...
5 years, 3 months ago (2015-09-04 14:56:04 UTC) #11
sky
https://codereview.chromium.org/1308973005/diff/230001/components/web_view/test_runner/test_runner_application_delegate.cc File components/web_view/test_runner/test_runner_application_delegate.cc (right): https://codereview.chromium.org/1308973005/diff/230001/components/web_view/test_runner/test_runner_application_delegate.cc#newcode145 components/web_view/test_runner/test_runner_application_delegate.cc:145: web_view_->Init(app_, content_); I just changed around SetEmbedRoot(). You'll want ...
5 years, 3 months ago (2015-09-04 18:54:07 UTC) #12
sadrul
https://codereview.chromium.org/1308973005/diff/210001/components/web_view/frame_connection.cc File components/web_view/frame_connection.cc (right): https://codereview.chromium.org/1308973005/diff/210001/components/web_view/frame_connection.cc#newcode98 components/web_view/frame_connection.cc:98: mojo::Array<mojo::String> test_runner_interfaces; On 2015/09/04 14:56:04, sky wrote: > Do ...
5 years, 3 months ago (2015-09-04 21:16:03 UTC) #14
sadrul
+jochen@ Still need review from a test_runner owner. Sending this one to jochen@ too
5 years, 3 months ago (2015-09-08 16:48:41 UTC) #16
jochen (gone - plz use gerrit)
i'd prefer if the LayoutTestHTMLRunner would register the callback in WebTestDelegateImpl instead of making the ...
5 years, 3 months ago (2015-09-09 14:34:46 UTC) #17
sadrul
On 2015/09/09 14:34:46, jochen wrote: > i'd prefer if the LayoutTestHTMLRunner would register the callback ...
5 years, 3 months ago (2015-09-09 17:17:48 UTC) #18
jochen (gone - plz use gerrit)
yes, sorry, that's what I meant lgtm
5 years, 3 months ago (2015-09-09 20:40:38 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1308973005/370001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1308973005/370001
5 years, 3 months ago (2015-09-09 23:40:58 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/97971)
5 years, 3 months ago (2015-09-09 23:52:36 UTC) #24
sadrul
+rsleevi@ for +net in components/web_view/test_runner/DEPS
5 years, 3 months ago (2015-09-09 23:56:15 UTC) #26
Ryan Sleevi
lgtm
5 years, 3 months ago (2015-09-10 00:23:50 UTC) #27
sadrul
Committed patchset #19 (id:370001) manually as 60cb54f6837ab9b7f0377b36fa7e33cd076ba088.
5 years, 3 months ago (2015-09-10 00:41:12 UTC) #28
commit-bot: I haz the power
5 years, 3 months ago (2015-09-23 12:05:30 UTC) #29
Message was sent while issue was closed.
Patchset 19 (id:??) landed as
https://crrev.com/60cb54f6837ab9b7f0377b36fa7e33cd076ba088
Cr-Commit-Position: refs/heads/master@{#348053}

Powered by Google App Engine
This is Rietveld 408576698