aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/webidls')
-rw-r--r--components/script/dom/webidls/Document.webidl4
-rw-r--r--components/script/dom/webidls/Node.webidl2
2 files changed, 3 insertions, 3 deletions
diff --git a/components/script/dom/webidls/Document.webidl b/components/script/dom/webidls/Document.webidl
index b73d563bac7..dd6ff9c924e 100644
--- a/components/script/dom/webidls/Document.webidl
+++ b/components/script/dom/webidls/Document.webidl
@@ -13,10 +13,10 @@ interface Document : Node {
[SameObject]
readonly attribute DOMImplementation implementation;
[Constant]
- readonly attribute DOMString URL;
+ readonly attribute USVString URL;
readonly attribute Element? activeElement;
[Constant]
- readonly attribute DOMString documentURI;
+ readonly attribute USVString documentURI;
readonly attribute DOMString compatMode;
readonly attribute DOMString characterSet;
readonly attribute DOMString charset; // legacy alias of .characterSet
diff --git a/components/script/dom/webidls/Node.webidl b/components/script/dom/webidls/Node.webidl
index f727fa98660..6335dfc565e 100644
--- a/components/script/dom/webidls/Node.webidl
+++ b/components/script/dom/webidls/Node.webidl
@@ -26,7 +26,7 @@ interface Node : EventTarget {
readonly attribute DOMString nodeName;
[Pure]
- readonly attribute DOMString baseURI;
+ readonly attribute USVString baseURI;
[Pure]
readonly attribute Document? ownerDocument;