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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/IndexedDB/idbcursor-advance-exception-order.html

Issue 2664623002: Upstream an assortment of IndexedDB tests to WPT. (Closed)
Patch Set: Rebase MANIFEST.json. Created 3 years, 10 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 unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!doctype html>
2 <meta charset=utf-8>
2 <title>IndexedDB: IDBCursor advance() Exception Ordering</title> 3 <title>IndexedDB: IDBCursor advance() Exception Ordering</title>
3 <meta charset=utf-8>
4 <link rel="help" href="https://w3c.github.io/IndexedDB/#dom-idbcursor-advance"> 4 <link rel="help" href="https://w3c.github.io/IndexedDB/#dom-idbcursor-advance">
5 <script src="../../resources/testharness.js"></script> 5 <script src="/resources/testharness.js"></script>
6 <script src="../../resources/testharnessreport.js"></script> 6 <script src="/resources/testharnessreport.js"></script>
7 <script src="resources/testharness-helpers.js"></script> 7 <script src="support.js"></script>
8 <script> 8 <script>
9 9
10 indexeddb_test( 10 indexeddb_test(
11 (t, db) => { 11 (t, db) => {
12 const store = db.createObjectStore('s'); 12 const store = db.createObjectStore('s');
13 store.put('value', 'key'); 13 store.put('value', 'key');
14 }, 14 },
15 (t, db) => { 15 (t, db) => {
16 const tx = db.transaction('s'); 16 const tx = db.transaction('s');
17 const store = tx.objectStore('s'); 17 const store = tx.objectStore('s');
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 'should precede "got value" check (InvalidStateError)'); 82 'should precede "got value" check (InvalidStateError)');
83 t.done(); 83 t.done();
84 }), 0); 84 }), 0);
85 }); 85 });
86 }, 86 },
87 'IDBCursor.advance exception order: ' + 87 'IDBCursor.advance exception order: ' +
88 'TransactionInactiveError vs. InvalidStateError #2' 88 'TransactionInactiveError vs. InvalidStateError #2'
89 ); 89 );
90 90
91 </script> 91 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698