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

Issue 27603004: Ported GpuCrashTest to Telemetry, renaming the test to ContextLost. (Closed)

Created:
7 years, 2 months ago by Ken Russell (switch to Gerrit)
Modified:
7 years, 2 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, apatrick_chromium, piman+watch_chromium.org, bajones, Sami
Visibility:
Public.

Description

Ported GpuCrashTest to Telemetry, renaming the test to ContextLost. Added command line argument for disabling the WebGL infobar, required for automated recovery from context loss. Added browser-side handling of debug URLs for navigations coming from Telemetry, covered under existing --enable-gpu-benchmarking command line argument. BUG=308675 R=dtu@chromium.org, jam@chromium.org, zmo@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=229255

Patch Set 1 #

Total comments: 4

Patch Set 2 : Addressed jam's review feedback. #

Total comments: 9

Patch Set 3 : Addressed dtu's review feedback. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+142 lines, -2 lines) Patch
M content/browser/browser_url_handler_impl.cc View 3 chunks +16 lines, -2 lines 0 comments Download
M content/browser/gpu/gpu_data_manager_impl_private.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M content/public/common/content_switches.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/public/common/content_switches.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
A content/test/gpu/gpu_tests/context_lost.py View 1 2 1 chunk +115 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Ken Russell (switch to Gerrit)
sky or jam or darin: browser_url_handler_impl.cc zmo: gpu_data_manager_impl_private.cc joi: OWNERS review of content_switches.{cc,h} dtu: context_lost.py
7 years, 2 months ago (2013-10-17 19:17:07 UTC) #1
jam
https://codereview.chromium.org/27603004/diff/1/content/public/common/content_switches.cc File content/public/common/content_switches.cc (right): https://codereview.chromium.org/27603004/diff/1/content/public/common/content_switches.cc#newcode158 content/public/common/content_switches.cc:158: // Disable the per-domain infobar which blocks 3D APIs ...
7 years, 2 months ago (2013-10-17 20:04:22 UTC) #2
jam
lgtm with nits btw
7 years, 2 months ago (2013-10-17 20:05:19 UTC) #3
Zhenyao Mo
LGTM
7 years, 2 months ago (2013-10-17 20:11:23 UTC) #4
Ken Russell (switch to Gerrit)
Thanks for the quick review. https://codereview.chromium.org/27603004/diff/1/content/public/common/content_switches.cc File content/public/common/content_switches.cc (right): https://codereview.chromium.org/27603004/diff/1/content/public/common/content_switches.cc#newcode158 content/public/common/content_switches.cc:158: // Disable the per-domain ...
7 years, 2 months ago (2013-10-17 20:50:11 UTC) #5
dtu
https://codereview.chromium.org/27603004/diff/9001/content/test/gpu/gpu_tests/context_lost.py File content/test/gpu/gpu_tests/context_lost.py (right): https://codereview.chromium.org/27603004/diff/9001/content/test/gpu/gpu_tests/context_lost.py#newcode42 content/test/gpu/gpu_tests/context_lost.py:42: class ContextLostValidator(page_test.PageTest): nit: _ContextLostValidator https://codereview.chromium.org/27603004/diff/9001/content/test/gpu/gpu_tests/context_lost.py#newcode71 content/test/gpu/gpu_tests/context_lost.py:71: raise page_test.Failure('Test didn\'t ...
7 years, 2 months ago (2013-10-17 21:07:19 UTC) #6
dtu
lgtm
7 years, 2 months ago (2013-10-17 21:07:36 UTC) #7
Ken Russell (switch to Gerrit)
+skyostil https://codereview.chromium.org/27603004/diff/9001/content/test/gpu/gpu_tests/context_lost.py File content/test/gpu/gpu_tests/context_lost.py (right): https://codereview.chromium.org/27603004/diff/9001/content/test/gpu/gpu_tests/context_lost.py#newcode42 content/test/gpu/gpu_tests/context_lost.py:42: class ContextLostValidator(page_test.PageTest): On 2013/10/17 21:07:19, dtu wrote: > ...
7 years, 2 months ago (2013-10-17 21:24:52 UTC) #8
Ken Russell (switch to Gerrit)
Committed patchset #3 manually as r229255 (presubmit successful).
7 years, 2 months ago (2013-10-17 23:31:39 UTC) #9
Jói
LGTM
7 years, 2 months ago (2013-10-18 10:41:46 UTC) #10
Sami
7 years, 2 months ago (2013-10-18 13:05:38 UTC) #11
Message was sent while issue was closed.
https://codereview.chromium.org/27603004/diff/9001/content/test/gpu/gpu_tests...
File content/test/gpu/gpu_tests/context_lost.py (right):

https://codereview.chromium.org/27603004/diff/9001/content/test/gpu/gpu_tests...
content/test/gpu/gpu_tests/context_lost.py:77: enabled = True
On 2013/10/17 21:24:53, Ken Russell wrote:
> On 2013/10/17 21:07:19, dtu wrote:
> > Are the GPU bot scripts using this? If not, I'm going to remove them
> completely.
> 
> I believe the Android GPU bot is using it to avoid running the
webgl_robustness
> test by default.

To be clear, that flag was only added there to avoid running the tests on
non-Android platforms -- it's fine to run that on all Android bots. I guess test
expectations could be used instead to skip the tests, or just not add that test
suite into the non-Android recipes.

Powered by Google App Engine
This is Rietveld 408576698