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

Unified Diff: LayoutTests/imported/web-platform-tests/IndexedDB/transaction-requestqueue.htm

Issue 1295773004: update-w3c-deps import using blink c936ac9d274f959a4b5908db6835bcd612fb1a9e: (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 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: LayoutTests/imported/web-platform-tests/IndexedDB/transaction-requestqueue.htm
diff --git a/LayoutTests/imported/web-platform-tests/IndexedDB/transaction-requestqueue.htm b/LayoutTests/imported/web-platform-tests/IndexedDB/transaction-requestqueue.htm
index 4ab6953d51bb5028f38a28e583a9b17321a194f3..33e642026e7060aec221d622f952e281648e7960 100644
--- a/LayoutTests/imported/web-platform-tests/IndexedDB/transaction-requestqueue.htm
+++ b/LayoutTests/imported/web-platform-tests/IndexedDB/transaction-requestqueue.htm
@@ -23,8 +23,6 @@ open_rq.onupgradeneeded = function(e) {
os.put({ os: "os" + i, k: i});
os.add({ os: "os" + i });
}
-
-// assert_object_equals(db.objectStoreNames, ["os1", "os2", "os3", "os4", "os5" ], "objectStores");
}
open_rq.onsuccess = function(e) {
@@ -67,22 +65,22 @@ function finish() {
if (--finish_to_go)
return;
- assert_object_equals(keys['txn'], [
- "os1: 1",
- "os3: 1",
- "os1: 2",
- "os2: 3",
- "os2: 1", "os2: 1", "os2: 1",
- "os1: 2",
- ], 'transaction keys');
-
- assert_object_equals(keys['txn2'], [
- "os4: 1", "os4: 5", "os4: 4", "os3: 1",
- "os4: 1", "os4: 5", "os4: 4", "os3: 1",
- "os4: 1", "os4: 5", "os4: 4", "os3: 1",
- "os1: 2",
- "os4: 5",
- ], 'transaction 2 keys');
+ assert_array_equals(keys['txn'], [
+ "os1: 1",
+ "os3: 1",
+ "os1: 2",
+ "os2: 3",
+ "os2: 1", "os2: 1", "os2: 1",
+ "os1: 2",
+ ], 'transaction keys');
+
+ assert_array_equals(keys['txn2'], [
+ "os4: 1", "os4: 5", "os4: 4", "os3: 1",
+ "os4: 1", "os4: 5", "os4: 4", "os3: 1",
+ "os4: 1", "os4: 5", "os4: 4", "os3: 1",
+ "os1: 2",
+ "os4: 5",
+ ], 'transaction 2 keys');
t.done();
}

Powered by Google App Engine
This is Rietveld 408576698