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

Side by Side Diff: LayoutTests/storage/indexeddb/resources/pending-version-change-stuck.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 function test() 6 function test()
7 { 7 {
8 removeVendorPrefixes(); 8 removeVendorPrefixes();
9 dbname = decodeURIComponent(self.location.search.substring(1)); 9 dbname = decodeURIComponent(self.location.search.substring(1));
10 request = evalAndLog("indexedDB.open(dbname, 2)"); 10 request = evalAndLog("indexedDB.open(dbname, 2)");
11 request.onerror = unexpectedErrorCallback; 11 request.onerror = unexpectedErrorCallback;
12 request.onsuccess = unexpectedSuccessCallback; 12 request.onsuccess = unexpectedSuccessCallback;
13 request.onupgradeneeded = unexpectedUpgradeNeededCallback; 13 request.onupgradeneeded = unexpectedUpgradeNeededCallback;
14 request.onblocked = function() { 14 request.onblocked = function() {
15 testPassed("worker received blocked event."); 15 testPassed("worker received blocked event.");
16 postMessage("gotblocked"); 16 postMessage("gotblocked");
17 }; 17 };
18 } 18 }
19 19
20 test(); 20 test();
OLDNEW
« no previous file with comments | « LayoutTests/storage/indexeddb/resources/pending-activity.js ('k') | LayoutTests/storage/indexeddb/resources/persistence.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698