From f6dc6ad463a157ebd7d0383e801e254cfe105e8a Mon Sep 17 00:00:00 2001 From: Corey Farwell Date: Thu, 14 Jan 2016 21:13:14 -0500 Subject: [PATCH] Fix broken spec link on Window::Document --- components/script/dom/window.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/script/dom/window.rs b/components/script/dom/window.rs index df7f6a3faeb..46cda6c4aa4 100644 --- a/components/script/dom/window.rs +++ b/components/script/dom/window.rs @@ -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 { Root::from_ref(self.browsing_context().as_ref().unwrap().active_document()) }