diff options
Diffstat (limited to 'components/script/dom/webidls/File.webidl')
-rw-r--r-- | components/script/dom/webidls/File.webidl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/components/script/dom/webidls/File.webidl b/components/script/dom/webidls/File.webidl index 04e670723e4..143df2f8f13 100644 --- a/components/script/dom/webidls/File.webidl +++ b/components/script/dom/webidls/File.webidl @@ -4,11 +4,11 @@ // https://w3c.github.io/FileAPI/#file -[Constructor(sequence<BlobPart> fileBits, - DOMString fileName, - optional FilePropertyBag options = {}), - Exposed=(Window,Worker)] +[Exposed=(Window,Worker)] interface File : Blob { + [Throws] constructor(sequence<BlobPart> fileBits, + DOMString fileName, + optional FilePropertyBag options = {}); readonly attribute DOMString name; readonly attribute long long lastModified; }; |