Commit Graph

39 Commits

Author SHA1 Message Date
Jon Coppeard
53f8300f7e Bug 1165054 - Fix inbound bustage due to missing explicit on single arg constructor r=me 2015-07-15 11:27:27 +01:00
Jon Coppeard
aacda4f6e2 Bug 1165054 - Add API to clear postbarrier callbacks and use it when CPOW tables are destroyed r=terrence 2015-07-15 10:22:04 +01:00
Andrea Marchesini
a4369a04c4 Bug 1156632 - Remove unused forward class declarations - patch 7 - JS, r=sfink 2015-04-22 08:29:26 +02:00
Jan de Mooij
b8b1677f0f Bug 1144366 - Switch SpiderMonkey and XPConnect style from |T *t| to |T* t|. r=jorendorff 2015-03-28 23:22:11 +01:00
Phil Ringnalda
c8a25251c1 Backed out changeset 0c030f97a04f (bug 1144366) for being on top of patches being backed out
CLOSED TREE
2015-03-28 10:39:56 -07:00
Jan de Mooij
8d6d44ecb8 Bug 1144366 - Switch SpiderMonkey and XPConnect style from |T *t| to |T* t|. r=jorendorff 2015-03-28 12:08:37 +01:00
Bill McCloskey
2f3d90830b Bug 1123461 - Make a real interface for js/ipc (r=dvander) 2015-01-26 13:32:18 -08:00
Bill McCloskey
5c867be0e8 Bug 1119753 - Fix CPOW GC crash (r=jonco) 2015-01-16 09:56:30 -08:00
Bill McCloskey
3b3399bdc4 Bug 1077587 - Handle non-existent properties in CPOW descriptor code (r=mrbkap) 2014-10-20 09:47:27 -07:00
Tom Schuster
07191c41f8 Bug 1071177 - Add support for well-known and registered symbols as CPOW jsids. r=billm,jorendorff 2014-10-07 11:29:03 +02:00
Tom Schuster
eec11c26a0 Bug 1071177 - Introduce JSIDVariant type for CPOWs. r=billm 2014-10-07 11:29:02 +02:00
Andrew McCreight
9d6136ff7b Bug 1073597, part 3 - Lazify creation of the CPOW manager in CpowIdHolder. r=billm 2014-10-06 15:45:42 -07:00
Bobby Holley
8e8a7d28c3 Bug 1065811 - Track Xray waivers with CPOWs. r=billm 2014-09-25 13:13:29 +02:00
Bobby Holley
8b65a1f10b Bug 1065811 - Clean up ObjectId handling with static type checking. r=billm
While adding the CPOW flag for xray waivers, I discovered a bunch of
inconsistency and sloppiness with respect to our handling of object ids,
and a general lack of clarity about when the id included flags or not. Given
the fact that I'm removing static callability for CPOWs, we _could_ just get
rid of the flags, and store the xray waiver state on the answer-side only. But
I eventually decided that these kinds of flags (which are accessible to both
the Answer _and_ the Owner) had enough potential utility that they were worth
cleaning up.

