diff options
Diffstat (limited to 'components/script/dom/webidls/File.webidl')
-rw-r--r-- | components/script/dom/webidls/File.webidl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/components/script/dom/webidls/File.webidl b/components/script/dom/webidls/File.webidl index 9404abe5034..143df2f8f13 100644 --- a/components/script/dom/webidls/File.webidl +++ b/components/script/dom/webidls/File.webidl @@ -1,14 +1,14 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ // 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; }; |