diff options
Diffstat (limited to 'components/script/dom/webidls/Document.webidl')
-rw-r--r-- | components/script/dom/webidls/Document.webidl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/components/script/dom/webidls/Document.webidl b/components/script/dom/webidls/Document.webidl index fa69f6f95f7..75b209d9c5e 100644 --- a/components/script/dom/webidls/Document.webidl +++ b/components/script/dom/webidls/Document.webidl @@ -13,15 +13,20 @@ interface Document : Node { [SameObject] readonly attribute DOMImplementation implementation; + [Constant] readonly attribute DOMString URL; readonly attribute Element? activeElement; + [Constant] readonly attribute DOMString documentURI; readonly attribute DOMString compatMode; readonly attribute DOMString characterSet; readonly attribute DOMString inputEncoding; // legacy alias of .characterSet + [Constant] readonly attribute DOMString contentType; + [Pure] readonly attribute DocumentType? doctype; + [Pure] readonly attribute Element? documentElement; HTMLCollection getElementsByTagName(DOMString localName); HTMLCollection getElementsByTagNameNS(DOMString? namespace, DOMString localName); |