Bobby Holley
f2b9845ecb
Bug 1065811 - Track Xray waivers with CPOWs. r=billm
2014-09-25 13:13:29 +02:00
Bobby Holley
4088e55174
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
35fa24ed09
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
0432f88162
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
Jason Orendorff
efb6814c98
Bug 1065507, part 3 - Remove special support for js_GetterOnlyPropertyStub from js/ipc.
2014-09-10 12:54:20 -05:00
Chris Peterson
def5e6780e
Bug 1063962 - Replace jschar typedef with C++11 char16_t type. r=jandem
2014-07-21 21:43:21 -07:00
Jon Coppeard
bc23226f38
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
Bill McCloskey
bf1858c76c
Bug 1051127 - Add an env var for CPOW logging (r=mrbkap)
2014-08-20 13:01:32 -07:00
Bill McCloskey
219eb6cb82
Bug 1052093 - Child->parent CPOWs should go through COWs in the parent for security (r=bholley)
2014-08-20 12:49:10 -07:00
Bobby Holley
0270bcaf23
Bug 1052089 - Rename JunkScope to PrivilegedJunkScope and remove fallibility of singleton scope access. r=billm
...
These two things ended up getting mushed together in my tree.
2014-08-18 10:57:30 -07:00
Jon Coppeard
04b6fb5783
Bug 1052388 - Rename JS_CallHeapFooTracer() functions to JS_CallFooTracer() r=terrence r=smaug
2014-08-13 10:05:22 +01:00
Jan de Mooij
1fd3719a70
Bug 1034689 part 3 - Fix remaining places in Gecko to handle Latin1 strings. r=bz
2014-07-12 09:43:08 +02:00
Jan de Mooij
1d6a780efe
Bug 1034191 - Make nsDependentJSString users work with Latin1 strings and nursery-allocated strings. r=bz
2014-07-05 17:30:54 +02:00
Tom Schuster
14dc944888
Bug 957742 - Logging for CPOWs (r=mrbkap)
2014-05-28 18:05:22 -07:00
Bill McCloskey
130104123e
Bug 996785 - Fix CPOW wrapping and compartment ownership (r=mrbkap)
2014-05-16 16:40:37 -07:00
Bill McCloskey
6582876747
Bug 996785 - Bidirectional CPOWs (r=mrbkap)
2014-05-16 16:40:37 -07:00
Bill McCloskey
648513711d
Bug 996785 - Distinguish local and remote CPOW objects in IPDL (r=mrbkap)
2014-05-16 16:40:36 -07:00
Bill McCloskey
94e25e7956
Bug 996785 - Use more descriptive IPDL types for CPOW value variants (r=mrbkap)
2014-05-16 16:40:36 -07:00
Bill McCloskey
6f8d4ab2d7
Bug 996785 - Move CPOW wrapper answering code (r=mrbkap)
2014-05-16 16:40:36 -07:00
Bill McCloskey
9af6eef5a8
Bug 996785 - Use separate maps for local and remote CPOW objects (r=mrbkap)
2014-05-16 16:40:36 -07:00
Bill McCloskey
b07848079e
Bug 996785 - Rename CPOW makeId/unwrap (r=mrbkap)
2014-05-16 16:40:35 -07:00
Bill McCloskey
50900210f8
Bug 996785 - Rename CPOW toValue (r=mrbkap)
2014-05-16 16:40:35 -07:00
Bill McCloskey
b84b86c8ce
Bug 996785 - Rename CPOW object map (r=mrbkap)
2014-05-16 16:40:35 -07:00
Jon Coppeard
d67f0ed243
Bug 959787 - Handlify remaining JS APIs r=terrence r=bz r=bholley
2014-04-30 10:10:33 +01:00
Rodrigo Rodriguez Jr.
fd3acee3e0
Bug 952650 (part 9) - Remove JSVAL_IS_INT. r=njn.
2014-04-27 19:47:02 -07:00
Jon Coppeard
fe19032029
Bug 959787 - Handlify remaining JS APIs r=sfink r=bholley r=smaug
2014-04-02 15:28:03 +01:00
Luke Wagner
05c3cb3e42
Bug 797126 - Remove tinyid/shortid/userid (r=terrence)
2014-02-21 10:24:26 -06:00
Chris Peterson
5c6dc9f533
Bug 712873 - Part 2: Replace JS_ASSERT with MOZ_ASSERT outside js/src/ directory. r=luke
2014-02-17 22:24:15 -08:00
Daniel Holbert
89c63da190
back out 3a8893b28489 (bug 712939) and 39adab158c17,16add78c43e3,37193db7e15b (bug 712873), for build bustage.
2014-02-19 00:15:51 -08:00
Chris Peterson
78d21332df
Bug 712873 - Part 2: Replace JS_ASSERT with MOZ_ASSERT outside js/src/ directory. r=luke
2014-02-17 22:24:15 -08:00
Jon Coppeard
5fa52992d8
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
Terrence Cole
fb06b8575f
Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 4; r=sfink,r=bz
2014-01-17 10:08:51 -08:00
Terrence Cole
5403e658ff
Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 3; r=sfink
2014-01-16 09:48:58 -08:00
Jeff Walden
49bc3140ce
Bug 940033 - js::HashMapEntry::{key,value} fields should be private, with accessors, and the former should expose a const reference. r=jimb
2013-11-25 17:35:09 -08:00
Jon Coppeard
931cfaebb1
Bug 934442 - Defer finalization of object ID table until after minor GC r=terrence
2013-11-18 17:21:43 +00:00
Tom Schuster
581e784f12
Bug 933834 - Rename and handlify JS_ValueToString. r=terrence,bz
2013-11-16 13:31:36 +01:00
Ms2ger
c64c57fcbf
Backout changesets ded0d64f6786:03f041d03f24 and 30cbd1abde1a (bug 935696, bug 933834 and bug 939194) for build bustage.
2013-11-17 16:39:25 +01:00
Tom Schuster
ebd0246750
Bug 933834 - Rename and handlify JS_ValueToString. r=terrence,bz
2013-11-16 13:31:36 +01:00
Tom Schuster
b6ee9f1bce
Bug 8844105 - Handlify JS_WrapObject. r=terrence
2013-10-15 20:02:23 -04:00
Steve Fink
37e60e9737
Bug 925534 - Convert toVariant to use handles, r=terrence
2013-10-11 22:02:24 -07:00
Jon Coppeard
48c9976453
Bug 912567 - Split HashMap/HashSet::rekey() into rekey() and rekeyIfMoved() r=terrence
2013-09-24 10:03:32 +01:00
Birunthan Mohanathas
49598e3eb0
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
Terrence Cole
52775ce274
Bug 908891 - Fix remaining exact rooting hazards in js/ipc; r=evilpie
2013-08-23 15:53:46 -07:00
Terrence Cole
f3b496ba3b
Bug 862115 - Use Rooted<JSPropertyDescriptor> in favor of JSPropertyDescriptor::AutoRooter r=terrence r=smaug r=bholley
2013-04-30 10:29:40 -07:00
Nicholas Nethercote
f7d6f07d24
Bug 898914 (part 1) - Remove JSBool.
2013-08-08 15:53:04 -07:00
Nicholas Nethercote
f30b759645
Bug 902332 - Replace JS_{FALSE,TRUE} with {false,true} almost everywhere. r=luke,bz.
2013-08-06 23:59:54 -07:00
Terrence Cole
7edcc85b2d
Bug 902249 - Fix some exact rooting hazards in js/ipc; r=jonco
2013-08-07 16:15:57 -07:00
Jon Coppeard
c8ebdc1978
Bug 899970 - Post barrier heap pointers in js/ipc r=terrence
2013-08-01 11:21:44 +01:00
Jon Coppeard
775f06b442
Bug 897484 - GC: Convert JS_GetProperty APIs to take MutableHandleValue r=terrence r=bholley r=smaug
2013-07-26 10:00:38 +01:00
Carsten "Tomcat" Book
beb4a5c20d
Backed out changeset ae8d72538dee (bug 897484) for b2g bustage
2013-07-26 12:34:25 +02:00