Fwd: Splitting inner and outer windows

Gervase Markham gerv at mozilla.org
Tue Jan 26 09:48:00 UTC 2016

Hi Thunderbird team,

I take it you are aware of the below change? It has been suggested to me
that this will have significant impact on Thunderbird.


-------- Forwarded Message --------
Subject: Splitting inner and outer windows
Date: Thu, 21 Jan 2016 21:52:27 -0800
From: Kyle Huey <me at kylehuey.com>
To: dev-platform <dev-platform at lists.mozilla.org>
Newsgroups: mozilla.dev.platform

Early in the next release cycle I plan to land a patch that will remove
nsPIDOMWindow in favor of two separate types for inner and outer windows
(fittingly, called nsPIDOMWindowInner/nsPIDOMWindowOuter)  I'll also make
changes to the XPIDL interface hierarchy (effectively removing nsIDOMWindow
and introducing two new base interfaces for inner and outer windows) to
support this.  When the dust settles places that today use nsPIDOMWindow or
nsIDOMWindow will instead use a type that specifies, at compile time,
whether we have an inner or outer window.

The actual methods exposed on nsPIDOMWindow will be carried over in almost
all cases.  Splitting the interface itself, or nsGlobalWindow, apart will
happen later.

You can follow along in bug 1241764.

- Kyle

More information about the tb-planning mailing list