Commit Graph

22943 Commits

Author SHA1 Message Date
Kyle Huey
1482122303 Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
--HG--
extra : rebase_source : 98337b6a8c07d05e8c961a452dd05a7d75c3c60b
2012-10-31 09:13:28 -07:00
Bill McCloskey
70a8d7ef1c Bug 807161 - Remove extern C and #ifdef __cplusplus from JSAPI (r=luke) 2012-10-30 18:28:34 -07:00
Jan de Mooij
e8004990a9 Bug 802809 - Assert PRESET LDefinitions are not followed by instructions with fixed uses. r=dvander 2012-10-31 16:27:00 +01:00
Jan de Mooij
04a5e0b510 Bug 801831 - Don't mark EnterJIT thunk if it's NULL. r=dvander 2012-10-31 14:04:18 +01:00
Tom Schuster
85c2e983ae Bug 805222 - Change some usages of GetFunctionId to GetFunctionDisplayId for better JS stacktrace. r=bholley,robcee 2012-10-31 13:34:42 +01:00
Vicamo Yang
8297cdabd6 Backout 67cb43bb8865: Breaks B2G Marionette 2012-10-31 16:35:11 +08:00
Andrew McCreight
c8dcda07ec Bug 806433 - Make mReleaseRunnable a ref ptr. r=smaug 2012-10-30 20:01:31 -07:00
Tony Young
449f44e70d Bug 806643 - Negate doubles by flipping signed bit. r=sstangl 2012-10-30 14:59:06 -07:00
Rafael Ávila de Espíndola
512a3dd46a Bug 803707 - Don't assume pointers are 64 bits. r=Waldo.
Use reinterpret_cast.
2012-10-30 17:38:13 -04:00
Jonas Sicking
c7d1bf58ee Bug 806587: Restore getCodebasePrincipal since extensions use it. r=mounir 2012-10-30 22:24:41 +01:00
William Lachance
f3518f5541 Bug 799863 (1/3) - Make sure remote xpcshell tests can find mozdevice;r=gbrown
---
 config/makefiles/xpcshell.mk        |    1 +
 js/src/config/makefiles/xpcshell.mk |    1 +
 testing/testsuite-targets.mk        |    1 +
 3 files changed, 3 insertions(+)
2012-10-16 16:28:49 -04:00
Boris Zbarsky
7cb30ff9c6 Bug 801819. Remove nsIDOMCSS2Properties and the classinfo bits for CSS declarations. r=peterv,dbaron 2012-10-30 17:14:06 -04:00
Nicolas B. Pierron
1010277758 Bug 804064 - TableSwitchV, unbox integers values before branching. r=h4writer 2012-10-30 13:51:43 -07:00
Terrence Cole
76e866779c Bug 805080 - Remove unused CESU8 support from SpiderMonkey; r=luke
We have many CESU8 paths in SpiderMonkey which are completely unused and
untested. We have many more "UTF-8" paths which are really mislabled CESU8 paths
and visa-versa. This patch attempts to disentable all of the various encoding
options in SpiderMonkey.
2012-10-29 13:55:17 -07:00
Ehsan Akhgari
786e1a903f Backed out 2 changesets (bug 805883, bug 787703) because of Windows PGO bustage on non-profiling builds
Backed out changeset 792a91b91020 (bug 805883)
Backed out changeset e1c7f5195704 (bug 787703)

