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

Unified Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/FileAPI/idlharness.idl

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/idlharness.idl
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/FileAPI/idlharness.idl b/third_party/WebKit/LayoutTests/imported/web-platform-tests/FileAPI/idlharness.idl
deleted file mode 100644
index ae83a9cb1fd0037ac84acee50f3ac41d21b6dfb4..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/FileAPI/idlharness.idl
+++ /dev/null
@@ -1,81 +0,0 @@
-[Constructor,
- Constructor(sequence<(ArrayBuffer or ArrayBufferView or Blob or DOMString)> blobParts, optional BlobPropertyBag options), Exposed=Window,Worker]
-interface Blob {
-
- readonly attribute unsigned long long size;
- readonly attribute DOMString type;
- readonly attribute boolean isClosed;
-
- //slice Blob into byte-ranged chunks
-
- Blob slice([Clamp] optional long long start,
- [Clamp] optional long long end,
- optional DOMString contentType);
- void close();
-
-};
-
-dictionary BlobPropertyBag {
- DOMString type = "";
-};
-
-[Constructor(sequence<(Blob or DOMString or ArrayBufferView or ArrayBuffer)> fileBits,
-[EnsureUTF16] DOMString fileName, optional FilePropertyBag options), Exposed=Window,Worker]
-interface File : Blob {
-
- readonly attribute DOMString name;
- readonly attribute long long lastModified;
-
-};
-
-dictionary FilePropertyBag {
-
- DOMString type = "";
- long long lastModified;
-
-};
-
-[Exposed=Window,Worker] interface FileList {
- getter File? item(unsigned long index);
- readonly attribute unsigned long length;
-};
-
-[Constructor, Exposed=Window,Worker]
-interface FileReader: EventTarget {
-
- // async read methods
- void readAsArrayBuffer(Blob blob);
- void readAsText(Blob blob, optional DOMString label);
- void readAsDataURL(Blob blob);
-
- void abort();
-
- // states
- const unsigned short EMPTY = 0;
- const unsigned short LOADING = 1;
- const unsigned short DONE = 2;
-
- readonly attribute unsigned short readyState;
-
- // File or Blob data
- readonly attribute (DOMString or ArrayBuffer)? result;
-
- readonly attribute DOMError? error;
-
- // event handler attributes
- attribute EventHandler onloadstart;
- attribute EventHandler onprogress;
- attribute EventHandler onload;
- attribute EventHandler onabort;
- attribute EventHandler onerror;
- attribute EventHandler onloadend;
-
-};
-
-partial interface URL {
-
- static DOMString createObjectURL(Blob blob);
- static DOMString createFor(Blob blob);
- static void revokeObjectURL(DOMString url);
-
-};

Powered by Google App Engine
This is Rietveld 408576698