Update web-platform-tests to revision 2660fc486f7027c913863d48a8843942f0c0365e

This commit is contained in:
WPT Sync Bot 2019-09-12 10:30:30 +00:00
parent 96de31b463
commit c413a1139e
455 changed files with 8535 additions and 2067 deletions

View file

@ -3,10 +3,10 @@
// (https://github.com/tidoust/reffy-reports)
// Source: File API (https://w3c.github.io/FileAPI/)
[Constructor(optional sequence<BlobPart> blobParts,
optional BlobPropertyBag options = {}),
Exposed=(Window,Worker), Serializable]
[Exposed=(Window,Worker), Serializable]
interface Blob {
constructor(optional sequence<BlobPart> blobParts,
optional BlobPropertyBag options = {});
readonly attribute unsigned long long size;
readonly attribute DOMString type;
@ -31,11 +31,11 @@ dictionary BlobPropertyBag {
typedef (BufferSource or Blob or USVString) BlobPart;
[Constructor(sequence<BlobPart> fileBits,
USVString fileName,
optional FilePropertyBag options = {}),
Exposed=(Window,Worker), Serializable]
[Exposed=(Window,Worker), Serializable]
interface File : Blob {
constructor(sequence<BlobPart> fileBits,
USVString fileName,
optional FilePropertyBag options = {});
readonly attribute DOMString name;
readonly attribute long long lastModified;
};
@ -50,9 +50,9 @@ interface FileList {
readonly attribute unsigned long length;
};
[Constructor, Exposed=(Window,Worker)]
[Exposed=(Window,Worker)]
interface FileReader: EventTarget {
constructor();
// async read methods
void readAsArrayBuffer(Blob blob);
void readAsBinaryString(Blob blob);
@ -82,8 +82,9 @@ interface FileReader: EventTarget {
attribute EventHandler onloadend;
};
[Constructor, Exposed=(DedicatedWorker,SharedWorker)]
[Exposed=(DedicatedWorker,SharedWorker)]
interface FileReaderSync {
constructor();
// Synchronously return strings
ArrayBuffer readAsArrayBuffer(Blob blob);