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()) }