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

Side by Side Diff: LayoutTests/storage/indexeddb/resources/version-change-abort.js

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 if (this.importScripts) { 1 if (this.importScripts) {
2 importScripts('../../../fast/js/resources/js-test-pre.js'); 2 importScripts('../../../resources/js-test.js');
3 importScripts('shared.js'); 3 importScripts('shared.js');
4 } 4 }
5 5
6 description("Ensure that aborted VERSION_CHANGE transactions are completely roll ed back"); 6 description("Ensure that aborted VERSION_CHANGE transactions are completely roll ed back");
7 7
8 indexedDBTest(prepareDatabase, setVersion1Complete); 8 indexedDBTest(prepareDatabase, setVersion1Complete);
9 function prepareDatabase() 9 function prepareDatabase()
10 { 10 {
11 db = event.target.result; 11 db = event.target.result;
12 trans = event.target.transaction; 12 trans = event.target.transaction;
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 request.onerror = unexpectedErrorCallback; 66 request.onerror = unexpectedErrorCallback;
67 request.onsuccess = function (e) { 67 request.onsuccess = function (e) {
68 db = event.target.result; 68 db = event.target.result;
69 shouldBe("db.version", "1"); 69 shouldBe("db.version", "1");
70 shouldBeTrue("db.objectStoreNames.contains('store1')"); 70 shouldBeTrue("db.objectStoreNames.contains('store1')");
71 shouldBeFalse("db.objectStoreNames.contains('store2')"); 71 shouldBeFalse("db.objectStoreNames.contains('store2')");
72 72
73 finishJSTest(); 73 finishJSTest();
74 } 74 }
75 } 75 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698