aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom')
-rw-r--r--components/script/dom/node.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/node.rs b/components/script/dom/node.rs
index d9d9343680d..21b79bd8e2f 100644
--- a/components/script/dom/node.rs
+++ b/components/script/dom/node.rs
@@ -1865,7 +1865,7 @@ impl NodeMethods for Node {
// https://dom.spec.whatwg.org/#dom-node-baseuri
fn BaseURI(&self) -> DOMString {
- self.owner_doc().URL()
+ DOMString::from(self.owner_doc().base_url().as_str())
}
// https://dom.spec.whatwg.org/#dom-node-ownerdocument