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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/IndexedDB/idbcursor-continuePrimaryKey-exceptions.htm

Issue 2652463002: Upstream IDBCursor.continuePrimaryKey exception test to WPT. (Closed)
Patch Set: third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/wpt/wpt/manifest --work --tests-root=third_par… 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 unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/external/wpt/MANIFEST.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!doctype html>
2 <title>IndexedDB: IDBCursor continuePrimaryKey() method</title> 2 <meta charset="utf-8" />
3 <script src="../../resources/testharness.js"></script> 3 <title>IndexedDB: IDBCursor continuePrimaryKey() exception throwing</title>
4 <script src="../../resources/testharnessreport.js"></script> 4 <link rel="help"
5 href="https://w3c.github.io/IndexedDB/#dom-idbcursor-continueprimarykey" / >
6 <script src="/resources/testharness.js"></script>
7 <script src="/resources/testharnessreport.js"></script>
5 <script> 8 <script>
6 9
7 async_test(function(t) { 10 async_test(function(t) {
8 var dbname = document.location + '-' + t.name; 11 var dbname = document.location + '-' + t.name;
9 var del = indexedDB.deleteDatabase(dbname); 12 var del = indexedDB.deleteDatabase(dbname);
10 del.onerror = t.unreached_func('deleteDatabase should succeed'); 13 del.onerror = t.unreached_func('deleteDatabase should succeed');
11 var open = indexedDB.open(dbname); 14 var open = indexedDB.open(dbname);
12 open.onerror = t.unreached_func('open should succeed'); 15 open.onerror = t.unreached_func('open should succeed');
13 16
14 open.onupgradeneeded = t.step_func(function() { 17 open.onupgradeneeded = t.step_func(function() {
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 open.onsuccess = t.step_func(function() { 90 open.onsuccess = t.step_func(function() {
88 var db = open.result; 91 var db = open.result;
89 db.close(); 92 db.close();
90 t.done(); 93 t.done();
91 }); 94 });
92 95
93 }, 'IDBCursor continuePrimaryKey() on "' + testcase.direction + '" cursor'); 96 }, 'IDBCursor continuePrimaryKey() on "' + testcase.direction + '" cursor');
94 }); 97 });
95 98
96 </script> 99 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/external/wpt/MANIFEST.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698