Update document constructor spec link.

This commit is contained in:
Josh Matthews 2017-02-17 15:51:46 -05:00 committed by GitHub
parent eb916f2903
commit 103fa0246d

View file

@ -2046,7 +2046,7 @@ impl Document {
}
}
// https://dom.spec.whatwg.org/#dom-document
// https://dom.spec.whatwg.org/#dom-document-document
pub fn Constructor(window: &Window) -> Fallible<Root<Document>> {
let doc = window.Document();
let docloader = DocumentLoader::new(&*doc.loader());