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

Issue 214963004: Support for figuring out the number of contexts in a page. (Closed)

Created:
6 years, 9 months ago by achuithb
Modified:
6 years, 6 months ago
Reviewers:
Tim Song, tonyg
CC:
chromium-reviews, telemetry+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Support for figuring out the number of contexts in a page. Turns out the number of contexts in the gaia page can be more than 15, so we need this. Also fix a bug in cros_test_case where browser_options were not being properly set by the test. BUG=361862 TEST=testIframe NOTRY=True Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=276380

Patch Set 1 : EnableAllContexts #

Total comments: 3

Patch Set 2 : plumbing #

Total comments: 4

Patch Set 3 : max_context_id #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -12 lines) Patch
M tools/telemetry/telemetry/core/backends/chrome/cros_test_case.py View 1 1 chunk +6 lines, -5 lines 0 comments Download
M tools/telemetry/telemetry/core/backends/chrome/inspector_backend.py View 1 1 chunk +3 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/core/backends/chrome/inspector_runtime.py View 1 4 chunks +11 lines, -6 lines 0 comments Download
M tools/telemetry/telemetry/core/backends/chrome/inspector_runtime_unittest.py View 1 1 chunk +2 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/core/backends/chrome/oobe.py View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M tools/telemetry/telemetry/core/web_contents.py View 1 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
achuithb
This CL returns the number of contexts available in a page, so the caller doesn't ...
6 years, 9 months ago (2014-03-28 16:11:55 UTC) #1
Tim Song
https://codereview.chromium.org/214963004/diff/20001/tools/telemetry/telemetry/core/backends/chrome/inspector_runtime.py File tools/telemetry/telemetry/core/backends/chrome/inspector_runtime.py (right): https://codereview.chromium.org/214963004/diff/20001/tools/telemetry/telemetry/core/backends/chrome/inspector_runtime.py#newcode19 tools/telemetry/telemetry/core/backends/chrome/inspector_runtime.py:19: self._max_context_id = max(self._max_context_id, Is the max context id different ...
6 years, 9 months ago (2014-03-28 22:06:10 UTC) #2
achuithb
https://codereview.chromium.org/214963004/diff/20001/tools/telemetry/telemetry/core/backends/chrome/inspector_runtime.py File tools/telemetry/telemetry/core/backends/chrome/inspector_runtime.py (right): https://codereview.chromium.org/214963004/diff/20001/tools/telemetry/telemetry/core/backends/chrome/inspector_runtime.py#newcode19 tools/telemetry/telemetry/core/backends/chrome/inspector_runtime.py:19: self._max_context_id = max(self._max_context_id, On 2014/03/28 22:06:10, Tim Song wrote: ...
6 years, 9 months ago (2014-03-28 23:38:36 UTC) #3
tonyg
lgtm If tests are happy, so am I.
6 years, 8 months ago (2014-03-31 15:01:32 UTC) #4
Tim Song
lgtm
6 years, 8 months ago (2014-03-31 18:37:48 UTC) #5
achuithb
I've reworked this CL. Turns out this is necessary because gaia login contexts can be ...
6 years, 6 months ago (2014-06-09 22:02:16 UTC) #6
Tim Song
https://codereview.chromium.org/214963004/diff/60001/tools/telemetry/telemetry/core/backends/chrome/oobe.py File tools/telemetry/telemetry/core/backends/chrome/oobe.py (right): https://codereview.chromium.org/214963004/diff/60001/tools/telemetry/telemetry/core/backends/chrome/oobe.py#newcode16 tools/telemetry/telemetry/core/backends/chrome/oobe.py:16: max_context_ids = self.EnableAllContexts() nit: for consistency with inspector_runtime.py s/max_context_ids/max_context_id/ ...
6 years, 6 months ago (2014-06-10 19:21:25 UTC) #7
achuithb
Thanks for the feedback! PTAL, Tim. https://codereview.chromium.org/214963004/diff/60001/tools/telemetry/telemetry/core/backends/chrome/oobe.py File tools/telemetry/telemetry/core/backends/chrome/oobe.py (right): https://codereview.chromium.org/214963004/diff/60001/tools/telemetry/telemetry/core/backends/chrome/oobe.py#newcode16 tools/telemetry/telemetry/core/backends/chrome/oobe.py:16: max_context_ids = self.EnableAllContexts() ...
6 years, 6 months ago (2014-06-10 20:13:23 UTC) #8
Tim Song
lgtm
6 years, 6 months ago (2014-06-10 20:41:25 UTC) #9
achuithb
The CQ bit was checked by achuith@chromium.org
6 years, 6 months ago (2014-06-10 20:43:23 UTC) #10
achuithb
On 2014/06/10 20:41:25, Tim Song wrote: > lgtm Ty
6 years, 6 months ago (2014-06-10 20:43:43 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/achuith@chromium.org/214963004/80001
6 years, 6 months ago (2014-06-10 20:49:37 UTC) #12
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_x64_rel on tryserver.chromium ...
6 years, 6 months ago (2014-06-11 06:14:27 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-11 12:15:17 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/win_chromium_x64_rel/builds/18907)
6 years, 6 months ago (2014-06-11 12:15:18 UTC) #15
achuithb
The CQ bit was checked by achuith@chromium.org
6 years, 6 months ago (2014-06-11 13:29:14 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/achuith@chromium.org/214963004/80001
6 years, 6 months ago (2014-06-11 13:31:23 UTC) #17
commit-bot: I haz the power
6 years, 6 months ago (2014-06-11 13:33:17 UTC) #18
Message was sent while issue was closed.
Change committed as 276380

Powered by Google App Engine
This is Rietveld 408576698