Bug 1513878 - Part 1: Expose window global child to window. r=nika
☠☠ backed out by 883b89f3a11f ☠ ☠
authorJohn Dai <jdai@mozilla.com>
Fri, 25 Jan 2019 18:45:26 +0000
changeset 515489 48b36980fe1c99640eae8240a77d8addfc194689
parent 515488 88a48f21fa684c6172a23fc150eb5c5571285004
child 515490 0333640041bbdba27dd114e9128235ce52826b82
push id1953
push userffxbld-merge
push dateMon, 11 Mar 2019 12:10:20 +0000
treeherdermozilla-release@9c35dcbaa899 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnika
bugs1513878
milestone66.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1513878 - Part 1: Expose window global child to window. r=nika Differential Revision: https://phabricator.services.mozilla.com/D16844
dom/webidl/Window.webidl
--- a/dom/webidl/Window.webidl
+++ b/dom/webidl/Window.webidl
@@ -365,16 +365,19 @@ partial interface Window {
   /**
    * Get the nsIDOMWindowUtils for this window.
    */
   [Constant, Throws, ChromeOnly]
   readonly attribute nsIDOMWindowUtils windowUtils;
 
   [ChromeOnly]
   readonly attribute boolean hasOpenerForInitialContentBrowser;
+
+  [ChromeOnly]
+  WindowGlobalChild getWindowGlobalChild();
 };
 
 Window implements TouchEventHandlers;
 
 Window implements OnErrorEventHandlerForWindow;
 
 #if defined(MOZ_WIDGET_ANDROID)
 // https://compat.spec.whatwg.org/#windoworientation-interface