--HG--
extra : rebase_source : 725029fbf5e34ae198bd9f4cde53593e8f373392
2012-10-30 16:17:29 -04:00
Bobby Holley
ce50e5bd1b Bug 804630 - Tests for exposing prototype properties on a derived object. r=mrbkap 2012-10-30 18:29:11 +01:00
Kyle Huey
bdf47895bb Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 12:28:11 -07:00
Ed Morley
777eed8444 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
Kyle Huey
331f5d8222 Bug 798491: Followup bustage fix. 2012-10-30 08:42:47 -07:00
Kyle Huey
aa1997a51a Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 08:26:12 -07:00
Phil Ringnalda
9434ca32e9 Back out 4770ab40cdb6 (bug 804064) for bustage 2012-10-29 22:59:21 -07:00
Nicolas B. Pierron
a4a41f91ca Bug 804064 - TableSwitchV, unbox integers values before branching. r=h4writer 2012-10-29 22:31:20 -07:00
Bill McCloskey
946abd6a57 Bug 806644 - Back out 782072 (r=terrence)
--HG--
extra : rebase_source : ac0be1c64b09a18d9617ccae0a6e015f0b14b797
2012-10-29 17:34:59 -07:00
Nicolas B. Pierron
3c85803aac Bug 792631 - Add IC for missing properties. r=dvander 2012-10-29 15:17:06 -07:00
Jacek Szpot
0b35b0e3d8 Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan 2012-10-26 15:32:10 +02:00
Daniel Holbert
c8e4b17456 Bug 806442: Remove unused variable "slot" from Compiler::markUndefinedLocal. r=billm 2012-10-29 13:40:20 -07:00
Peter Van der Beken
1ef60a85a4 Fix for bug 778152 (Content window does not have an XMLHttpRequest property when accessed via an Xray wrapper in a subscript). r=bz.
Switch from using the interface objects from the Xrays compartment to wrapping
interface objects and interface prototype objects in Xrays. Make dom binding
Xrays deal with both instance objects and interface and interface prototype
objects.
2012-10-09 20:50:27 +02:00
Jan de Mooij
37f89578d7 Bug 800179 - Initialize CallArgsList::active_ in the constructor. r=luke
--HG--
extra : rebase_source : a540b9484db012813d5fd0f960bdb2d83baeeeaf
2012-10-29 19:00:53 +01:00
Bobby Holley
88c0b669e0 Bug 803068 - Remove toBaseProxyHandler and toWrapper. r=ejpbruel
--HG--
extra : rebase_source : 1224e016033c57ec9fbf970fc5eabb2904386529
2012-10-29 16:52:54 +01:00
Bobby Holley
b4461f0bed Bug 803068 - Merge DirectWrapper and Wrapper. r=ejpbruel
--HG--
extra : rebase_source : a2b98a9585c6f7761747cfaf55684e6eeed91344
2012-10-29 16:52:53 +01:00
Bobby Holley
a0d19fc627 Bug 803068 - Remove IndirectProxyHandler. r=ejpbruel
--HG--
extra : rebase_source : 08570e140f6e16d73adca23b51b63222231dc0f4
2012-10-29 16:52:53 +01:00
Bobby Holley
f107868927 Bug 803068 - Remove IndirectWrapper. r=ejpbruel
We also take the opportunity to update the now-obsolete comment about the
wrapper hierarchy.

--HG--
extra : rebase_source : b756bf143d202daae4b5abcf99f7fb381e040641
2012-10-29 16:52:53 +01:00
Bobby Holley
cf2bcfdc02 Bug 803068 - Make ScriptedIndirectProxyHandler inherit BaseProxyHandler directly. r=ejpbruel
There are no actual dependencies on IndirectProxyHandler, despite the fact that
it roughly mimics its behavior.

--HG--
extra : rebase_source : 556c4d0eb0ac41547e2de7f033fe4097da4ca77b
2012-10-29 16:52:53 +01:00
Bobby Holley
63c5692d29 Bug 803068 - Restore BaseProxyHandler call/construct traps. r=ejpbruel
I don't ever remember them being moved, but this seems wrong. As long as we
continue to support function proxies, there's no reason that the call logic
should be limited only proxies with targets. In particular, this issue breaks
the SpecialPowers wrapper after making ScriptedIndirectProxyHandler inherit
BaseProxyHandler.

--HG--
extra : rebase_source : 61f51f2c97eb6cf5850ffa6699a396a436567065
2012-10-29 16:52:53 +01:00
Bobby Holley
8eabbd467b Bug 803068 - Manually grab the BaseProxyHandler derived traps in SandboxProxyHandler. r=ejpbruel
Let's just bite the bullet and do this here. It will let us get rid of
IndirectProxyHandler, which has really overcomplicated our proxy hierarchy.

