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

Unified Diff: chrome/test/data/indexeddb/database_callbacks_first.html

Issue 6677034: Add IndexedDB browser test that causes a crash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove DISABLED marker on this new test Created 9 years, 9 months 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: chrome/test/data/indexeddb/database_callbacks_first.html
diff --git a/chrome/test/data/indexeddb/database_callbacks_first.html b/chrome/test/data/indexeddb/database_callbacks_first.html
new file mode 100644
index 0000000000000000000000000000000000000000..41aeac786c6140f50eaf5de7a6f254981df915e5
--- /dev/null
+++ b/chrome/test/data/indexeddb/database_callbacks_first.html
@@ -0,0 +1,8 @@
+<script>
+ webkitIndexedDB.open().onsuccess = function () {
+ setTimeout(function() {
Paweł Hajdan Jr. 2011/03/15 19:49:11 Is setTimeout really needed here? If yes, could yo
jorlow 2011/03/15 20:25:46 The gc is...and it makes it more deterministic, so
dgrogan 2011/03/15 20:49:07 Yeah, I'll comment these. I think setTimeout make
Paweł Hajdan Jr. 2011/03/16 14:53:09 I still consider even setTimeout with 0 somewhat p
dgrogan 2011/03/16 22:00:12 I don't know if you're right or wrong, but I think
+ gc();
+ location.href = 'database_callbacks_second.html';
+ });
+ }
+</script>

Powered by Google App Engine
This is Rietveld 408576698