diff options
author | Bruno de Oliveira Abinader <bruno.d@partner.samsung.com> | 2014-01-29 14:24:49 -0400 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno.d@partner.samsung.com> | 2014-01-30 10:41:24 -0400 |
commit | 43416ef91f03378f7b86ecee98aeea359cb9807c (patch) | |
tree | 9ee15cce1b1f1a7c7fae7c32874ad47c12110be0 /src/components/script/dom/domparser.rs | |
parent | 0777f211df28e45349a9294a71b81c17800310e7 (diff) | |
download | servo-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.rs | 2 |
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) |