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

Unified Diff: content/test/data/dom_storage/sanity_check.js

Issue 2593503005: Don't abuse LevelDBObserver interface to pass GetAll result. (Closed)
Patch Set: modify sanity_check test to give async callbacks a chance to cause problems Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/test/data/dom_storage/sanity_check.js
diff --git a/content/test/data/dom_storage/sanity_check.js b/content/test/data/dom_storage/sanity_check.js
index c41e49306c8e076d075c7b8d168c013b877b39b2..ae547bb9c9d2bcc62e29a949ec6abc8447a44acb 100644
--- a/content/test/data/dom_storage/sanity_check.js
+++ b/content/test/data/dom_storage/sanity_check.js
@@ -12,7 +12,7 @@ function test() {
sanityCheck(window.localStorage);
debug('Checking window.sessionStorage');
sanityCheck(window.sessionStorage);
- done();
+ window.setTimeout(done, 0);
} catch(e) {
fail(e);
}

Powered by Google App Engine
This is Rietveld 408576698