зеркало из https://github.com/mozilla/gecko-dev.git
09db278bed
The object could be a CCW here and we want to make it impossible to get a CCW's global. The first call here is equivalent to checking JS_IsGlobalObject and for the second one JS::CurrentGlobalOrNull(cx) preserves behavior because we wrapped the object into the current compartment. |
||
---|---|---|
.. | ||
base | ||
ipc | ||
test |