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

Issue 274253002: Make WebTestProxy handle printing + compositing mode (Closed)

Created:
6 years, 7 months ago by enne (OOO)
Modified:
6 years, 7 months ago
Reviewers:
danakj, abarth-chromium
CC:
chromium-reviews, darin-cc_chromium.org, jam, jochen+watch_chromium.org
Visibility:
Public.

Description

Make WebTestProxy handle printing + compositing mode CapturePixels has a special branch for printing code, but CapturePixelsAsync before this patch doesn't. Because WebKitTestRunner calls the async version in compositing mode, printing tests fail if it doesn't also handle this case. The stateful canvas() accessor that the paintPagesWithBoundaries modifies is a bit of a code smell that previously existed, but it can't be easily cleaned up until the CapturePixels function gets removed. BUG=361729 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=269867

Patch Set 1 #

Patch Set 2 : Rebase #

Total comments: 4

Patch Set 3 : Now with more async #

Patch Set 4 : Use MessageLoopProxy; delete ClosureTask #

Patch Set 5 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -19 lines) Patch
M content/shell/renderer/test_runner/WebTestProxy.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M content/shell/renderer/test_runner/WebTestProxy.cpp View 1 2 3 3 chunks +26 lines, -19 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
enne (OOO)
6 years, 7 months ago (2014-05-09 21:07:21 UTC) #1
danakj
LGTM https://codereview.chromium.org/274253002/diff/20001/content/shell/renderer/test_runner/WebTestProxy.cpp File content/shell/renderer/test_runner/WebTestProxy.cpp (right): https://codereview.chromium.org/274253002/diff/20001/content/shell/renderer/test_runner/WebTestProxy.cpp#newcode510 content/shell/renderer/test_runner/WebTestProxy.cpp:510: callback.Run(bitmap); do you wanna post-task this to keep ...
6 years, 7 months ago (2014-05-09 21:17:21 UTC) #2
enne (OOO)
https://codereview.chromium.org/274253002/diff/20001/content/shell/renderer/test_runner/WebTestProxy.cpp File content/shell/renderer/test_runner/WebTestProxy.cpp (right): https://codereview.chromium.org/274253002/diff/20001/content/shell/renderer/test_runner/WebTestProxy.cpp#newcode510 content/shell/renderer/test_runner/WebTestProxy.cpp:510: callback.Run(bitmap); On 2014/05/09 21:17:21, danakj wrote: > do you ...
6 years, 7 months ago (2014-05-09 21:25:05 UTC) #3
danakj
https://codereview.chromium.org/274253002/diff/20001/content/shell/renderer/test_runner/WebTestProxy.cpp File content/shell/renderer/test_runner/WebTestProxy.cpp (right): https://codereview.chromium.org/274253002/diff/20001/content/shell/renderer/test_runner/WebTestProxy.cpp#newcode510 content/shell/renderer/test_runner/WebTestProxy.cpp:510: callback.Run(bitmap); On 2014/05/09 21:25:06, enne wrote: > On 2014/05/09 ...
6 years, 7 months ago (2014-05-09 21:37:24 UTC) #4
enne (OOO)
https://codereview.chromium.org/274253002/diff/20001/content/shell/renderer/test_runner/WebTestProxy.cpp File content/shell/renderer/test_runner/WebTestProxy.cpp (right): https://codereview.chromium.org/274253002/diff/20001/content/shell/renderer/test_runner/WebTestProxy.cpp#newcode510 content/shell/renderer/test_runner/WebTestProxy.cpp:510: callback.Run(bitmap); On 2014/05/09 21:37:25, danakj wrote: > On 2014/05/09 ...
6 years, 7 months ago (2014-05-09 22:03:20 UTC) #5
danakj
LGTM
6 years, 7 months ago (2014-05-09 22:04:28 UTC) #6
abarth-chromium
rslgtm
6 years, 7 months ago (2014-05-10 00:47:54 UTC) #7
enne (OOO)
The CQ bit was checked by enne@chromium.org
6 years, 7 months ago (2014-05-12 17:48:56 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/enne@chromium.org/274253002/50002
6 years, 7 months ago (2014-05-12 17:50:13 UTC) #9
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-12 19:13:52 UTC) #10
commit-bot: I haz the power
6 years, 7 months ago (2014-05-12 20:40:00 UTC) #11
Message was sent while issue was closed.
Change committed as 269867

Powered by Google App Engine
This is Rietveld 408576698