OLD | NEW |
1 <!DOCTYPE html> | 1 <!doctype html> |
2 <meta charset="utf-8"> | 2 <meta charset="utf-8"> |
3 <title> | 3 <title> |
4 IndexedDB: scoping for database / object store / index names, and index keys | 4 IndexedDB: scoping for database / object store / index names, and index keys |
5 </title> | 5 </title> |
6 <link rel="help" href="https://w3c.github.io/IndexedDB/#constructs"> | 6 <link rel="help" href="https://w3c.github.io/IndexedDB/#constructs"> |
7 <link rel="author" href="pwnall@chromium.org" title="Victor Costan"> | 7 <link rel="author" href="pwnall@chromium.org" title="Victor Costan"> |
8 <script src="/resources/testharness.js"></script> | 8 <script src="/resources/testharness.js"></script> |
9 <script src="/resources/testharnessreport.js"></script> | 9 <script src="/resources/testharnessreport.js"></script> |
10 <script src="support-promises.js"></script> | 10 <script src="support-promises.js"></script> |
11 <script> | 11 <script> |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 return buildDatabases(testCase, true) | 125 return buildDatabases(testCase, true) |
126 .then(() => openNamedDatabase(testCase, 'x', 1)) | 126 .then(() => openNamedDatabase(testCase, 'x', 1)) |
127 .then(database => checkDatabaseContent(testCase, database, 'x', true)) | 127 .then(database => checkDatabaseContent(testCase, database, 'x', true)) |
128 .then(database => database.close()) | 128 .then(database => database.close()) |
129 .then(() => openNamedDatabase(testCase, 'y', 1)) | 129 .then(() => openNamedDatabase(testCase, 'y', 1)) |
130 .then(database => checkDatabaseContent(testCase, database, 'y', true)) | 130 .then(database => checkDatabaseContent(testCase, database, 'y', true)) |
131 .then(database => database.close()); | 131 .then(database => database.close()); |
132 }, 'Unique index keys'); | 132 }, 'Unique index keys'); |
133 | 133 |
134 </script> | 134 </script> |
OLD | NEW |