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

Side by Side Diff: LayoutTests/storage/indexeddb/deleteIndex-bug110792.html

Issue 58533003: Move fast/js/resources files to resources. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script src="../../fast/js/resources/js-test-pre.js"></script> 2 <script src="../../resources/js-test.js"></script>
3 <script src="resources/shared.js"></script> 3 <script src="resources/shared.js"></script>
4 <script> 4 <script>
5 5
6 description("Ensure IndexedDB's IDBObjectStore.deleteIndex() works if IDBIndex o bject has not been fetched - regression test for bug 110792."); 6 description("Ensure IndexedDB's IDBObjectStore.deleteIndex() works if IDBIndex o bject has not been fetched - regression test for bug 110792.");
7 7
8 indexedDBTest(onFirstUpgradeNeeded, closeAndReOpen, {version: 1}); 8 indexedDBTest(onFirstUpgradeNeeded, closeAndReOpen, {version: 1});
9 9
10 function onFirstUpgradeNeeded(evt) 10 function onFirstUpgradeNeeded(evt)
11 { 11 {
12 preamble(evt); 12 preamble(evt);
(...skipping 19 matching lines...) Expand all
32 preamble(evt); 32 preamble(evt);
33 evalAndLog("db = event.target.result"); 33 evalAndLog("db = event.target.result");
34 evalAndLog("store = event.target.transaction.objectStore('store')"); 34 evalAndLog("store = event.target.transaction.objectStore('store')");
35 // Do NOT add a call to store.index('index') here (e.g. to assert it exists) 35 // Do NOT add a call to store.index('index') here (e.g. to assert it exists)
36 // or the bug disappears. 36 // or the bug disappears.
37 evalAndLog("store.deleteIndex('index')"); 37 evalAndLog("store.deleteIndex('index')");
38 evalAndExpectException("store.index('index')", "DOMException.NOT_FOUND_ERR", "'NotFoundError'"); 38 evalAndExpectException("store.index('index')", "DOMException.NOT_FOUND_ERR", "'NotFoundError'");
39 } 39 }
40 40
41 </script> 41 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698