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

Unified Diff: third_party/WebKit/LayoutTests/storage/indexeddb/idbindex-getAllKeys-enforcerange.html

Issue 2664623002: Upstream an assortment of IndexedDB tests to WPT. (Closed)
Patch Set: Rebase MANIFEST.json. Created 3 years, 11 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: third_party/WebKit/LayoutTests/storage/indexeddb/idbindex-getAllKeys-enforcerange.html
diff --git a/third_party/WebKit/LayoutTests/storage/indexeddb/idbindex-getAllKeys-enforcerange.html b/third_party/WebKit/LayoutTests/storage/indexeddb/idbindex-getAllKeys-enforcerange.html
deleted file mode 100644
index 5360dc8ad992c4c8729582a0d1f98380902a8b8b..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/storage/indexeddb/idbindex-getAllKeys-enforcerange.html
+++ /dev/null
@@ -1,26 +0,0 @@
-<!DOCTYPE html>
-<title>IndexedDB: IDBIndex getAllKeys() uses [EnforceRange]</title>
-<meta charset=utf-8>
-<script src="../../resources/testharness.js"></script>
-<script src="../../resources/testharnessreport.js"></script>
-<script src="resources/testharness-helpers.js"></script>
-<script>
-
-indexeddb_test(
- (t, db) => {
- const store = db.createObjectStore('store');
- const index = store.createIndex('index', 'keyPath');
- },
- (t, db) => {
- const tx = db.transaction('store');
- const store = tx.objectStore('store');
- const index = store.index('index');
- [NaN, Infinity, -Infinity, -1, -Number.MAX_SAFE_INTEGER].forEach(count => {
- assert_throws(TypeError(), () => { index.getAllKeys(null, count); },
- `getAllKeys with count ${count} count should throw TypeError`);
- });
- t.done();
- },
- `IDBIndex.getAllKeys() uses [EnforceRange]`
-);
-</script>

Powered by Google App Engine
This is Rietveld 408576698