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

Issue 2219143002: Add a --virtual-time-budget option to headless_shell (Closed)

Created:
4 years, 4 months ago by alex clarke (OOO till 29th)
Modified:
4 years, 4 months ago
Reviewers:
Sami
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add a --virtual-time-budget option to headless_shell This is an alternative to waiting for the DomContentLoaded event, where you specify a virtual time budget in milliseconds. BUG=546953 Committed: https://crrev.com/d12a9b250656e0528e3459f82518852122daf9b9 Cr-Commit-Position: refs/heads/master@{#410459}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Specify the time as requested #

Patch Set 3 : Fix compile #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -2 lines) Patch
M headless/app/headless_shell.cc View 1 2 7 chunks +38 lines, -2 lines 0 comments Download
M headless/app/headless_shell_switches.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M headless/app/headless_shell_switches.cc View 1 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (6 generated)
alex clarke (OOO till 29th)
4 years, 4 months ago (2016-08-05 20:22:10 UTC) #2
Sami
Very useful, thanks. lgtm, although I've got one suggestion. https://codereview.chromium.org/2219143002/diff/1/headless/app/headless_shell.cc File headless/app/headless_shell.cc (right): https://codereview.chromium.org/2219143002/diff/1/headless/app/headless_shell.cc#newcode129 headless/app/headless_shell.cc:129: ...
4 years, 4 months ago (2016-08-08 10:12:29 UTC) #3
alex clarke (OOO till 29th)
https://codereview.chromium.org/2219143002/diff/1/headless/app/headless_shell.cc File headless/app/headless_shell.cc (right): https://codereview.chromium.org/2219143002/diff/1/headless/app/headless_shell.cc#newcode129 headless/app/headless_shell.cc:129: .SetBudget(10000) // 10 virtual seconds On 2016/08/08 10:12:28, Sami ...
4 years, 4 months ago (2016-08-08 20:28:12 UTC) #7
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/2219143002/40001
4 years, 4 months ago (2016-08-08 20:28:22 UTC) #8
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 4 months ago (2016-08-08 21:13:36 UTC) #10
commit-bot: I haz the power
4 years, 4 months ago (2016-08-08 21:15:52 UTC) #12
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/d12a9b250656e0528e3459f82518852122daf9b9
Cr-Commit-Position: refs/heads/master@{#410459}

Powered by Google App Engine
This is Rietveld 408576698