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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/IndexedDB/idbobjectstore-rename-store.html

Issue 2610243002: Import wpt@5e1a3b80cea8d36774d2afd78b29a74792e9f15a (Closed)
Patch Set: Rebased 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <meta name="timeout" content="long">
2 <title>IndexedDB: object store renaming support</title> 3 <title>IndexedDB: object store renaming support</title>
3 <link rel="help" 4 <link rel="help"
4 href="https://w3c.github.io/IndexedDB/#dom-idbobjectstore-name"> 5 href="https://w3c.github.io/IndexedDB/#dom-idbobjectstore-name">
5 <link rel="author" href="pwnall@chromium.org" title="Victor Costan"> 6 <link rel="author" href="pwnall@chromium.org" title="Victor Costan">
6 <script src="/resources/testharness.js"></script> 7 <script src="/resources/testharness.js"></script>
7 <script src="/resources/testharnessreport.js"></script> 8 <script src="/resources/testharnessreport.js"></script>
8 <script src="support-promises.js"></script> 9 <script src="support-promises.js"></script>
9 <script> 10 <script>
10 11
11 // Renames the 'books' store to 'renamed_books'. 12 // Renames the 'books' store to 'renamed_books'.
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after
357 const store = transaction.objectStore(name); 358 const store = transaction.objectStore(name);
358 return checkStoreContents( 359 return checkStoreContents(
359 testCase, store, 360 testCase, store,
360 'Renaming an object store should not change its records').then( 361 'Renaming an object store should not change its records').then(
361 () => database.close()); 362 () => database.close());
362 }); 363 });
363 }, 'IndexedDB object store can be renamed to "' + escapedName + '"'); 364 }, 'IndexedDB object store can be renamed to "' + escapedName + '"');
364 })(escapedName); 365 })(escapedName);
365 366
366 </script> 367 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698