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

Side by Side Diff: LayoutTests/storage/indexeddb/resources/intversion-close-in-upgradeneeded.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("Test that when db.close is called in upgradeneeded, the db is clean ed up on refresh."); 6 description("Test that when db.close is called in upgradeneeded, the db is clean ed up on refresh.");
7 7
8 function test() 8 function test()
9 { 9 {
10 removeVendorPrefixes(); 10 removeVendorPrefixes();
11 setDBNameFromPath(); 11 setDBNameFromPath();
12 12
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 debug(""); 53 debug("");
54 debug("Verify that the old connection is unchanged and was closed:"); 54 debug("Verify that the old connection is unchanged and was closed:");
55 shouldBeNonNull("db"); 55 shouldBeNonNull("db");
56 shouldBe('db.version', "7"); 56 shouldBe('db.version', "7");
57 evalAndExpectException("db.transaction('os')", "DOMException.INVALID_STATE_E RR", "'InvalidStateError'"); 57 evalAndExpectException("db.transaction('os')", "DOMException.INVALID_STATE_E RR", "'InvalidStateError'");
58 58
59 finishJSTest(); 59 finishJSTest();
60 } 60 }
61 61
62 test(); 62 test();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698