gecko-dev/js/ipc
Jan de Mooij f480e9ecdf Bug 1237504 - Refactor proxy slot layout to allow proxies to have more than 2 slots. r=bz,jonco
The patch makes the following proxy changes:

* The number of slots in ProxyValueArray is now dynamic and depends on the number of reserved slots we get from the Class.
* "Extra slots" was renamed to "Reserved slots" to make this clearer.
* All proxy Classes now have 2 reserved slots, but it should be easy to change that for proxy Classes that need more than 2 slots.
* Proxies now store a pointer to these slots and this means GetReservedSlot and SetReservedSlot can be used on proxies as well. We no longer need GetReservedOrProxyPrivateSlot and SetReservedOrProxyPrivateSlot.

And some changes to make DOM Proxies work with this:

* We now store the C++ object in the first reserved slot (DOM_OBJECT_SLOT) instead of in the proxy's private slot. This is pretty nice because it matches what we do for non-proxy DOM objects.
* We now store the expando in the proxy's private slot so I removed GetDOMProxyExpandoSlot and changed the IC code to get the expando from the private slot instead.
2017-04-28 14:12:28 +02:00
..
CPOWTimer.cpp Bug 1283855 part 21 - Make performance monitoring APIs take JSContext instead of JSRuntime. r=Yoric 2016-07-06 16:53:50 +02:00
CPOWTimer.h Bug 1201190 - Part 3: Mark every consumer of GUARD_OBJECT as MOZ_RAII, r=ehsan 2015-09-12 16:53:33 -04:00
CpowHolder.h
CrossProcessObjectWrappers.h Bug 1330018 - Ensure we always unwrap CpowEntries. r=bholley,billm 2017-01-13 13:50:35 -08:00
JavaScriptBase.h Bug 1314254 - Add mozilla::ipc::IPCResult type and convert IPDL handlers to use new return type. r=billm 2016-11-15 04:26:00 +01:00
JavaScriptChild.cpp Bug 1341044 - Rename the GC's 'zone group' concept to 'sweep group' r=sfink 2017-03-22 17:30:50 +00:00
JavaScriptChild.h Bug 1314254 - Add mozilla::ipc::IPCResult type and convert IPDL handlers to use new return type. r=billm 2016-11-15 04:26:00 +01:00
JavaScriptLogging.h Bug 1060419 - make AppendPrintf and nsPrintfCString use Printf.h, r=froydnj 2016-12-14 09:32:21 -07:00
JavaScriptParent.cpp Bug 1332245 - Move nsScriptError from js/xpconnect to dom/bindings. r=bz 2017-01-28 00:42:47 +09:00
JavaScriptParent.h Bug 1311212 - Add dead CPOW debugging facility (r=mrbkap) 2016-10-19 16:26:23 -07:00
JavaScriptShared.cpp Bug 1352430 - Add barrier to CPOWs table to remove dying objects r=billm 2017-04-26 11:18:53 +01:00
JavaScriptShared.h Bug 1352430 - Add barrier to CPOWs table to remove dying objects r=billm 2017-04-26 11:18:53 +01:00
JavaScriptTypes.ipdlh Bug 1249698 - Use parent stack instead of vanished child stack. r=billm 2016-07-26 18:30:42 +08:00
PJavaScript.ipdl Bug 1311212 - Add dead CPOW debugging facility (r=mrbkap) 2016-10-19 16:26:23 -07:00
WrapperAnswer.cpp Bug 1359245 - Eliminate nsXPConnect::GetContextInstance() (r=mccr8) 2017-04-27 15:34:46 -07:00
WrapperAnswer.h Bug 1292892 part 7 - Remove unnecessary JSContext arguments from IPC classes. r=bz 2016-08-11 14:39:23 +02:00
WrapperOwner.cpp Bug 1237504 - Refactor proxy slot layout to allow proxies to have more than 2 slots. r=bz,jonco 2017-04-28 14:12:28 +02:00
WrapperOwner.h Bug 1345177 - Remove use of RegExpGuard r=sfink 2017-03-27 10:38:29 +01:00
moz.build Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00