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

Side by Side Diff: LayoutTests/storage/indexeddb/resources/open-twice.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 opening twice"); 6 description("Test opening twice");
7 7
8 function test() 8 function test()
9 { 9 {
10 removeVendorPrefixes(); 10 removeVendorPrefixes();
11 11
12 request = evalAndLog("indexedDB.open('open-twice1')"); 12 request = evalAndLog("indexedDB.open('open-twice1')");
13 request.onerror = unexpectedErrorCallback; 13 request.onerror = unexpectedErrorCallback;
14 request.onblocked = unexpectedBlockedCallback; 14 request.onblocked = unexpectedBlockedCallback;
15 request.onsuccess = openAnother; 15 request.onsuccess = openAnother;
16 }; 16 };
17 17
18 function openAnother() 18 function openAnother()
19 { 19 {
20 request = evalAndLog("indexedDB.open('open-twice2')"); 20 request = evalAndLog("indexedDB.open('open-twice2')");
21 request.onerror = unexpectedErrorCallback; 21 request.onerror = unexpectedErrorCallback;
22 request.onblocked = unexpectedBlockedCallback; 22 request.onblocked = unexpectedBlockedCallback;
23 request.onsuccess = finishJSTest; 23 request.onsuccess = finishJSTest;
24 } 24 }
25 25
26 test(); 26 test();
OLDNEW
« no previous file with comments | « LayoutTests/storage/indexeddb/resources/open-ordering.js ('k') | LayoutTests/storage/indexeddb/resources/opencursor-key.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698