It's worth noting that that utility comes with the large caveat that the flags
can't be trusted for security-sensitive decisions (at least in the parent->child
case), since they could be forged by a compromised child.
2014-09-25 13:13:29 +02:00
Jon Coppeard
132fb38dd4 Bug 650161 - Unify the finalization and moving GC callbacks into a weak pointer update callback r=terrence r=bholley 2014-09-24 12:54:11 +01:00
Bobby Holley
2a5e5e2d96 Bug 1052096 - Move CPOW targets into the privileged/unprivileged junk scope of the child/parent. r=billm 2014-09-12 17:41:18 -07:00
Jon Coppeard
fbd9cb9af7 Bug 650161 - Add moving GC callback and use it to fix up ipc CPOW tables r=terrence 2014-09-02 11:07:22 +02:00
Ehsan Akhgari
ddca1158ca Bug 1060988 - Fix more bad implicit constructors in JS IPC code; r=billm 2014-08-31 21:10:16 -04:00
Bill McCloskey
14b0872617 Bug 1052093 - Child->parent CPOWs should go through COWs in the parent for security (r=bholley) 2014-08-20 12:49:10 -07:00
Tom Schuster
8f9489bd37 Bug 957742 - Logging for CPOWs (r=mrbkap) 2014-05-28 18:05:22 -07:00
Bill McCloskey
b41a921d12 Bug 996785 - Fix CPOW wrapping and compartment ownership (r=mrbkap) 2014-05-16 16:40:37 -07:00
Bill McCloskey
b4170c4e66 Bug 996785 - Bidirectional CPOWs (r=mrbkap) 2014-05-16 16:40:37 -07:00
Bill McCloskey
c9f2d3779d Bug 996785 - Distinguish local and remote CPOW objects in IPDL (r=mrbkap) 2014-05-16 16:40:36 -07:00
Bill McCloskey
60d6a2696c Bug 996785 - Use separate maps for local and remote CPOW objects (r=mrbkap) 2014-05-16 16:40:36 -07:00
Bill McCloskey
42b76f44bb Bug 996785 - Rename CPOW makeId/unwrap (r=mrbkap) 2014-05-16 16:40:35 -07:00
Bill McCloskey
29e7a9ce1d Bug 996785 - Rename CPOW toValue (r=mrbkap) 2014-05-16 16:40:35 -07:00
Bill McCloskey
2c11e044b8 Bug 996785 - Rename CPOW findObject (r=mrbkap) 2014-05-16 16:40:35 -07:00
Bill McCloskey
24e43dd8ca Bug 996785 - Rename CPOW object map (r=mrbkap) 2014-05-16 16:40:35 -07:00
Jon Coppeard
37488975e6 Bug 961095 - Improve generic callbacks with better typing, and by only adding storebuffer entries when the key is in the nursery r=terrence 2014-01-21 10:44:39 +00:00
Jon Coppeard
4ec61f2db9 Bug 934442 - Defer finalization of object ID table until after minor GC r=terrence 2013-11-18 17:21:43 +00:00
Tom Schuster
1faae39271 Bug 8844105 - Handlify JS_WrapObject. r=terrence 2013-10-15 20:02:23 -04:00
Steve Fink
78c2facbb2 Bug 925534 - Convert toVariant to use handles, r=terrence
--HG--
extra : rebase_source : b7b2a6d8b0240b888ba388133376ddcb4d6d04ce
2013-10-11 22:02:24 -07:00
Birunthan Mohanathas
578826a89e Bug 784739 - Switch from NULL to nullptr in js/ductwork/, js/ipc/, and js/public/; r=ehsan 2013-09-19 15:24:53 -04:00
Nicholas Nethercote
2585de9a07 Bug 905017 (part 1) - Minimize inclusions of JS engine headers in .h and .idl files. r=billm.
--HG--
extra : rebase_source : 984c61ab12f46be0509b1ce0d458d9a6e5841c64
2013-08-17 15:50:18 -07:00
Terrence Cole
09de524f1a Bug 862115 - Use Rooted<JSPropertyDescriptor> in favor of JSPropertyDescriptor::AutoRooter r=terrence r=smaug r=bholley 2013-04-30 10:29:40 -07:00
Terrence Cole
9b5d03d305 Bug 902249 - Fix some exact rooting hazards in js/ipc; r=jonco 2013-08-07 16:15:57 -07:00
Jon Coppeard
95ba75cb0a Bug 899970 - Post barrier heap pointers in js/ipc r=terrence 2013-08-01 11:21:44 +01:00
David Anderson
9358336f75 Implement CPOW support in MessageManager (bug 870180, r=smaug,billm). 2013-07-10 15:05:39 -07:00
David Anderson
71e7bc4fc9 Rewrite CPOWs to use one actor per process (bug 853209, r=billm,bholley,smaug). 2013-07-03 00:24:32 -07:00