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

Side by Side Diff: LayoutTests/fast/filesystem/resources/file-writer-abort-depth.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('fs-worker-common.js'); 2 importScripts('fs-worker-common.js');
3 importScripts('../../js/resources/js-test-pre.js'); 3 importScripts('../../../resources/js-test.js');
4 importScripts('file-writer-utils.js'); 4 importScripts('file-writer-utils.js');
5 } 5 }
6 6
7 description("Test that FileWriter defends against infinite recursion via abort." ); 7 description("Test that FileWriter defends against infinite recursion via abort." );
8 8
9 var sawWriteStart; 9 var sawWriteStart;
10 var sawAbort; 10 var sawAbort;
11 var sawWriteEnd; 11 var sawWriteEnd;
12 var writer; 12 var writer;
13 var blob = new Blob(["lorem ipsum"]); 13 var blob = new Blob(["lorem ipsum"]);
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 fileWriter.onerror = onError; 62 fileWriter.onerror = onError;
63 fileWriter.onabort = onAbort; 63 fileWriter.onabort = onAbort;
64 fileWriter.onwritestart = onWriteStart; 64 fileWriter.onwritestart = onWriteStart;
65 fileWriter.onwrite = onWrite; 65 fileWriter.onwrite = onWrite;
66 fileWriter.onwriteend = onWriteEnd; 66 fileWriter.onwriteend = onWriteEnd;
67 method(); 67 method();
68 } 68 }
69 69
70 var jsTestIsAsync = true; 70 var jsTestIsAsync = true;
71 setupAndRunTest(2*1024*1024, 'file-writer-abort-depth', runTest); 71 setupAndRunTest(2*1024*1024, 'file-writer-abort-depth', runTest);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698