Auto merge of #9328 - frewsxcv:window-broken-link, r=jdm

Fix broken spec link on Window::Document

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9328)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2016-01-15 09:09:40 +05:30
commit c7e8641174

View file

@ -420,7 +420,7 @@ impl WindowMethods for Window {
self.main_thread_script_chan().send(MainThreadScriptMsg::ExitWindow(self.id.clone())).unwrap();
}
// https://html.spec.whatwg.org/multipage/#dom-document-0
// https://html.spec.whatwg.org/multipage/#dom-document-2
fn Document(&self) -> Root<Document> {
Root::from_ref(self.browsing_context().as_ref().unwrap().active_document())
}