Ehsan Akhgari
ea41d8de48
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Blake Kaplan
8716b0e94b
Bug 1134006 - Avoid IPC for domElement.QueryInterface(nsISupports) and nsIClassInfo. r=billm
2015-03-10 14:36:01 -07:00
Carsten "Tomcat" Book
e2036990c0
Backed out changeset 6c7ebb2f5a92 (bug 1134006) for bustage
2015-03-10 12:37:24 +01:00
Blake Kaplan
1c37b8a905
Bug 1134006 - Avoid IPC for domElement.QueryInterface(nsISupports) and nsIClassInfo. r=billm
2015-03-09 15:01:00 +01:00
Boris Zbarsky
c30fbd4b93
Bug 1140573 part 1. Drop the parent argument from JS_NewFunction. r=waldo
2015-03-09 12:50:03 -04:00
Jason Orendorff
7fdeaf63be
Bug 1113369, part 7 - [[SetPrototypeOf]] ObjectOpResult support. r=Waldo, r=bz in dom, r=dvander in js/ipc, r=bholley in js/xpconnect.
2015-02-05 16:36:50 -06:00
Jason Orendorff
6e6ba315a5
Bug 1113369, part 6 - [[PreventExtensions]] ObjectOpResult support. r=Waldo, r=bz in dom, r=dvander in js/ipc, r=bholley in js/xpconnect.
2015-02-04 12:01:01 -06:00
Jason Orendorff
20beb2cc48
Bug 1113369, part 5 - [[Delete]] ObjectOpResult support. r=Waldo, r=bz in dom, r=dvander in js/ipc, r=bholley in js/xpconnect.
2015-02-04 10:20:04 -06:00
Jason Orendorff
b180889659
Bug 1113369, part 4 - [[Set]] ObjectOpResult support. r=Waldo, r=bz in dom, r=dvander in js/ipc, r=bholley in js/xpconnect.
2015-02-03 19:51:40 -06:00
Jason Orendorff
1d3bb8fb3d
Bug 1113369, part 3 - [[DefineOwnProperty]] ObjectOpResult support. r=Waldo, r=bz in dom, r=dvander in js/ipc, r=bholley in js/xpconnect.
...
Add an ObjectOpResult out-param for DefineProperty functions everywhere. We leave a few js::DefineProperty() convenience functions with no *result out-param. These have strict behavior: that is, they automatically check the result and throw if it is false. In bug 1125624 these strict signatures may end up being called DefinePropertyOrThrow, as that is what the spec calls it.
2015-01-30 11:37:07 -06:00
Boris Zbarsky
316d6bea29
Bug 1136925 part 3. Stop passing parents to js::NewProxyObject. r=waldo
2015-02-26 15:58:59 -05:00
Wes Kocher
64ff21e8a1
Backed out 4 changesets (bug 1136925) for potentially busting m-e10s-dt on a CLOSED TREE
...
Backed out changeset 331761aaae22 (bug 1136925)
Backed out changeset 2faa0e91fe23 (bug 1136925)
Backed out changeset a00f2530c911 (bug 1136925)
Backed out changeset d5e658bc0792 (bug 1136925)
2015-02-26 23:17:34 -08:00
Boris Zbarsky
c3a0cd16a1
Bug 1136925 part 3. Stop passing parents to js::NewProxyObject. r=waldo
2015-02-26 15:58:59 -05:00
Gabor Krizsanits
1f68802408
Bug 1090592 - GetPrototypeOf hook for CPOWProxyHandler. r=billm
2015-02-10 16:29:41 +01:00
Bill McCloskey
15acb49389
Bug 1119753 - Fix CPOW GC crash (r=jonco)
2015-01-16 09:56:30 -08:00
Bill McCloskey
6692cf68db
Bug 1102640 - [e10s] Shouldn't be able to create CPOWs to the inner window (r=mrbkap)
2014-12-18 17:34:24 -08:00
Tom Schuster
0960601db8
Bug 1094176 - Remove lookup API from browser. r=bholley
2014-12-17 00:28:39 +01:00
Tom Schuster
147cbd415a
Bug 783829 - Remove getEnumerablePropertyKeys. r=efaust,bholley
2014-12-17 00:28:38 +01:00
Tom Schuster
a3bf7d8937
Bug 783829 - Change from Proxy iterate to enumerate. r=efaust,bholley
2014-12-17 00:28:38 +01:00
Brad Lassey
f8c1d4e449
bug 1074567 - measure time spent processing in sync CPOW calls per compartment r=bholley,billm
...
* * *
try: -b do -p linux64-b2g-haz -u none
2014-11-19 18:54:34 -05:00
Tom Schuster
892aa58156
Bug 783829 - Rename Proxy enumerate trap to getEnumerablePropertyKeys. r=efaust
2014-11-14 16:21:12 +01:00
Bill McCloskey
73522ebaf2
Bug 1091964 - Avoid spurious rooting hazard on a CLOSED TREE
2014-11-05 17:52:38 -08:00
Bill McCloskey
ad2449d2f1
Bug 1091970 - [e10s] Cache object tag in add-on shims for remote objects (r=mrbkap)
2014-11-04 17:40:08 -08:00
Bill McCloskey
e4c6f4d046
Bug 1091964 - [e10s] Cache isCallable and isConstructor for CPOWs (r=mrbkap)
2014-11-04 17:39:34 -08:00
Carsten "Tomcat" Book
7824d7d4a9
Backed out changeset 5992aea01aff (bug 1091964)
2014-11-05 10:03:06 +01:00
Carsten "Tomcat" Book
65ff9ec37a
Backed out changeset 38ca6211d1d4 (bug 1091970)
2014-11-05 10:02:59 +01:00
Bill McCloskey
ee03351fcd
Bug 1091970 - [e10s] Cache object tag in add-on shims for remote objects (r=mrbkap)
2014-11-04 17:40:08 -08:00
Bill McCloskey
8eeffe9d73
Bug 1091964 - [e10s] Cache isCallable and isConstructor for CPOWs (r=mrbkap)
2014-11-04 17:39:34 -08:00
Jeff Walden
33ab4b19be
Bug 1052139 - Reorder the preventExtensions trap just after the [[Prototype]]-access traps. r=code-motion
2014-10-21 11:40:04 -07:00
Jeff Walden
7eab2a3226
Bug 1085566 - Make the preventExtensions hook return succeeded/failed rather than always indicate failure by reporting an error. r=efaust
2014-10-19 01:18:43 -07:00
Carsten "Tomcat" Book
77dee816cc
Backed out changeset 9e900e87b4bb (bug 1085566)
2014-10-22 08:59:09 +02:00
Carsten "Tomcat" Book
6b7490c4d7
Backed out changeset 4eee647a5bd4 (bug 1052139)
2014-10-22 08:59:05 +02:00
Jeff Walden
5ca615d0c4
Bug 1052139 - Reorder the preventExtensions trap just after the [[Prototype]]-access traps. r=code-motion
2014-10-21 11:40:04 -07:00
Jeff Walden
58c90aac1c
Bug 1085566 - Make the preventExtensions hook return succeeded/failed rather than always indicate failure by reporting an error. r=efaust
2014-10-19 01:18:43 -07:00
Jason Orendorff
74f6308ca4
Bug 1081280 - Rename BaseProxyHandler::keys -> getOwnEnumerablePropertyKeys. r=efaust.
2014-10-08 22:01:55 -05:00
Jason Orendorff
5fa7cf9d3a
Bug 1081255 - Rewrite comments in jsproxy.h; reclassify the methods a bit. No change in behavior. r=efaust, r=bz, r=jwalden.
2014-10-08 12:09:08 -05:00
Tom Schuster
b22d3e39c2
Bug 1071177 - Support symbol keys and throw exception on unique symbols with CPOWs. r=billm
2014-10-16 18:39:38 +02:00
Jason Orendorff
6edb7ff2c9
Bug 1026918, part 3 - Rename mozilla::jsipc::PJavaScript::GetPropertyNames -> GetPropertyKeys. r=billm.
2014-09-26 19:52:45 -05:00
Jason Orendorff
5823a20a9a
Bug 1026918, part 1 - Rename BaseProxyHandler::getOwnPropertyNames -> ownPropertyKeys to match the ES6 [[OwnPropertyKeys]] internal method. r=efaust, r=bz.
...
Also renamed in this patch:
ENUMERATE_IF_DEFINED -> ADD_KEYS_IF_DEFINED
XrayEnumerateAttributesOrMethods -> XrayAttributeOrMethodKeys
XrayEnumerateNativeProperties -> XrayOwnNativePropertyKeys
XrayEnumerateProperties -> XrayOwnPropertyKeys
WrapperOwner::getPropertyNames -> getPropertyKeys
These make sense because JSITER_* flags are involved; the functions in
question are not for finding enumerable properties only.
2014-09-26 15:16:36 -05:00
Bill McCloskey
e50f512e2a
Bug 1049879 - Remove urgent and rpc message types and replace with message priorities (r=dvander,bent,ehsan)
2014-10-07 21:32:45 -07:00
Carsten "Tomcat" Book
bb279bb4db
Backed out changeset e56bf4ea89fb (bug 1049879) for bustage in emulator debug builds on a CLOSED TREE
2014-10-08 08:03:57 +02:00
Bill McCloskey
17d3a90266
Bug 1049879 - Remove urgent and rpc message types and replace with message priorities (r=dvander,bent,ehsan)
2014-10-07 21:32:45 -07:00
Tom Schuster
37f7f44bd6
Bug 1071177 - Introduce JSIDVariant type for CPOWs. r=billm
2014-10-07 11:29:02 +02:00
Nicolas B. Pierron
cb753ff627
Bug 1074911 - Replace JS_ASSERT by MOZ_ASSERT. r=jorendorff
...
Apply the following script
sed -i '
/JS_ASSERT(/ {
s/JS_ASSERT(/MOZ_ASSERT(/;
:b;
s/ \\$/\\/;
/;/ { p; d; };
n;
s/^/ /;
b b;
};
s/JS_ASSERT (/MOZ_ASSERT(/;
'
Except where the JS_ASSERT macro does not end with a semi-colon, where empty
lines are in the middle of the macro, and where the backslahes are always the
same-length after the expression.
2014-10-01 19:17:51 +02:00
Bobby Holley
4a24838d94
Bug 1067009 - Implement regexp_toShared for CPOWs. r=billm
2014-10-01 17:22:15 +02:00
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
Bobby Holley
c504a51772
Bug 1065811 - Stop statically computing callability/constructibility on CPOWs. r=billm
2014-09-25 13:13:29 +02:00
Bobby Holley
f204dd3faa
Bug 1065811 - Expose isCallable()/isConstructor() in JS_PUBLIC_API. r=billm
2014-09-25 13:13:28 +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