@@ -220,10 +220,10 @@ if any such underlying storage exists.
220220Further normative definition of <a>snapshot state</a> can be found for {{File}} s.
221221
222222<xmp class="idl">
223- [Constructor(optional sequence<BlobPart> blobParts,
224- optional BlobPropertyBag options = {}),
225- Exposed=(Window,Worker), Serializable]
223+ [Exposed=(Window,Worker), Serializable]
226224interface Blob {
225+ constructor(optional sequence<BlobPart> blobParts,
226+ optional BlobPropertyBag options = {});
227227
228228 readonly attribute unsigned long long size;
229229 readonly attribute DOMString type;
@@ -643,11 +643,11 @@ and must follow the <dfn export>file type guidelines</dfn> below:
643643 including statistical methods.
644644
645645<pre class="idl">
646- [Constructor(sequence<BlobPart> fileBits,
647- USVString fileName,
648- optional FilePropertyBag options = {}),
649- Exposed=(Window,Worker), Serializable]
646+ [Exposed=(Window,Worker), Serializable]
650647interface File : Blob {
648+ constructor(sequence<BlobPart> fileBits,
649+ USVString fileName,
650+ optional FilePropertyBag options = {});
651651 readonly attribute DOMString name;
652652 readonly attribute long long lastModified;
653653};
@@ -895,9 +895,9 @@ It is to be used for features that trigger in response to asynchronously reading
895895## The {{FileReader}} API ## {#APIASynch}
896896
897897<pre class="idl">
898- [Constructor, Exposed=(Window,Worker)]
898+ [Exposed=(Window,Worker)]
899899interface FileReader: EventTarget {
900-
900+ constructor();
901901 // async read methods
902902 void readAsArrayBuffer(Blob blob);
903903 void readAsBinaryString(Blob blob);
@@ -1289,8 +1289,9 @@ This interface provides methods to <dfn id="read-method-sync" lt="synchronous r
12891289{{File}} or {{Blob}} objects into memory.
12901290
12911291<pre class="idl">
1292- [Constructor, Exposed=(DedicatedWorker,SharedWorker)]
1292+ [Exposed=(DedicatedWorker,SharedWorker)]
12931293interface FileReaderSync {
1294+ constructor();
12941295 // Synchronously return strings
12951296
12961297 ArrayBuffer readAsArrayBuffer(Blob blob);
0 commit comments