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

Issue 8294030: Fix snapshotting on linux by creating a separate automation path for (Closed)

Created:
9 years, 2 months ago by kkania
Modified:
9 years, 1 month ago
CC:
chromium-reviews, robertshield, darin-cc_chromium.org, brettw-cc_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Fix test snapshotting on linux by creating a separate automation path for snapshots outside of the thumbnail generator. BUG=69370, 66371, 63022 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=107645

Patch Set 1 : ... #

Total comments: 14

Patch Set 2 : address Pawel's comments #

Total comments: 1

Patch Set 3 : use fixed layout #

Patch Set 4 : rebase #

Patch Set 5 : fix win #

Unified diffs Side-by-side diffs Delta from patch set Stats (+292 lines, -217 lines) Patch
M chrome/browser/automation/automation_provider_observers.h View 1 2 3 2 chunks +15 lines, -17 lines 0 comments Download
M chrome/browser/automation/automation_provider_observers.cc View 1 2 3 1 chunk +27 lines, -68 lines 0 comments Download
M chrome/browser/automation/automation_tab_helper.h View 1 3 chunks +14 lines, -0 lines 0 comments Download
M chrome/browser/automation/automation_tab_helper.cc View 3 chunks +16 lines, -0 lines 0 comments Download
M chrome/browser/automation/testing_automation_provider.cc View 1 2 3 2 chunks +2 lines, -7 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/automation_messages_internal.h View 1 2 3 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/renderer/automation/automation_renderer_helper.h View 1 2 1 chunk +16 lines, -1 line 0 comments Download
M chrome/renderer/automation/automation_renderer_helper.cc View 1 2 1 chunk +100 lines, -1 line 0 comments Download
A chrome/renderer/automation/automation_renderer_helper_browsertest.cc View 1 2 3 4 1 chunk +78 lines, -0 lines 0 comments Download
M chrome/test/automation/automation_proxy_uitest.cc View 1 2 3 4 chunks +14 lines, -105 lines 0 comments Download
D chrome/test/data/automation_proxy_snapshot/image.png View 1 0 chunks +-1 lines, --1 lines 0 comments Download
D chrome/test/data/automation_proxy_snapshot/just_image.html View 1 1 chunk +0 lines, -14 lines 0 comments Download
M chrome/test/webdriver/test/chromedriver_tests.py View 1 chunk +0 lines, -5 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
kkania
Motivation: current snapshot system for webdriver is broken on linux, doesn't give exact results on ...
9 years, 2 months ago (2011-10-18 01:11:48 UTC) #1
Paweł Hajdan Jr.
Thank you for work on this, just some more work is needed. http://codereview.chromium.org/8294030/diff/2001/chrome/browser/automation/automation_provider_observers.cc File chrome/browser/automation/automation_provider_observers.cc ...
9 years, 2 months ago (2011-10-18 10:21:35 UTC) #2
kkania
jamesr: chrome/renderer/automation/* phajdan-jr: all else http://codereview.chromium.org/8294030/diff/2001/chrome/browser/automation/automation_provider_observers.cc File chrome/browser/automation/automation_provider_observers.cc (right): http://codereview.chromium.org/8294030/diff/2001/chrome/browser/automation/automation_provider_observers.cc#newcode1911 chrome/browser/automation/automation_provider_observers.cc:1911: overall_success = bytes_written == ...
9 years, 2 months ago (2011-10-18 18:30:19 UTC) #3
jamesr
What sort of content is this intended to run on?
9 years, 2 months ago (2011-10-18 19:03:57 UTC) #4
kkania
On 2011/10/18 19:03:57, jamesr wrote: > What sort of content is this intended to run ...
9 years, 2 months ago (2011-10-18 19:13:46 UTC) #5
Paweł Hajdan Jr.
LGTM with a nit. http://codereview.chromium.org/8294030/diff/12003/chrome/browser/automation/automation_tab_helper.cc File chrome/browser/automation/automation_tab_helper.cc (right): http://codereview.chromium.org/8294030/diff/12003/chrome/browser/automation/automation_tab_helper.cc#newcode14 chrome/browser/automation/automation_tab_helper.cc:14: nit: No empty line here.
9 years, 2 months ago (2011-10-19 09:03:33 UTC) #6
jamesr
Sorry for the delay - I don't think scrolling around the view will really work. ...
9 years, 2 months ago (2011-10-20 23:56:40 UTC) #7
jamesr
On 2011/10/20 23:56:40, jamesr wrote: > Sorry for the delay - I don't think scrolling ...
9 years, 2 months ago (2011-10-20 23:57:57 UTC) #8
kkania
Switched to using fixed layout before resizing to fit contentsSize.
9 years, 2 months ago (2011-10-24 18:17:19 UTC) #9
kkania
On 2011/10/24 18:17:19, kkania wrote: > Switched to using fixed layout before resizing to fit ...
9 years, 1 month ago (2011-10-26 20:29:13 UTC) #10
jamesr
renderer lgtm You should send tryjobs before landing, but to do that I believe you'll ...
9 years, 1 month ago (2011-10-26 20:32:50 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kkania@chromium.org/8294030/23001
9 years, 1 month ago (2011-10-27 21:35:17 UTC) #12
commit-bot: I haz the power
9 years, 1 month ago (2011-10-27 22:50:37 UTC) #13
Change committed as 107645

Powered by Google App Engine
This is Rietveld 408576698