Commit Graph

22909 Commits

Author SHA1 Message Date
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
Gregor Wagner
3358240540 Bug 800063 - Make GC_ALLOCATION_THRESHOLD dynamic. followup. r=orange 2012-10-26 17:40:39 -07:00
Benjamin Peterson
952638ace4 Bug 778948 - Move jsinterp to vm/Interpreter. r=luke
--HG--
rename : js/src/jsinterpinlines.h => js/src/vm/Interpreter-inl.h
rename : js/src/jsinterp.cpp => js/src/vm/Interpreter.cpp
rename : js/src/jsinterp.h => js/src/vm/Interpreter.h
2012-10-26 16:51:05 -07:00
Gregor Wagner
94f2e887b4 Bug 800063 - Make GC_ALLOCATION_THRESHOLD dynamic. r=billm 2012-10-26 16:06:19 -07:00
Sean Stangl
879152f462 Bug 803884 - Fold MControlInstructions. r=mjrosenb 2012-10-26 14:25:54 -07:00
Ryan VanderMeulen
22439e63c4 Merge m-c to inbound. 2012-10-26 16:06:04 -04:00
Daniel Holbert
3bf29216d0 Bug 805883: Add (void) cast to "use" an otherwise-unused variable, as far as GCC build-warning is concerned, in gc/Root.h. r=jorendorff 2012-10-26 11:41:14 -07:00
Bill McCloskey
d48c07ff09 Bug 803907 - Simplify GC root iteration (r=terrence) 2012-10-26 11:53:31 -07:00
Bill McCloskey
44c1337852 Bug 803907 - Remove some unused GC functions (r=terrence) 2012-10-26 11:53:25 -07:00
Bill McCloskey
2e35cd555e Bug 803907 - Remove some GC debugging functions (r=terrence) 2012-10-26 11:53:20 -07:00
Bill McCloskey
b8c104da8b Bug 803907 - Remove JS MapRoots (r=terrence) 2012-10-26 11:51:35 -07:00
Bill McCloskey
f8f8d7017f Bug 692267 - Remove js/src/gc/Heap.h from INSTALLED_HEADERS (r=terrence) 2012-10-26 11:18:50 -07:00
Bill McCloskey
2e039c483d Bug 692267 - Remove jsgc.h from INSTALLED_HEADERS (r=terrence) 2012-10-26 11:17:24 -07:00
Nicholas Nethercote
1bb4139b79 Bug 804891 - Reduce LIFO_ALLOC_PRIMARY_CHUNK_SIZE from 128 KiB to 32 KiB. r=wmccloskey.
--HG--
extra : rebase_source : 41cbe9a405e2febe84ce1db3bf1dba9a19f53748
2012-10-25 17:55:31 -07:00
Ryan VanderMeulen
5674cf6938 Backout 589b6766b99a (bug 786146) due to test bustage on a CLOSED TREE. 2012-10-25 20:05:13 -04:00
Andrew Quartey
1d28872093 Bug 792581 - part 20: Replace LL_UI2L macro with int64_t cast. r=ehsan 2012-10-25 19:25:57 -04:00
Nikhil Marathe
453b3dce5f Bug 804174 - Inline CallerHasUniversalXPConnect with IsCallerChrome. r=mccr8 2012-10-25 16:10:53 -07:00
Brian Hackett
dfa06ed040 Eagerly generate a single copy of Ion stubs and wrappers, bug 786146. r=dvander 2012-10-25 15:37:17 -07:00
Jason Orendorff
975e61072c Bug 787703. r=terrence 2012-10-25 17:43:25 -04:00
Brian Hackett
4dcb603901 Allow canceling in-progress off thread ion compilations, bug 785761. r=dvander 2012-10-25 13:46:49 -07:00
Anant Narayanan
1ceeaa0d12 Backout 4aef9921a9d6, build failed 2012-10-25 12:28:05 -07:00
Brian Hackett
d177fc87e2 Allow canceling in-progress off thread ion compilations, bug 785761. r=dvander 2012-10-25 12:00:00 -07:00
Bobby Holley
488778aa80 Bug 797821 - Null check to fix intermittent orange. r=me 2012-10-25 18:36:45 +02:00
Ehsan Akhgari
f117c7a7b0 Backed out 2 changesets (bug 579517)
Backed out changeset 5298adc70963
Backed out changeset 86ccf7c918ce (bug 579517)
2012-10-25 12:32:24 -04:00
Ehsan Akhgari
48b5c1a608 Code hygiene: don't use PR_TRUE and PR_FALSE, and use stdint types instead of PRInt types (no bug really, but you could say bug 579517) 2012-10-25 11:48:19 -04:00
Bobby Holley
6bae1ef04d Bug 797821 - Address Ms2ger's review comments. r=me 2012-10-25 17:01:09 +02:00
Bobby Holley
c8500076c1 Bug 797821 - Remove the XPConnect Compartment Set. r=mrbkap 2012-10-25 17:01:09 +02:00
Bobby Holley
c562949e50 Bug 797821 - Hoist XPConnect-y stuff out of the compartment private and into the XPCWrappedNativeScope. r=mrbkap
This change means we no longer have to keep around a set of XPConnect compartments.
We keep the compartment private around for non-xpconnecty stuff like about:memory
instrumentation that needs to happen on non-xpconnect compartments.
2012-10-25 17:01:09 +02:00
Bobby Holley
a257acaeb2 Bug 797821 - Removed the unused reserved slot for XPConnect globals. r=mrbkap 2012-10-25 17:01:09 +02:00
Bobby Holley
4ab5b9a39a Bug 797821 - Remove JSCLASS_XPCONNECT_GLOBAL flag. r=mrbkap 2012-10-25 17:01:09 +02:00
Bobby Holley
c14f6e265e Bug 797821 - Decide whether we need to trace DOM stuff based on more relevant information than JSCLASS_XPCONNECT_GLOBAL. r=mrbkap
This will let us rip out that flag.
2012-10-25 17:01:08 +02:00
Bobby Holley
19e17dc08a Bug 797821 - Remove FindInJSObjectScope and friends. r=mrbkap
\o/
2012-10-25 17:01:08 +02:00
Bobby Holley
05aea8b835 Bug 797821 - Replace usage of XPCWrappedNativeScope::FindInJSObjectScope(ccx, obj) with GetObjectScope(obj). r=mrbkap 2012-10-25 17:01:08 +02:00
Bobby Holley
18d529092b Bug 797821 - Create XPCWrappedNativeScopes immediately after global creation. r=mrbkap 2012-10-25 17:01:08 +02:00
Bobby Holley
36cb31b1bc Bug 797821 - Remove xpc_NewSystemInheritingJSObject and cached mJSPrototypeObject. r=mrbkap
xpc_NewSystemInheritingJSObject is totally unnecessary now that the system bit
has been removed (\o/). Furthermore, the mJSPrototypeObject optimization is
really dumb. it complicates tracing significantly, and we don't actually use it
in any critical places: XPCWrappedNative and slim wrapper creation use a different
prototype, so this is used only for the creation of tearoff reflectors (seldom/
never used), XPCWrappedNativeProto objects, and the nohelper prototype on the
scope (once per scope).

We could actually just pass NULL to JS_NewObject and let it deal. However, this
would actually trigger a dynamic lookup for the prototype object of the
associated JSClass, which isn't what we want. So we just explicitly pass in
Object.prototype.
2012-10-25 17:01:08 +02:00