mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 01:05:45 +00:00
ddaf859c55
This also introduces JS::GetObjectRealmOrNull, which returns an object's realm, or null if the object is a cross-compartment wrapper. In the new order, wrappers can't have realms, since they must be shared across all realms in a compartment. We're introducing this new function early (even though it's *currently* possible to assign a realm to wrappers) in order to see in advance if the possibility of returning null will cause problems. (It looks like it won't.) --HG-- extra : rebase_source : e55ebbbc4edf2a18ce267198928246592060e339 extra : source : d6bfce1187aa13dbfab03f9566ff7b05b6705e70 |
||
---|---|---|
.. | ||
crashtests | ||
idl | ||
loader | ||
public | ||
shell | ||
src | ||
tests | ||
wrappers | ||
moz.build |