aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/domparser.rs
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno.d@partner.samsung.com>2014-01-29 14:24:49 -0400
committerBruno de Oliveira Abinader <bruno.d@partner.samsung.com>2014-01-30 10:41:24 -0400
commit43416ef91f03378f7b86ecee98aeea359cb9807c (patch)
tree9ee15cce1b1f1a7c7fae7c32874ad47c12110be0 /src/components/script/dom/domparser.rs
parent0777f211df28e45349a9294a71b81c17800310e7 (diff)
downloadservo-43416ef91f03378f7b86ecee98aeea359cb9807c.tar.gz
servo-43416ef91f03378f7b86ecee98aeea359cb9807c.zip
Implement document.URL & document.documentURI
Specs: http://dom.spec.whatwg.org/#dom-document-url http://dom.spec.whatwg.org/#dom-document-documenturi This is a sub-task for #1428.
Diffstat (limited to 'src/components/script/dom/domparser.rs')
-rw-r--r--src/components/script/dom/domparser.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/script/dom/domparser.rs b/src/components/script/dom/domparser.rs
index c7515c549ea..00033983490 100644
--- a/src/components/script/dom/domparser.rs
+++ b/src/components/script/dom/domparser.rs
@@ -38,7 +38,7 @@ impl DOMParser {
-> Fallible<AbstractDocument> {
match ty {
Text_html => {
- Ok(HTMLDocument::new(self.owner))
+ Ok(HTMLDocument::new(self.owner, None))
}
Text_xml => {
Document::Constructor(self.owner)