diff options
Diffstat (limited to 'components/script/dom/webidls/Text.webidl')
-rw-r--r-- | components/script/dom/webidls/Text.webidl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/components/script/dom/webidls/Text.webidl b/components/script/dom/webidls/Text.webidl index 515d9939806..0b0a980d0a9 100644 --- a/components/script/dom/webidls/Text.webidl +++ b/components/script/dom/webidls/Text.webidl @@ -1,6 +1,6 @@ /* 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/. */ /* * The origin of this IDL file is * https://dom.spec.whatwg.org/ @@ -10,8 +10,9 @@ */ // https://dom.spec.whatwg.org/#text -[Constructor(optional DOMString data = "")] +[Exposed=Window] interface Text : CharacterData { + [Throws] constructor(optional DOMString data = ""); [NewObject, Throws] Text splitText(unsigned long offset); [Pure] |