Commit Graph

25192 Commits

Author SHA1 Message Date
Eddy Bruel
193967352e Bug 789897 - Implement isExtensible and preventExtensions traps for proxies, including scriptable direct proxies, and in the various wrapper classes. Also move non-static JSObject::preventExtensions to static ObjectImpl::preventExtensions, for handle correctness. Patch is a semi-tag-team effort with jwalden. r=jwalden, r=ejpbruel, r=bholley, r=two-turtle-doves-and-a-partridge-in-a-pear-tree
--HG--
extra : rebase_source : 156d2c22499372fceb60d130e363a3685e68b9fc
2013-03-22 19:43:03 -07:00
Bobby Holley
3cb1698a89 Bug 853709 - Deny accessor definitions in SecurityWrapper. r=mrbkap 2013-03-29 18:13:52 -07:00
Kyle Machulis
d2b6e6e01a Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Shu-yu Guo
8e3198ceb6 Bug 855133. (r=mjrosenb) 2013-03-29 12:38:00 -07:00
Kyle Machulis
5663b98bc5 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Nicolas B. Pierron
18e3ee4c05 Bug 855965 - Symbolic range analysis transfers range analysis bounds to phis. r=mjrosenb 2013-03-29 13:37:38 -07:00
Ryan VanderMeulen
7e1725db21 Backed out bug 789897 due to regressions. 2013-03-29 14:07:32 -04:00
Terrence Cole
f69194b367 Bug 765432 - Make JS_IsAboutToBeFinalized indirect; r=bholley,billm 2013-03-28 13:27:29 -07:00
Nicholas D. Matsakis
3ccfdcad55 Bug 855807 - Register 'inliner' and not 'inlinee' as the aborted script r=shu 2013-03-28 15:16:11 -04:00
Bobby Holley
d802dea1db Bug 855922 - Check XBL scopes per-compartment in the SOW isSafeToUnwrap hook. r=bz 2013-03-28 18:38:07 -07:00
Marty Rosenberg
6c01d6f93c Bug 836486: Part 2 - turn on Ion Monkey for ARMv6 (r=jbramley) 2013-03-28 13:51:23 -04:00
Marty Rosenberg
8150d9a40c Bug 836486: Part 1 - Add in ARMv6 support for IonMonkey (r=jbramley)
* * *
No Bug: Fix android bustage on armv6 push (r=red, CLOSED TREE)
* * *
aaand b2g
2013-03-28 13:51:23 -04:00
Till Schneidereit
a6baaa89c3 Bug 855895 - reading in failed jit-tests with -r or -R is broken. r=terrence 2013-03-29 00:02:45 +01:00
Sean Stangl
c38528fbe0 Bug 837312: IonMonkey: Inline a strict subset of known targets, r=sstangl,djvj 2013-02-19 14:06:40 -08:00
Blake Kaplan
9ce376052d Bug 852436 - nsWrapperCache::WrapObject returning false means failure, even if there's no pending exception. r=bz 2013-03-28 15:45:01 -07:00
Ryan VanderMeulen
09ae4ec3b8 Backed out changesets 1f5713b14a2a, c30a353ecf23, and f4ef406c1256 (bug 836486) for Android and B2G bustage on a CLOSED TREE. 2013-03-28 16:44:37 -04:00
Terrence Cole
16aae426b8 Bug 855145 - DeMACROize the JS tracing interfaces; r=billm,mccr8
--HG--
extra : rebase_source : 915c80052b4412f653033eb5fc4d4f96c5d49bd5
2013-03-26 15:10:34 -07:00
Marty Rosenberg
37deaf4af9 No Bug: Fix android bustage on armv6 push (r=red, CLOSED TREE) 2013-03-28 16:33:57 -04:00
Marty Rosenberg
0d6e705a02 Bug 836486: Part 2 - turn on Ion Monkey for ARMv6 (r=jbramley) 2013-03-28 13:51:23 -04:00
Marty Rosenberg
7abb885221 Bug 836486: Part 1 - Add in ARMv6 support for IonMonkey (r=jbramley) 2013-03-28 13:51:23 -04:00
Tom Schuster
22e62f3051 Bug 839979 - Implement Object.is. r=jorendorff 2013-03-28 15:46:44 +01:00
Jeff Walden
286a3b9607 Bug 789897 - Make BaseProxyHandler::{isExtensible,preventExtensions} pure virtual. r=bholley
--HG--
extra : rebase_source : 6c3bada30b00877f0388baf8a72e18adf9636750
2013-03-28 00:19:40 -07:00
Bill McCloskey
ae133553d0 Bug 855136 - Fix build error on android on a CLOSED TREE 2013-03-28 10:20:59 -07:00
Bill McCloskey
779cef3260 Bug 855136 - Don't use call/construct slots for direct proxies (r=luke) 2013-03-26 17:53:00 -07:00
Bill McCloskey
9f508d5cb7 Bug 855136 - Don't require call/construct args to NewProxyObject (r=luke) 2013-03-26 17:51:55 -07:00
Eddy Bruel
680343c1d7 Bug 789897 - Add scripting support + tests for isExtensible, preventExtensions traps. r=jwalden, r=jorendorff
--HG--
extra : rebase_source : 509886634ea50735b82c12d00e61840010359d74
2013-03-22 19:43:12 -07:00
Eddy Bruel
7b5ad4785e Bug 789897 - Implement a preventExtensions trap for proxies. Patch is a semi-tag-team effort with jwalden. r=jwalden, r=ejpbruel, r=bholley, r=two-turtle-doves-and-a-partridge-in-a-pear-tree
--HG--
extra : rebase_source : 03b1b90c727ecc6a5d9d8cd769423f0a8f6efde4
2013-03-22 19:43:12 -07:00
Jeff Walden
60d09841fd Bug 789897 - Move JSObject::preventExtensions (non-static) to ObjectImpl::preventExtensions (static). r=ejpbruel
--HG--
extra : rebase_source : d9ca8a4555df8c6a0d5401fe7c0181dbf562d754
2013-03-22 19:43:12 -07:00
Eddy Bruel
b81410d5c1 Bug 789897 - Implement an isExtensible trap for proxies. Patch is a semi-tag-team effort with jwalden. r=jwalden, r=ejpbruel, r=bholley, r=two-turtle-doves-and-a-partridge-in-a-pear-tree
--HG--
extra : rebase_source : 346645d8dc32ddb76f18e7557e99f41cb66abe9e
2013-03-22 19:43:03 -07:00
Hannes Verschore
15bef50fd0 Bug 851792: IonMonkey: Add stub for TypedArray with JSAtom index in IonCache, r=jandem 2013-03-28 15:25:01 +01:00
Peter Van der Beken
bd0edf6547 Fix for bug 852092 (Improve DOM list ICs) - part 2, don't generate stubs if there's shadowing and enable the Ion IC for slot reads. r=jandem.
--HG--
extra : rebase_source : edadbc994f847a926c5f1ea9f0d8665ba7774739
2013-03-28 10:23:04 +01:00
Peter Van der Beken
4f40a15c16 Fix for bug 852092 (Improve DOM list ICs) - part 1, factor out ListBase checks for the Ion IC. r=jandem.
--HG--
extra : rebase_source : b0415e00f84262ad998567bfdd782b0d18a3871a
2013-03-25 21:22:49 +01:00
Peter Van der Beken
e18f0dae1a Fix for bug 852094 (Support Unforgeable on proxy-based DOM bindings) - add a JS_DefineOwnProperty API that takes a JSPropertyDescriptor. r=Waldo.
--HG--
extra : rebase_source : 1866bae0a324ba952548c375e0c8cc031d8b0954
2013-03-27 18:15:38 +01:00
Nicholas D. Matsakis
b13bb70f76 Bug 853576 - Check for negative indices supplied in scatter r=shu 2013-03-27 20:59:46 -04:00
Gina Yeh
a14ed7a5d2 Bug 853200 - Remove unused event handlers from idl, r=echou, sr=mrbkap 2013-03-28 18:05:58 +08:00
Nicholas Cameron
378214ffff Bug 853710. Optimise use of general purpose regs stm/ldm. r=mjrosenb 2013-03-28 21:33:26 +13:00
Marty Rosenberg
a7f6316416 Bug 843015: Don't optimize a function that arm-linux-gnueabi-gcc-4.7.2 seems to miscompile. (r=dvander) 2013-03-28 03:22:18 -04:00
Ryan VanderMeulen
28b70be053 Backed out changeset bab9914e9a31 (bug 853576) for SM rootanalysis orange on a CLOSED TREE. 2013-03-27 22:27:37 -04:00
Nicholas D. Matsakis
953600c1f0 Bug 853753 - Remove accidental second copy of test. rs=test 2013-03-27 21:28:53 -04:00
Bobby Holley
ff8df1d32c Bug 854139 - Handle all DOM objects, not just ones that unwrap to nsISupports. r=bz 2013-03-27 18:27:27 -07:00
Bobby Holley
6bac24ceed Bug 790732 - Components shim tests. r=mrbkap 2013-03-27 18:27:27 -07:00
Bobby Holley
939fedeaee Bug 790732 - Omit Components object for content scopes. r=mrbkap 2013-03-27 18:27:27 -07:00
Bobby Holley
288f852eab Bug 790732 - Make Components console warning test pref-aware. r=mrbkap 2013-03-27 18:27:26 -07:00
Bobby Holley
0ac464fee7 Bug 790732 - Stop attaching Components in InitClasses. r=mrbkap
This method is larely deprecated. The only two consumers are JSD and the setup
for the safe JSContext, neither of which use system principal and thus neither
of which should have |Components|.
2013-03-27 18:27:26 -07:00
Bobby Holley
833b734f38 Bug 790732 - Remove the aTarget parameter from AttachComponentsObject. r=mrbkap
I added this when I thought we'd be defining Components on an object on the XBL
scope chain. At this point, it's not necessary anymore.
2013-03-27 18:27:26 -07:00
Nicholas D. Matsakis
de54b30d1d Bug 853573 - Add test. 2013-03-27 21:20:13 -04:00
Nicholas D. Matsakis
c9d36f298e Bug 853555 - Add test. 2013-03-27 21:20:12 -04:00
Nicholas D. Matsakis
f97cc1b66b Bug 853576 - Check for negative indices supplied in scatter r=shu 2013-03-27 20:59:46 -04:00
David Zbarsky
39c225e361 Bug 854629 Part 0: Remove the rest of XPIDL bindings for SVG elements r=Ms2ger 2013-03-27 21:23:10 -04:00
Nicholas D. Matsakis
f373493e47 Bug 853555 - Avoid using a[i] = b until we are sure that i is defined on a r=till
Bug 853555 - Propagate type constraints for UnsafeSetElement in jsinfer r=jandem
2013-03-27 20:01:52 -04:00