Bug 1416384 (https://bugzilla.mozilla.org/show_bug.cgi?id=1416384) has
landed on central now, and it completely removes nsGlobalWindow in favour
of the new nsGlobalWindow{Inner,Outer} classes.

There is still plenty of code cleanup to do, but the type split itself is
now complete. If you need help rebasing your patches after this change let
me know.

Use of the AsInner() and AsOuter() methods should now be unnecessary, as
nsPIDOMWindow{Inner,Outer} and mozIDOMWindow{,Proxy} are now proper base
classes and can be implicitly cast to. They remain in the code as most
callers have not been changed yet.

Thanks,
Nika

On Nov 10, 2017 11:41 AM, "Nika Layzell" <[email protected]> wrote:

> Hey,
>
> Bug 1414974 (https://bugzilla.mozilla.org/show_bug.cgi?id=1414974) is in
> mozilla-central, and it introduces the nsGlobalWindowInner and
> nsGlobalWindowOuter types. These represent inner and outer nsGlobalWindow
> objects, and can be cast from the nsPIDOMWindowInner/Outer objects using
> nsGlobalWindowInner/Outer::Cast.
>
> Please avoid introducing new code which uses nsGlobalWindow directly,
> instead using the specific types, as it is going away soon™.
>
> Thanks!
> Nika
>
_______________________________________________
dev-platform mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to