Commit Graph
4 Commits
Author SHA1 Message Date
Boris Zbarsky 685b646fa2 Bug 1507540 part 2. Use more notxpcom attributes in docshell/. r=smaug 2018-11-19 20:17:53 -05:00
Alphan Chen d1e58d4225 Bug 1497144 - Rewrite DocShellCapabilities.jsm and ScrollPosition.jsm into C++ r=nika
Differential Revision: https://phabricator.services.mozilla.com/D8083
2018-10-23 08:15:56 +00:00
Boris Zbarsky dae0cafc43 Bug 1477923. Make WebIDL callbacks store a global in addition to the object that's used as a callback. r=mccr8
We want to be able to enter the Realm we were in when the callback was created
before calling it, but if the callback stores a cross-compartment wrapper we
don't really have a good way to find that Realm.  So we store it explicitly by
storing a global when the callback is created.

The changes to the constructor signatures to use JSObject* instead of
JS::Handle<JSObject*> are so we can avoid having to root the global for these
calls.  These changes make two of the constructors ambiguous when nullptr is
being passed for the first arg; this patch adds casts to disambiguate.
2018-08-03 17:11:39 -04:00
Jan Henning 152d7804ea Bug 1456391 - Part 1: Move nsISessionStoreUtils to Toolkit. r=Nika
We want to use forEachNonDynamicChildFrame() on Android as well.

MozReview-Commit-ID: E4sJa6gbyuq
2018-04-24 21:52:46 +02:00