aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls/Text.webidl
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/webidls/Text.webidl')
-rw-r--r--components/script/dom/webidls/Text.webidl1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/dom/webidls/Text.webidl b/components/script/dom/webidls/Text.webidl
index 21a556a22a8..0b0a980d0a9 100644
--- a/components/script/dom/webidls/Text.webidl
+++ b/components/script/dom/webidls/Text.webidl
@@ -10,6 +10,7 @@
*/
// https://dom.spec.whatwg.org/#text
+[Exposed=Window]
interface Text : CharacterData {
[Throws] constructor(optional DOMString data = "");
[NewObject, Throws]