--HG--
extra : rebase_source : 7e81529936bc256d672e40537eb6abca6374e52c
2012-10-29 16:52:53 +01:00
Bobby Holley
c45ac66eb0 Bug 797206 - Remove GetPrincipalFromContext. r=bz 2012-10-29 15:55:36 +01:00
Peter Van der Beken
efd72d6b0c Fix for bug 778152 (Content window does not have an XMLHttpRequest property when accessed via an Xray wrapper in a subscript) - rename ProtoOrIfaceArray. r=bz.
--HG--
extra : rebase_source : c426270fc1ebee818629bd94dfc8d11af59bfc00
2012-10-09 20:50:27 +02:00
Peter Van der Beken
705e0cc63b Fix for bug 804992 (Enable objects with new DOM bindings to be parent of other DOM objects). r=bz.
--HG--
extra : rebase_source : f07cade82dad0216d94e68dd0c0f495977abeb31
2012-09-12 22:29:30 +02:00
Peter Van der Beken
09dd1ac571 Fix for bug 804732 (Remove mCachedDOMPrototypes). r=bz.
--HG--
extra : rebase_source : dc9ffe5f37dbc0542cbb47384b2d25472c70d801
2012-10-23 22:11:58 +02:00
Jan de Mooij
874593342a Bug 804636 part 4 - Remove TypeOracle::incslot and inc/dec handling in TypeDynamicResult. r=dvander 2012-10-29 11:26:09 +01:00
Nicholas Nethercote
dfb006bf92 Bug 805915 (part 5) - Add more detail to shape memory reports. r=luke.
--HG--
extra : rebase_source : f1a05ea15b78e5f33d6398accca3333ab29fa1c6
2012-10-29 08:51:21 +11:00
Nicholas Nethercote
dd15137c21 Bug 805915 (part 4) - Add more detail to string memory reports. r=luke.
--HG--
extra : rebase_source : 010e28f10917ae4cc9d0d11abace9bcdabf0aba8
2012-10-29 08:51:21 +11:00
Nicholas Nethercote
37e1cf7c58 Bug 805915 (part 3) - Fix misleading behaviour of JSString::isShort(). r=luke.
--HG--
extra : rebase_source : 433f852fafc580cd4d51241dd3d90fd387719f3d
2012-10-29 08:51:21 +11:00
Nicholas Nethercote
17209cb3c5 Bug 805915 (part 2) - Add more detail to object memory reports. r=luke.
--HG--
extra : rebase_source : e54ece88753280ccac284f6265fd92310dc1bec6
2012-10-29 08:51:21 +11:00
Nicholas Nethercote
d46cd5f2d4 Bug 805915 (part 1) - Rename the "cross-compartment-wrappers" memory report. r=luke.
--HG--
extra : rebase_source : a9689bde17b043bc8bec55c0307c0bbf94768232
2012-10-29 08:51:21 +11:00
Ryan VanderMeulen
dd87cc277e Bug 799917 - Backout for various regressions. 2012-10-28 08:49:20 -04:00
Jan de Mooij
85146049a7 Bug 804636 part 3 - Remove JM+TI loop test analysis. r=bhackett 2012-10-27 20:56:19 +02:00
Jan de Mooij
ecd7f72ca7 Bug 804636 part 1 - Decompose LOCAL/ARG inc/dec ops. r=bhackett 2012-10-27 14:16:17 +02:00
Kannan Vijayan
fee107739d Bug 800568 - Remove spurious use of potentially-nonexistant pushedTypes in callGetter IC code. (r=nbp) 2012-10-26 21:01:15 -04:00
Benjamin Peterson
a5df34dfbf backout bug 778948 eace14fccc47 for horrible sunspider regression r=me 2012-10-26 17:59:35 -07:00