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

Issue 2254923002: Adds a test for screenshot area capturing. (Closed)

Created:
4 years, 4 months ago by Eric Seckler
Modified:
4 years, 3 months ago
Reviewers:
dgozman, Sami
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, caseq+blink_chromium.org, Peter Beverloo, jam, piman+watch_chromium.org, sievers+watch_chromium.org, jbauman+watch_chromium.org, pfeldman+blink_chromium.org, darin-cc_chromium.org, jochen+watch_chromium.org, devtools-reviews_chromium.org, blink-reviews, kalyank, danakj+watch_chromium.org, apavlov+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman, kozyatinskiy+blink_chromium.org, Sami
Base URL:
https://chromium.googlesource.com/chromium/src.git@eseckler_compositoroverrides
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Adds a test for screenshot area capturing. Based on https://codereview.chromium.org/2237433004/, which adds the required forceViewport DevTools command. Also refactors the original screenshot test and re-enables it for Android. BUG=625577 Committed: https://crrev.com/503266cd434ea508d17e6698c15da481b42ab095 Cr-Commit-Position: refs/heads/master@{#420317}

Patch Set 1 #

Patch Set 2 : use MAYBE_ pattern to disable tests on Android. #

Patch Set 3 : use actual native backing size and mask out corners on mac. #

Patch Set 4 : sync to changes in parent patches. #

Patch Set 5 : fix device_scale_factor rounding issues for expected screenshot size. #

Patch Set 6 : refactor test to exercise different box/screenshot sizes. #

Patch Set 7 : update comment. #

Patch Set 8 : sync. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+180 lines, -21 lines) Patch
M content/browser/devtools/protocol/devtools_protocol_browsertest.cc View 1 2 3 4 5 6 7 4 chunks +180 lines, -21 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 70 (64 generated)
Eric Seckler
Dmitry, PTAL when convenient. I'm out for the next two weeks, so no need to ...
4 years, 3 months ago (2016-08-26 16:34:57 UTC) #53
dgozman
lgtm. Thank you for extensive test coverage!
4 years, 3 months ago (2016-08-29 20:50:39 UTC) #56
commit-bot: I haz the power
This CL has an open dependency (Issue 2237433004 Patch 240001). Please resolve the dependency and ...
4 years, 3 months ago (2016-08-30 09:29:59 UTC) #59
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/2254923002/340001
4 years, 3 months ago (2016-09-22 12:56:35 UTC) #65
commit-bot: I haz the power
Committed patchset #8 (id:340001)
4 years, 3 months ago (2016-09-22 13:15:12 UTC) #68
commit-bot: I haz the power
4 years, 3 months ago (2016-09-22 13:17:24 UTC) #70
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/503266cd434ea508d17e6698c15da481b42ab095
Cr-Commit-Position: refs/heads/master@{#420317}

Powered by Google App Engine
This is Rietveld 408576698