Commit Graph

24854 Commits

Author SHA1 Message Date
Bobby Holley
d550f0d79d Bug 658909 - Port tearoff-handling guts of GWNOJO to XPCCallContext and remove GWNOJO. r=mrbkap 2013-03-16 22:58:17 -07:00
Bobby Holley
874f086851 Bug 658909 - Remove GWNOJO from PreserveWrapper. r=mrbkap 2013-03-16 22:58:16 -07:00
Bobby Holley
d8cb9aeca4 Bug 658909 - Remove GWNOJO from AccessCheck. r=mrbkap 2013-03-16 22:58:16 -07:00
Bobby Holley
d0cd3ac168 Bug 658909 - Remove GWNOJO from nsXPConnect. r=mrbkap 2013-03-16 22:58:16 -07:00
Bobby Holley
3d757075f3 Bug 658909 - Remove GWNOJO from XPCVariant. r=mrbkap
The old code seems to be deciding whether we have a double-wrapped object by
checking _either_ the rv of GWNOJO _or_ the potential slim wrapper. This is
nonsensical, because double-wrapped objects are never slim wrappers.
Furthermore, that variable here is named 'proto', which further suggests
that this code is nonsensical. So let's just check for WNs.

Also, it seems pretty wack to be innerizing here before storing the jsval,
but I'm going to leave that for now.
2013-03-16 22:58:16 -07:00
Bobby Holley
8e8f39d378 Bug 658909 - Remove GWNOJO from XPCJSID. r=mrbkap 2013-03-16 22:58:15 -07:00
Bobby Holley
a8c785d855 Bug 658909 - Remove GWNOJO from JSValToXPCException. r=mrbkap 2013-03-16 22:58:15 -07:00
Bobby Holley
e2dd3437b4 Bug 658909 - Remove GWNOJO from JSObject2NativeInterface. r=mrbkap 2013-03-16 22:58:15 -07:00
Bobby Holley
5d5d5bcfac Bug 658909 - Remove GWNOJO for helper stubs. r=mrbkap 2013-03-16 22:58:15 -07:00
Bobby Holley
acebe495da Bug 658909 - Remove GWNOJO from MarkWrappedNative. r=mrbkap 2013-03-16 22:58:15 -07:00
Bobby Holley
d09761116c Bug 658909 - Add a new, much simpler API for getting WNs from JS objects. r=mrbkap 2013-03-16 22:58:15 -07:00
Bobby Holley
d18489beb3 Bug 658909 - Stop doing all the crazy stuff in GetWrappedNativeOfJSObject. r=mrbkap 2013-03-16 22:58:14 -07:00
Bobby Holley
0517579b24 Bug 658909 - Add a hack to support calling nohelper XPCWN methods without the proper |this|. r=mrbkap 2013-03-16 22:58:14 -07:00
Bobby Holley
6db2f10d4c Bug 658909 - Implement carefully-checked unwrapping in XPCCallContext. r=mrbkap 2013-03-16 22:58:14 -07:00
Bobby Holley
0ac4a08fc8 Bug 658909 - Set args at XPCCallContext construct time in XPC_WN_GetterSetter. r=mrbkap
It's not clear to me why it's done this way, but it confuses our ability to
determine during wrapper lookup whether we're doing a set or a get. This aligns
the behavior with XPC_WN_CallMethod, including passing JSID_VOID for the name
(which is safe because XPCCallContext explicitly special-cases JSID_VOID and
doesn't call SetName in that case).
2013-03-16 22:58:13 -07:00
Bobby Holley
3e05c5d01b Bug 658909 - Initialize the same fields in both XPCCallContext constructors. r=mrbkap
This is a huge footgun. XPCCallContext is hot, but it's not too hot to be safe
here. Garbage XPCWN and JSObject pointers are bad.
2013-03-16 22:58:13 -07:00
Bobby Holley
7d252db9d9 Bug 658909 - Remove unnecessary ccx param. r=mrbkap 2013-03-16 22:58:13 -07:00
Bobby Holley
98ec54a6bc Bug 658909 - Make isSafeToUnwrap pseudo-dynamic for SOWs. r=mrbkap
This can go away as soon as XBL scopes are no longer behind a pref.
2013-03-16 22:58:13 -07:00
Bobby Holley
b2282e03e7 Bug 658909 - Force |this| computation in SandboxCallableProxyHandler::call when using Xrays. r=bz
Comment says it all.
2013-03-16 22:58:12 -07:00
Daniel Holbert
fbb0c25aed Bug 848159: In jsopcode.cpp, cast formalIndex to be unsigned when comparing it against another unsigned value, since we've already asserted it's nonnegative. r=jandem 2013-03-16 21:38:06 -07:00
Bill McCloskey
bfa3037d1f Bug 759585 - Zones (r=jonco,bhackett,njn,dvander,luke,bz,mccr8,bholley) 2013-03-16 20:36:37 -07:00
Nicolas B. Pierron
6af702a0f4 Bug 849014 - Check type inference before optimizing regexp calls. r=sstangl 2013-03-16 20:05:46 -07:00
Norbert Lindenberg
10c5a08bbb Bug 837957 - Implement ICU dependent functions of Intl.Collator, Intl.NumberFormat, Intl.DateTimeFormat (part 4). r=jwalden
--HG--
extra : rebase_source : 0c6aaf4093c0c1f6bb6eb073d506378adf0c65ab
2013-03-16 16:39:58 -07:00
Jeff Walden
486c408fcc Bug 851673 - Assertion failure: v.isUndefined(), at jsarray.cpp. r=bholley
--HG--
extra : rebase_source : c898284ed6ec99afe15f4ea60af54282c544a3ac
2013-03-15 19:39:38 -07:00
Brian Hackett
cd22e5de54 Bug 836968 - Cache shapes for JSON objects and assign types to constructed JSON objects and arrays, r=waldo,jandem. 2013-03-16 16:52:45 -06:00
Phil Ringnalda
be75725f52 Merge inbound and m-c 2013-03-16 15:09:36 -07:00
Brian Hackett
1bef51ca40 Backout 04695ce03bb6 (bug 836968) for topcrashing on a CLOSED TREE 2013-03-16 15:57:39 -06:00
Hannes Verschore
be5012c1c0 Backed out changeset 9f39547cfab3 (bug 850534) for yarr crashes on a CLOSED TREE 2013-03-14 23:15:50 +01:00
Dave Hylands
dd5aa6e1b4 Bug 846670 - Initialize stackBase and stackSize properly for the main-thread when using bionic. r=billm 2013-03-13 16:31:15 -07:00
Terrence Cole
54f0aac3ac Bug 851107 - Skip invalid poisoning of inline chars in RegExpExecute; r=sfink
--HG--
rename : content/svg/content/src/SVGFEPointLightElement.cpp => content/svg/content/src/nsSVGFilters.cpp
rename : dom/mobilemessage/interfaces/nsIDOMNavigatorMobileMessage.idl => dom/mobilemessage/interfaces/nsIDOMNavigatorSms.idl
rename : dom/mobilemessage/interfaces/nsIDOMMobileMessageManager.idl => dom/mobilemessage/interfaces/nsIDOMSmsManager.idl
rename : dom/mobilemessage/src/MobileMessageManager.cpp => dom/mobilemessage/src/SmsManager.cpp
rename : dom/mobilemessage/src/MobileMessageManager.h => dom/mobilemessage/src/SmsManager.h
rename : layout/reftests/flexbox/flexbox-dyn-changeFrameWidth-4-iframe.html => layout/reftests/flexbox/flexbox-dyn-changeFrameWidth-1-iframe.html
rename : layout/reftests/flexbox/flexbox-dyn-changeFrameWidth-4-ref.xhtml => layout/reftests/flexbox/flexbox-dyn-changeFrameWidth-1-ref.xhtml
rename : layout/reftests/flexbox/flexbox-dyn-changeFrameWidth-4.xhtml => layout/reftests/flexbox/flexbox-dyn-changeFrameWidth-1.xhtml
extra : rebase_source : 802eba4a16cea37b5c573c2d87f4ca57bdcbd9e2
2013-03-15 15:35:16 -07:00
Jason Orendorff
699f50b893 Silence two GCC warnings. No bug#, rs=evilpie on IRC.
--HG--
extra : rebase_source : 55e76cdc123f673984602a324a6ea7c5e327c7de
2013-03-15 12:37:15 -07:00
Daniel Holbert
0d1377f7a3 Bug 849086: Remove unused *_CLASSNAME defines. r=bsmedberg 2013-03-15 10:52:10 -07:00
Jeff Walden
5b1111dc31 Bug 837957 - Remove the suppress-unused attribute from a bunch of functions that now have uses. r=trivial
--HG--
extra : rebase_source : fee0a5c45182407059812c2f5b5c03341de34fbd
2013-03-15 10:40:37 -07:00
Norbert Lindenberg
5e2831e792 Bug 837957 - Implement ICU dependent functions of Intl.Collator, Intl.NumberFormat, Intl.DateTimeFormat (part 3). r=jwalden
--HG--
extra : rebase_source : 2e0f9f61c23e8318133eca54c5f74e9b9a8cfff9
2013-03-15 10:37:39 -07:00
Norbert Lindenberg
9c3a5634ce Bug 837957 - Implement ICU dependent functions of Intl.Collator, Intl.NumberFormat, Intl.DateTimeFormat (part 2). r=jwalden
--HG--
extra : rebase_source : 4e248934ddd241284423b1d1e76957e65ca844ba
2013-03-15 10:09:33 -07:00
Norbert Lindenberg
5fe9dd3e01 Bug 837957 - Implement ICU dependent functions of Intl.Collator, Intl.NumberFormat, Intl.DateTimeFormat (part 1). r=jwalden
--HG--
extra : rebase_source : 78fb64fd73a1892736a399ea94f27c0990d8f041
2013-03-14 14:22:24 -07:00
Luke Wagner
26b31ecf0a Bug 840282 - OdinMonkey (sr=dmandelin)
--HG--
extra : rebase_source : 4a3869dca32755abb58bbd3d9a06599e61b397f2
2013-03-15 02:29:02 -07:00
Aryeh Gregor
a5c75c91bc Bug 801562 - Remove Node.isSupported; r=bz
--HG--
rename : content/svg/content/test/test_isSupported.xhtml => content/svg/content/test/test_hasFeature.xhtml
2013-03-15 12:21:52 +02:00
Makoto Kato
6b8bd5e0d5 Bug 837598 - cannot build WebRTC for Linux/arm. r=glandium 2013-03-15 11:50:17 +09:00
Gene Lian
1aab17284e Bug 844431 - B2G MMS: provide nsIDOMMobileMessageManager interface (with sendMMS() first) (part 6, dispatch MMS events). r=vicamo,mounir sr=sicking a=leo+ 2013-03-09 15:22:42 +08:00
Gene Lian
9fe417700a Bug 844431 - B2G MMS: provide nsIDOMMobileMessageManager interface (with sendMMS() first) (part 4-2, nsIMmsService.send()). r=vicamo a=leo+ 2013-03-09 15:22:25 +08:00
Gene Lian
af36186707 Bug 844431 - B2G MMS: provide nsIDOMMobileMessageManager interface (with sendMMS() first) (part 3-1, s/nsISmsRequest/nsIMobileMessageCallback). r=vicamo a=leo+
--HG--
rename : dom/mobilemessage/interfaces/nsISmsRequest.idl => dom/mobilemessage/interfaces/nsIMobileMessageCallback.idl
2013-03-09 15:22:02 +08:00
Gene Lian
3e9ced94a8 Bug 844431 - B2G MMS: provide nsIDOMMobileMessageManager interface (with sendMMS() first) (part 2, nsIDOMMozMmsMessage). r=vicamo,mounir,mrbkap sr=sicking a=leo+ 2013-03-09 15:21:55 +08:00
Bobby Holley
876133f6c7 Bug 850517 - Support named window access via Xray. r=mrbkap 2013-03-14 22:38:26 -07:00
Paul Adenot
cd51bc591a Bug 850713 - Bump the required NDK version to 9. r=blassey.bugs,mh+mozilla 2013-03-15 16:28:07 +13:00
Luke Wagner
cc246bf97f Bug 837011 - CallCompiler should return 'true' because it doesn't throw an exception (r=dvander)
--HG--
extra : rebase_source : 326ad9707d64db437d0a7dddfef9bbffbb59038e
2013-03-14 21:28:10 -07:00
Phil Ringnalda
69c6475c27 Back out 0044e4c2dc53 (bug 851149), 3080f18ba53d (bug 698328), 0b147c3f682b (bug 850713) for Android bustage
CLOSED TREE
2013-03-14 21:19:40 -07:00
Paul Adenot
327a511bd4 Bug 850713 - Bump the required NDK version to 9. r=blassey.bugs,mh+mozilla
--HG--
extra : rebase_source : d6886dcfe87747e77c3828289b1184a58e6a0c09
2013-03-15 16:28:07 +13:00
Brian Hackett
64350badac Bug 836968 - Cache shapes for JSON objects and assign types to constructed JSON objects and arrays, r=waldo,jandem. 2013-03-14 05:18:47 -06:00
Luke Wagner
dd21571818 Bug 850548 - fix ion::StackAlignment value on non-GNU (r=dvander)
--HG--
extra : rebase_source : 424e4aa6cdd104b0c7f47b9c6495f45c770d155f
2013-03-13 20:59:51 -07:00