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

Issue 200663002: Add 'waitUntilExternalURLLoad' method to TestRunner. (Closed)

Created:
6 years, 9 months ago by asanka
Modified:
6 years, 8 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, jochen+watch_chromium.org
Visibility:
Public.

Description

Add 'waitUntilExternalURLLoad' method to TestRunner. This method can be used in layout tests to produce log output and end a test when the WebFrameClient receives a loadURLExternally() call. This happens if the content attempts to download a resource explicitly. Required by Blink CL: https://codereview.chromium.org/197033005/ BUG=346744 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=266377

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add OVERRIDE to overrides. #

Total comments: 1

Patch Set 3 : Merge with r265632 #

Patch Set 4 : Revive #

Total comments: 2

Patch Set 5 : Remove extra whitespace #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -0 lines) Patch
M content/shell/renderer/test_runner/WebFrameTestProxy.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M content/shell/renderer/test_runner/WebTestProxy.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/shell/renderer/test_runner/WebTestProxy.cpp View 1 2 1 chunk +12 lines, -0 lines 0 comments Download
M content/shell/renderer/test_runner/test_runner.h View 1 2 3 3 chunks +9 lines, -0 lines 0 comments Download
M content/shell/renderer/test_runner/test_runner.cc View 1 2 3 4 6 chunks +17 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
asanka
Could you take a look?
6 years, 9 months ago (2014-03-14 20:52:57 UTC) #1
dmazzoni
lgtm This is fine. I'm curious, do you anticipate it'd ever be useful to get ...
6 years, 9 months ago (2014-03-14 21:03:34 UTC) #2
asanka
On 2014/03/14 21:03:34, dmazzoni wrote: > lgtm > > This is fine. I'm curious, do ...
6 years, 9 months ago (2014-03-14 21:45:24 UTC) #3
asanka
https://codereview.chromium.org/200663002/diff/1/content/shell/renderer/test_runner/WebFrameTestProxy.h File content/shell/renderer/test_runner/WebFrameTestProxy.h (right): https://codereview.chromium.org/200663002/diff/1/content/shell/renderer/test_runner/WebFrameTestProxy.h#newcode52 content/shell/renderer/test_runner/WebFrameTestProxy.h:52: virtual void loadURLExternally(blink::WebFrame* frame, const blink::WebURLRequest& request, blink::WebNavigationPolicy policy, ...
6 years, 9 months ago (2014-03-14 21:45:31 UTC) #4
jochen (gone - plz use gerrit)
note that TestRunner.cpp no longer exists.. https://codereview.chromium.org/200663002/diff/20001/content/shell/renderer/test_runner/WebFrameTestProxy.h File content/shell/renderer/test_runner/WebFrameTestProxy.h (right): https://codereview.chromium.org/200663002/diff/20001/content/shell/renderer/test_runner/WebFrameTestProxy.h#newcode50 content/shell/renderer/test_runner/WebFrameTestProxy.h:50: virtual void didStartProvisionalLoad(blink::WebFrame* ...
6 years, 9 months ago (2014-03-16 12:55:44 UTC) #5
asanka
On 2014/03/16 12:55:44, jochen wrote: > note that TestRunner.cpp no longer exists.. > > https://codereview.chromium.org/200663002/diff/20001/content/shell/renderer/test_runner/WebFrameTestProxy.h ...
6 years, 9 months ago (2014-03-19 20:38:39 UTC) #6
asanka
dmazzoni, jochen: I revived this CL and updated it to keep up with the changes ...
6 years, 8 months ago (2014-04-23 19:31:53 UTC) #7
jochen (gone - plz use gerrit)
lgtm https://codereview.chromium.org/200663002/diff/80001/content/shell/renderer/test_runner/test_runner.cc File content/shell/renderer/test_runner/test_runner.cc (right): https://codereview.chromium.org/200663002/diff/80001/content/shell/renderer/test_runner/test_runner.cc#newcode2491 content/shell/renderer/test_runner/test_runner.cc:2491: only one empty line
6 years, 8 months ago (2014-04-24 12:52:49 UTC) #8
asanka
Thanks! https://codereview.chromium.org/200663002/diff/80001/content/shell/renderer/test_runner/test_runner.cc File content/shell/renderer/test_runner/test_runner.cc (right): https://codereview.chromium.org/200663002/diff/80001/content/shell/renderer/test_runner/test_runner.cc#newcode2491 content/shell/renderer/test_runner/test_runner.cc:2491: On 2014/04/24 12:52:49, jochen wrote: > only one ...
6 years, 8 months ago (2014-04-24 18:23:35 UTC) #9
asanka
The CQ bit was checked by asanka@chromium.org
6 years, 8 months ago (2014-04-24 19:54:23 UTC) #10
asanka
The CQ bit was unchecked by asanka@chromium.org
6 years, 8 months ago (2014-04-24 21:29:21 UTC) #11
asanka
The CQ bit was checked by asanka@chromium.org
6 years, 8 months ago (2014-04-24 21:29:24 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/asanka@chromium.org/200663002/100001
6 years, 8 months ago (2014-04-24 21:43:53 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-24 23:07:14 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on win_chromium_rel
6 years, 8 months ago (2014-04-24 23:07:17 UTC) #15
asanka
The CQ bit was checked by asanka@chromium.org
6 years, 8 months ago (2014-04-25 14:00:35 UTC) #16
asanka
The CQ bit was unchecked by asanka@chromium.org
6 years, 8 months ago (2014-04-25 19:48:06 UTC) #17
asanka
The CQ bit was checked by asanka@chromium.org
6 years, 8 months ago (2014-04-25 19:48:08 UTC) #18
asanka
The CQ bit was unchecked by asanka@chromium.org
6 years, 8 months ago (2014-04-25 21:40:55 UTC) #19
asanka
The CQ bit was checked by asanka@chromium.org
6 years, 8 months ago (2014-04-25 21:41:03 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/asanka@chromium.org/200663002/100001
6 years, 8 months ago (2014-04-25 21:42:53 UTC) #21
commit-bot: I haz the power
6 years, 8 months ago (2014-04-26 22:07:34 UTC) #22
Message was sent while issue was closed.
Change committed as 266377

Powered by Google App Engine
This is Rietveld 408576698