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

Issue 10216002: Fix IDB pyauto tests on cros by preventing restore after restart (Closed)

Created:
8 years, 8 months ago by jsbell
Modified:
8 years, 8 months ago
Reviewers:
Nirnimesh
CC:
chromium-reviews, dennis_jeffrey, anantha, dyu1, Nirnimesh
Visibility:
Public.

Description

IndexedDB pyauto tests rely on restarting the browser and navigating to a new tab. On CrOS the restart was causing the previous session's tabs to be restored, which confused the test. Set a preference to start sessions on the new tab page, , and refactor to avoid polling for results so that failures are detected immediately and with useful error messages. BUG=123045 TEST=python chrome/test/functional/indexeddb.py R=nirnimesh@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=133993

Patch Set 1 #

Patch Set 2 : Re-enable tests on CrOS #

Patch Set 3 : Refactor to avoid polling #

Total comments: 9

Patch Set 4 : Review feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+111 lines, -95 lines) Patch
M chrome/test/data/indexeddb/bug_90635.html View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/data/indexeddb/bug_90635.js View 1 2 3 chunks +4 lines, -16 lines 0 comments Download
A chrome/test/data/indexeddb/shared.js View 1 2 1 chunk +28 lines, -0 lines 0 comments Download
M chrome/test/data/indexeddb/version_change_blocked.html View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/data/indexeddb/version_change_blocked.js View 1 2 3 chunks +8 lines, -21 lines 0 comments Download
M chrome/test/data/indexeddb/version_change_crash.html View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/data/indexeddb/version_change_crash.js View 1 2 6 chunks +15 lines, -29 lines 0 comments Download
M chrome/test/functional/PYAUTO_TESTS View 1 2 3 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/test/functional/indexeddb.py View 1 2 3 2 chunks +53 lines, -26 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
jsbell
nirnimesh@ - can you review and try this locally on your CrOS box?
8 years, 8 months ago (2012-04-24 22:07:21 UTC) #1
Nirnimesh
I've tried this locally on my chromeos and mac. Works on both. Thanks LGTM http://codereview.chromium.org/10216002/diff/3/chrome/test/functional/PYAUTO_TESTS ...
8 years, 8 months ago (2012-04-25 19:38:38 UTC) #2
jsbell
http://codereview.chromium.org/10216002/diff/3/chrome/test/functional/PYAUTO_TESTS File chrome/test/functional/PYAUTO_TESTS (left): http://codereview.chromium.org/10216002/diff/3/chrome/test/functional/PYAUTO_TESTS#oldcode170 chrome/test/functional/PYAUTO_TESTS:170: # crbug.com/123045 On 2012/04/25 19:38:38, Nirnimesh wrote: > I ...
8 years, 8 months ago (2012-04-25 20:42:04 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jsbell@chromium.org/10216002/10001
8 years, 8 months ago (2012-04-25 20:42:29 UTC) #4
commit-bot: I haz the power
8 years, 8 months ago (2012-04-25 21:59:22 UTC) #5
Change committed as 133993

Powered by Google App Engine
This is Rietveld 408576698