diff options
Diffstat (limited to 'components/script/dom/windowproxy.rs')
-rw-r--r-- | components/script/dom/windowproxy.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/dom/windowproxy.rs b/components/script/dom/windowproxy.rs index 812499b3785..1278a0af115 100644 --- a/components/script/dom/windowproxy.rs +++ b/components/script/dom/windowproxy.rs @@ -184,6 +184,7 @@ impl WindowProxy { assert!(!js_proxy.is_null()); // Create a new browsing context. + let current = Some(window.upcast::<GlobalScope>().pipeline_id()); let window_proxy = Box::new(WindowProxy::new_inherited( browsing_context_id, |