gecko-dev/js/xpconnect/wrappers
Jan de Mooij 456e577517 Bug 1483869 part 4 - Make wrappers work correctly with bound functions. r=iain,peterv
Now that bound functions use a `JSClass` that's not `JSFunction`, we need to give
them a `JSProtoKey` to make (xray) wrapper calls work. This fixes a lot of xpcshell
and browser test failures.

The old implementation used `JSProto_Function`. This patch adds `JSProto_BoundFunction`
and (as much as possible) tries to use the same code paths for it.

Differential Revision: https://phabricator.services.mozilla.com/D170568
2023-02-27 13:05:43 +00:00
..
AccessCheck.cpp
AccessCheck.h
ChromeObjectWrapper.cpp
ChromeObjectWrapper.h
FilteringWrapper.cpp Bug 1817310 - Make js/xpconnect/wrappers buildable outside of a unified build environment r=andi 2023-02-19 21:40:37 +00:00
FilteringWrapper.h
moz.build Bug 1817310 - Make js/xpconnect/wrappers buildable outside of a unified build environment r=andi 2023-02-19 21:40:37 +00:00
WaiveXrayWrapper.cpp Bug 1760844 part 1 - Remove hasInstance proxy trap. r=iain,peterv,robwu 2022-04-04 15:09:29 +00:00
WaiveXrayWrapper.h Bug 1760844 part 1 - Remove hasInstance proxy trap. r=iain,peterv,robwu 2022-04-04 15:09:29 +00:00
WrapperFactory.cpp Bug 1483869 part 4 - Make wrappers work correctly with bound functions. r=iain,peterv 2023-02-27 13:05:43 +00:00
WrapperFactory.h Bug 1726039 - Disallow setting private fields on MaybeCrossOrigin objects (HostEnsureCanPrivateElementAdd) r=peterv,jandem 2022-10-26 21:53:36 +00:00
XrayWrapper.cpp Bug 1483869 part 4 - Make wrappers work correctly with bound functions. r=iain,peterv 2023-02-27 13:05:43 +00:00
XrayWrapper.h Bug 1483869 part 4 - Make wrappers work correctly with bound functions. r=iain,peterv 2023-02-27 13:05:43 +00:00