summaryrefslogtreecommitdiffstats
path: root/extensions/renderer/v8_helpers.h
diff options
context:
space:
mode:
authordfalcantara <dfalcantara@chromium.org>2015-06-29 22:34:51 -0700
committerCommit bot <commit-bot@chromium.org>2015-06-30 05:35:10 +0000
commit309e0545fa27c4469a673d4057a8d4e280bbdda1 (patch)
tree0a41734d9c460b1c386930c24fc42967aaf577c5 /extensions/renderer/v8_helpers.h
parent839f53602e5521c8090c76b27c46278cec3ea33b (diff)
downloadchromium_src-309e0545fa27c4469a673d4057a8d4e280bbdda1.zip
chromium_src-309e0545fa27c4469a673d4057a8d4e280bbdda1.tar.gz
chromium_src-309e0545fa27c4469a673d4057a8d4e280bbdda1.tar.bz2
Fix WebappModeTest flakiness
Because the WebappActivity now uses the DocumentTabModelSelector, the maximum Tab ID isn't set in stone. When the WebappActivity starts and initializes the DocumentTabModelSelector, the latter initializes the TabIdManager's counter to the maximum task ID, which may be bigger than the test's hardcoded 11684 value. Instead, just change the test to check that the newly assigned ID is bigger than the minimum that we set, which is still in the spirit of the original test (the original bug had the WebappActivity assign a Tab ID of 0). Also moves some mocking code upward from DocumentModeTestBase. BUG=451453 Review URL: https://codereview.chromium.org/1221623005 Cr-Commit-Position: refs/heads/master@{#336730}
Diffstat (limited to 'extensions/renderer/v8_helpers.h')
0 files changed, 0 insertions, 0 deletions