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

Unified Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/FileAPI/file/Worker-read-file-constructor.worker.js

Issue 1984023002: Move web-platform-tests to wpt (part 1 of 2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/imported/web-platform-tests/FileAPI/file/Worker-read-file-constructor.worker.js
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/FileAPI/file/Worker-read-file-constructor.worker.js b/third_party/WebKit/LayoutTests/imported/web-platform-tests/FileAPI/file/Worker-read-file-constructor.worker.js
deleted file mode 100644
index 4e003b3c958a94da268f41edf9b7a3e0d5eeb97e..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/FileAPI/file/Worker-read-file-constructor.worker.js
+++ /dev/null
@@ -1,15 +0,0 @@
-importScripts("/resources/testharness.js");
-
-async_test(function() {
- var file = new File(["bits"], "dummy", { 'type': 'text/plain', lastModified: 42 });
- var reader = new FileReader();
- reader.onload = this.step_func_done(function() {
- assert_equals(file.name, "dummy", "file name");
- assert_equals(reader.result, "bits", "file content");
- assert_equals(file.lastModified, 42, "file lastModified");
- });
- reader.onerror = this.unreached_func("Unexpected error event");
- reader.readAsText(file);
-}, "FileReader in Worker");
-
-done();

Powered by Google App Engine
This is Rietveld 408576698