Commit Graph

19013 Commits

Author SHA1 Message Date
Jason Orendorff
c805c1a187 Bug 752092 - Support building SpiderMonkey without JS_HAS_XML_SUPPORT. r=terrence. 2012-05-14 18:53:30 -05:00
Jason Orendorff
474b598d8d Bug 710479 - ASan reports invalid read in PopOffPrec. r=dmandelin. 2012-05-14 18:49:09 -05:00
Jason Orendorff
ac411cc41b Bug 721497 - Assertion failure: compartment mismatched, at ../jscntxtinlines.h:153 with dumpStack. r=luke. 2012-05-14 18:47:32 -05:00
Ed Morley
2acc0d3f41 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-05-16 10:06:15 +01:00
Till Schneidereit
be76842a0a Bug 754299 - Update gcMaxMallocBytes of existing compartments in JSRuntime::setGCMaxMallocBytes. r=billm 2012-05-15 18:30:15 -04:00
Till Schneidereit
53b81d3cba Change nsXPConnect::CheckForDebugMode to trigger one multi-compartment GC instead of individual GCs for all compartments, to fix GC pauses when switching tabs with Firebug. Bug 754201, r=jorendorff, r=sfink. 2012-05-14 18:46:51 -05:00
Nicholas Nethercote
25daad3e0e Bug 753249 (part 6) - Remove TCF_GENEXP_LAMBDA from TreeContextFlags. r=luke.
--HG--
extra : rebase_source : 30b9e049999e66dae1409022adc8973efd7d2254
2012-05-14 21:38:42 -07:00
Nicholas Nethercote
e9272e872c Bug 753249 (part 5) - Simplify use of TCF_GENEXP_LAMBDA in FoldConstants. r=luke.
--HG--
extra : rebase_source : 8cdce721b1bdfdea8fca8f98de8a0c8fc30e0b9d
2012-05-14 21:38:41 -07:00
Nicholas Nethercote
2a5533e3e5 Bug 753249 (part 4) - Remove TCF_HAS_SINGLETONS from TreeContextFlags. r=luke.
--HG--
extra : rebase_source : 873e79b43fc901057cf1ad79636077f5923a83c0
2012-05-14 21:38:39 -07:00
Nicholas Nethercote
a8b96221a0 Bug 753249 (part 3) - Remove TCF_IN_WITH from TreeContextFlags. r=luke.
--HG--
extra : rebase_source : c88cc07d9a3868ec756daa1da0a0cbe875d3c144
2012-05-14 21:38:37 -07:00
Nicholas Nethercote
ca73f72a05 Bug 753249 (part 2) - Remove TCF_IN_FOR_INIT from TreeContextFlags. r=luke.
--HG--
extra : rebase_source : f70060e47de0130c558c798a572d83c9184f82c5
2012-05-14 21:38:36 -07:00
Nicholas Nethercote
fc08f81685 Bug 753249 (part 1) - Remove TCF_IN_FUNCTION from TreeContextFlags. r=luke.
--HG--
extra : rebase_source : 00d0bc1cdead33084b56d629868009f8280c7988
2012-05-14 21:38:35 -07:00
Mike Hommey
693d8aa482 Bug 754557 - Fix building with --enable-methodjit-spew without --enable-debug. r=dmandelin 2012-05-15 07:44:58 +02:00
Mike Hommey
c20538e54d Bug 748001 - Use explicit targets for object files. r=ted 2012-05-15 07:44:32 +02:00
Steve Fink
1b16f82893 Bug 723712 - Test for !isCachedEval assertion failure. r=test
--HG--
extra : rebase_source : a88931728024e9045947cee4b3e6a5a82030909d
2012-04-16 11:44:10 -07:00
Steve Fink
54e327cbf3 Bug 723712 - Allow entering a compartment with a cached eval script. r=jorendorff
--HG--
extra : rebase_source : fc7a9ae353eefad9b4c9e82b983380b55928c5b8
2012-02-27 13:18:30 -08:00
Steve Fink
ff6423c5f3 Bug 751398 - Make jsdService participate in cycle collection for all of its hooks. r=khuey
--HG--
extra : rebase_source : dd85ac1398037964cb729afb4c0d6ace07387c7b
2012-04-30 13:58:38 -07:00
Andrew McCreight
47adc22ec3 Bug 701415 - Enable GC tracing info in opt builds. r=billm 2012-01-13 17:19:19 -08:00
Joey Armstrong
f91f737a13 bug 751167: replace FORCE with makefile dependencies r=ted 2012-05-15 09:20:30 -07:00
Matt Brubeck
773ffb6265 Merge mozilla-central and mozilla-inbound 2012-05-14 21:41:08 -07:00
Nicholas Nethercote
e8f36613f2 Bug 752816 (part 3) - Remove TCF_COMPILE_N_GO from TreeContextFlags. r=luke.
--HG--
extra : rebase_source : caaac2b872c30d1b4fafacc2e3f32677a609fa7c
2012-05-14 18:00:19 -07:00
Nicholas Nethercote
fd43f617aa Bug 752816 (part 2) - Remove TCF_{NO_SCRIPT_RVAL,NEED_SCRIPT_GLOBAL} from TreeContextFlags. r=luke.
--HG--
extra : rebase_source : 26aacee3d6663be4a77a758b5ebab77a48c797e5
2012-05-14 18:00:17 -07:00
Nicholas Nethercote
8166b79251 Bug 752816 (part 1) - Remove TCF_COMPILE_FOR_EVAL from TreeContextFlags. r=luke.
--HG--
extra : rebase_source : 18460968ee955f620e18da19a34a42fc2e061b0d
2012-05-14 18:00:15 -07:00
Matt Brubeck
bb3a6fefc7 Merge last green changeset from inbound to mozilla-central 2012-05-14 14:00:57 -07:00
Mike Hommey
5262f75c2c Bug 754625 - Use idl-parser from $(LIBXUL_DIST)/sdk/bin and only remove lex and yacc files in header.py --regen. r=khuey 2012-05-14 17:19:39 +02:00
Bobby Holley
9c60ce3d2e Bug 753277 - Assert that all cross-scope wrapper reparenting operations are cross-compartment, and remove the conditional. r=mrbkap
The reindentation is pure. No snakes.
2012-05-14 12:52:17 +02:00
Bobby Holley
dd6ca22451 Bug 753277 - Rename tobj to wrapperGuts, and avoid going through the SCSW on the other side unnecessarily. r=mrbkap
It's not wrong, but it's not necessary either, since we'll just unwrap directly to the underlying object during wrapping. And this is confusing enough as-is.
2012-05-14 12:52:17 +02:00
Bobby Holley
e8eacccb4d Bug 753277 - Rename |obj| to |newWrapper| in js_TransplantObjectWithWrapper. r=mrbkap 2012-05-14 12:52:17 +02:00
Bobby Holley
582d7c4ddc Bug 753277 - Make js_TransplantObjectWithWrapper use RemapWrappers. r=mrbkap 2012-05-14 12:52:17 +02:00
Bobby Holley
fa2b5be266 Bug 753277 - Rename |obj| to |newIdentity| in JS_TransplantObject. r=mrbkap 2012-05-14 12:52:16 +02:00
Bobby Holley
0e3a5c894c Bug 753277 - Factor out CCW remapping from JS_TransplantObject and add comments. r=mrbkap 2012-05-14 12:52:16 +02:00
Nicholas Nethercote
43cf80e068 Bug 752793 (part 3) - Remove TCF_DECL_DESTRUCTURING from TreeContextFlags. r=luke.
--HG--
extra : rebase_source : 559857d9f8eed138c78f376014b9748a3a8ce4e1
2012-05-14 16:23:33 -07:00
Nicholas Nethercote
ef7e588510 Bug 752793 (part 2) - Remove TCF_HAS_FUNCTION_STMT from TreeContextFlags. r=luke.
--HG--
extra : rebase_source : 82cf18efce409b2b48bf10b36090b67daeda6981
2012-05-14 16:23:31 -07:00
Nicholas Nethercote
4fe4587156 Bug 752793 (part 1) - Remove TCF_RETURN_{EXPR,VOID} from TreeContextFlags. r=luke.
--HG--
extra : rebase_source : 6408cd4daf61e330b975cceff41d694cc2240847
2012-05-14 16:23:29 -07:00
Terrence Cole
16d19e5a76 Bug 737640 - Missing barriers in makeOwnBaseShape; r=bhackett
The default copy constructor for BaseShape gets used in makeOwnBaseShape,
bypassing the manual post barriers on getterObj and setterObj. This patch
goes through StackBaseShape, which is the correct usage. It also deletes the
copy constructor to ensure we don't have the same error in the future.
2012-05-14 15:02:43 -07:00
Nicholas Nethercote
8304bf7822 Bug 752758 - Separate TreeContext and BytecodeEmitter. r=bhackett. 2012-05-14 16:08:32 -07:00
Tom Schuster
889e3a0487 Bug 752226 - Remove any use of JSVAL_IS_OBJECT. r=luke,Ms2ger 2012-05-11 17:46:26 +02:00
Bill McCloskey
bd6f3cb10e Bug 754242 - Reset incremental GC upon TOO_MUCH_MALLOC GC requests (r=terrence) 2012-05-11 21:07:54 -07:00
Matt Brubeck
e03dd6bfd0 Back out 6a7bfd84596e (bug 736501) because it broke the build on some versions of GCC (bug 754198) 2012-05-11 20:15:47 -07:00
Paul ADENOT
d19763225d Bug 743720 - Import Speex's audio resampler in the tree. r=kinetik, khuey 2012-05-14 19:01:04 -04:00
Bobby Holley
a677897390 Bug 754311 - Null out the private of soon-to-be-transplanted reflectors _after_ copying their properties onto the holder. r=mrbkap 2012-05-14 23:30:07 +02:00
Bobby Holley
edc81ab397 Bug 754044 - Remove manual injection of same-compartment security wrappers, and make sure to call JS_Wrap* instead. r=mrbkap 2012-05-14 23:30:07 +02:00
Bobby Holley
80f05e377a Bug 754044 - Apply same-compartment security wrappers in same-compartment wrapping callback. r=mrbkap 2012-05-14 23:30:07 +02:00
Bobby Holley
4b7ab64339 Bug 754044 - Introduce sameCompartmentWrapObjectCallback. r=mrbkap
We leave it null for gecko for the time being to keep this patch small.
2012-05-14 23:30:07 +02:00
Bobby Holley
d4db4d398f Bug 754044 - Simplify the logic surrounding the prewrap callback in jscompartment.cpp. r=mrbkap 2012-05-14 23:30:07 +02:00
Bobby Holley
34a529a141 Bug 754044 - Alter the semantics of UnwrapObject{,Checked} to check for outer windows on the initial wrapper passed. r=mrbkap
This distinction is the only reason for writing the code in this confusing manner. And I don't think we need it now that we have stopAtOuter.
2012-05-14 23:30:07 +02:00
Bobby Holley
0359e6d4ba Bug 754044 - Pass stopAtOuter=false in GetWrappedNativeOfJSObject, because that's what we mean. r=mrbkap 2012-05-14 23:30:07 +02:00
Luke Wagner
169c45f7b8 Bug 752379 - ContextStack::pushExecuteFrame should read the most recent 'fp' (r=bhackett)
--HG--
extra : rebase_source : 1b615fbb8bebab0bf5acd859a70b34ae405347a6
2012-05-07 09:15:08 -07:00
Luke Wagner
d40c032d4c Bug 754503 - JSOP_SETALIASEDVAR should be JOF_DETECTING (r=bhackett)
--HG--
extra : rebase_source : 7980a9efdd48c0d8be31693840993908d82f313f
2012-05-14 12:40:34 -07:00
Steve Fink
32b9fa7d70 Bug 575688 - DataView.prototype should behave similarly to typed arrays (WebIDL compliance). r=Waldo
Also remove unwanted prototype searching behavior.
2012-03-28 14:43:02 -07:00
Joey Armstrong
bbe5cba9d1 bug 753939: makeutils.mk .mk loading logic with unit tests r=ted 2012-05-11 11:47:29 -07:00
Landry Breuil
a7b3472b9e bug 736961 - use the same cachedir for all idl-parser calls, fixes builds without objdir - r=khuey 2012-05-11 11:17:00 -07:00
Ed Morley
4c4c3cfd18 Backout 9b0fcaacb788 & bf3fef257e68 (bug 752226) for mochitest-other orange 2012-05-11 18:25:52 +01:00
Tom Schuster
6e0861373a Bug 752226 - Remove any use of JSVAL_IS_OBJECT. r=luke,Ms2ger
--HG--
extra : rebase_source : edf2077f8b8bad1970eab6ebe9996e761d4e596c
2012-05-11 17:46:26 +02:00
Tom Schuster
9b9d48c710 Bug 751139 - Prevent cloning of bound functions. r=luke
--HG--
extra : rebase_source : acf1984137884fec53246a35f3f06f978557bc40
2012-05-11 17:46:03 +02:00
Terrence Cole
aca286389c Bug 753619 - Fix progress bar totals in jstests.py; r=dmandelin
Something in the previous refactorings has messed up the display of the
progress bar such that it occasionally jumps over 100% and 80chars.
2012-05-10 16:06:41 -07:00
Terrence Cole
6bf0f798df Bug 745326 - Make Map/SetObject keys/values relocatable; r=billm
Since they use HashTable internally, we need their keys to derive from
RelocatableValue, rather than HeapValue. This also modifies the marking to allow
for the relocation, when that happens.

--HG--
extra : rebase_source : b2499e3354fda99a0ea7a349443c2adef717146b
2012-05-10 17:37:43 -07:00
Terrence Cole
06e209e46c Bug 752031 - Librarify the jsreftest suite; r=dmandelin
Moves the random .py implementation files into a lib subdirectory.

--HG--
rename : js/src/tests/manifest.py => js/src/tests/lib/manifest.py
rename : js/src/tests/progressbar.py => js/src/tests/lib/progressbar.py
rename : js/src/tests/results.py => js/src/tests/lib/results.py
rename : js/src/tests/tasks_unix.py => js/src/tests/lib/tasks_unix.py
rename : js/src/tests/tasks_win.py => js/src/tests/lib/tasks_win.py
rename : js/src/tests/tests.py => js/src/tests/lib/tests.py
2012-05-04 13:49:39 -07:00
Luke Wagner
c6c54f9d2e Fix inline-used-but-not-defined warning (no bug,r=themaid) 2012-05-10 08:48:39 -07:00
Terrence Cole
9f08093df2 Bug 753931 - Add specialized post barriers to RelocatableValue; r=billm
This inserts stubs for GenerationalGC relocation barriers into the specialized
"Relocatable" HeapValue.
2012-05-10 11:38:39 -07:00
Michael Wu
397c7ddb86 Bug 753378 - Support building on x86 gonk, r=glandium 2012-05-10 11:34:17 -07:00
Steve Fink
a7e6ebec5a Bug 752250 - xpc_UnmarkGrayContext should never throw an exception. r=billm
It is possible to have a JSContext with no global object and no frames on the
stack, yet still be within a request. In that case, xpc_UnmarkGrayContext will
trigger an exception "nothing active on context" when it attempts to access the
inner object of the cx's NULL global.
2012-05-09 15:12:27 -07:00
Benjamin Smedberg
b620e2c572 Bug 736501 - Use -Werror=unused-result, r=ted/mayhemer/njn
--HG--
extra : rebase_source : 121cddcd66f9be9b80840b47aecbe95307bae0ab
2012-05-01 09:24:38 -04:00
Bill McCloskey
c43168e530 Bug 753615 - Ensure we don't re-enter a GC phase (r=terrence) 2012-05-10 10:29:45 -07:00
Gregory Szorc
f10aa4ab08 Bug 748490 - Part 3: Followups to part 2; r=ted
Previous patch was submitted prematurely by accident. This addresses
nits from review.
2012-05-10 10:19:16 -07:00
Gregory Szorc
21cf7fa9e3 Bug 748490 - Part 2: Register testing modules with xpcshell test runner; r=ted 2012-05-10 10:10:14 -07:00
Gregory Szorc
c049995c49 Bug 748490 - Part 1: Provide build rules to install test-only JS modules; r=ted 2012-05-10 10:10:11 -07:00
Andrew McCreight
29d756483c Bug 747251 - remove unused declaration of JS_CompartmentGC. r=billm 2012-05-10 07:59:33 -07:00
Mike Hommey
6cedf102d3 Bug 751845 - Remove pcre source, and cleanup js/src/Makefile.in after bug 691898. r=dmandelin 2012-05-10 12:31:01 +02:00
Nicholas Nethercote
996f6f628f Bug 750606 - Remove TreeContext::parser, thus avoiding cycles between TreeContext and Parser objects. r=bhackett. 2012-04-30 22:20:06 -07:00
Nicholas Nethercote
fcdaa9599f Bug 750580 - Remove cyclic dependency between Parser and BytecodeEmitter modules by introducing a TreeContext module. r=jorendorff.
--HG--
rename : js/src/frontend/BytecodeEmitter-inl.h => js/src/frontend/TreeContext-inl.h
extra : rebase_source : 5f4bc6d40424f6c1e44b3c7344559e19ca067a1b
2012-04-30 17:59:23 -07:00
Boris Zbarsky
3a47108ff7 Bug 753397. Add a field to nsCSSPropList for a preference that controls the property. r=dbaron
The actual controlling is not hooked up yet; that will happen in bug 753522 for
the DOM reflections of properties.
2012-05-09 21:29:37 -04:00
Nicholas Nethercote
6346436929 Bug 750282 - Remove TCF_COMPILING from TreeContextFlags. r=jorendorff.
--HG--
extra : rebase_source : 53a263d5925ccaf659ae1c37d01cc5671576e4b3
2012-05-09 17:31:58 -07:00
Nicholas Nethercote
3f0a25e250 Bug 751818 - Remove DefineGlobal and lots of related stuff. r=jorendorff.
--HG--
extra : rebase_source : 1f666636eab276351bc35b77bd620c3dba127299
2012-05-09 16:20:11 -07:00
Bill McCloskey
3b23a21ff7 Bug 750834 - Disable jit-test bug740509.js (r=NPOTB) 2012-05-09 16:33:04 -07:00
David Rajchenbach-Teller
f2667912e1 Bug 748776 - Record a more precise type in CDataFinalizer::Construct. r=jorendorff 2012-05-09 10:33:30 +02:00
Ryan VanderMeulen
95e442c979 Merge m-c to inbound. 2012-05-09 18:42:00 -04:00
Bill McCloskey
a5f1d03983 Bug 750959 - Permit incremental GC on Android (r=terrence) 2012-05-09 15:35:51 -07:00
Bill McCloskey
734ef1d59f Bug 735944 - about:support should show 0 when incremental GC disabled (r=terrence) 2012-05-09 15:34:08 -07:00
Till Schneidereit
de56f316ae Bug 746253 - Use non-incremental GCs for TOO_MUCH_MALLOC (r=igor) 2012-05-09 15:08:30 -07:00
Brian Hackett
012002f0d2 Don't throw away JIT code for compartments in web pages displaying animations, bug 750834. r=billm 2012-05-09 14:14:10 -07:00
Olli Pettay
c7525b178b Bug 716014 Investigate if we could use CompartmentGC more often, r=billm+terrence
--HG--
extra : rebase_source : f0cfb9cdd2e2823898f4c18402df53e7b6041bac
2012-05-09 21:53:23 +03:00
Kevin Locke
882e9642c4 Bug 752357 - Include compartment location (sandbox name) in compartment name when it differs from the principal name. r=nnethercote.
--HG--
extra : rebase_source : f82959649a377c4f3806043d83506e3aa48b5915
2012-05-08 19:02:37 -07:00
Jim Blandy
e3072c8fdc (No bug): Remove comment referring to deleted functions. r=luke on IRC 2012-05-08 18:05:37 -07:00
Terrence Cole
8bd6a4afe4 Bug 753101 - Re-enable gc-zeal in the shell; r=billm
GCZeal got disabled by accident in Bug 742570.  This patch re-enables it using
the environment and removes the depricated help option.

--HG--
extra : rebase_source : c2553c3f325afbbe1234fbf8fe59c47df936b8b2
2012-05-08 17:33:58 -07:00
Terrence Cole
549398c8a4 Bug 753479 - Make HashTable::Enum::rekeyFront take a separate Lookup; r=luke
--HG--
extra : rebase_source : 7f8b2cda64f34c60f702182f64e370a73a593934
2012-05-04 14:18:28 -07:00
Till Schneidereit
17056d85f2 Bug 723350 - Improve last-ditch GC trigger. r=billm 2012-05-08 18:49:13 -04:00
Luke Wagner
57ad808df2 Bug 747617 - fix document.all and swap JSClass::{construct,hasInstance} so this doesn't happen again (r=bz)
--HG--
extra : rebase_source : 036acbd046ff8b42f81e63933901b6aaaa595a76
2012-05-07 12:44:08 -07:00
Bill McCloskey
7c860dc749 Bug 750538 - Remove jsgcstats.{cpp,h} (r=dmandelin) 2012-05-08 11:14:14 -07:00
Bill McCloskey
1ca53de65f Bug 751454 - Use automarker for XPCNativeScriptableInfo (r=bholley) 2012-05-08 11:11:09 -07:00
Jon Buckley
f4f2e1efb0 Bug 728017 - Implement WEBGL_compressed_texture_s3tc - r=bjacob 2012-05-08 13:29:31 -04:00
Ed Morley
8a8e40fff3 Backout ba7cf6fd10ae (bug 728017) for failing to compile 2012-05-08 18:50:45 +01:00
Jon Buckley
56d33b746c Bug 728017 - Implement WEBGL_compressed_texture_s3tc - r=bjacob 2012-05-08 13:29:31 -04:00
Ryan VanderMeulen
dbbb10d4f3 Merge m-c to inbound 2012-05-07 20:29:19 -04:00
Bill McCloskey
4ee08f1c5e Bug 752098 - Fix script filename marking with incremental GC (r=luke) 2012-05-07 16:56:57 -07:00
Nicholas Nethercote
f1e81b0077 Bug 752381 - Merge System Principal compartments in about:memory. r=jlebar. 2012-05-06 22:05:16 -07:00
Nicholas Nethercote
6c7a2e4a48 Bug 739512: fix Mac and Windows bustage caused by patch 3. r=me. 2012-05-07 10:53:56 +10:00
Nathan Froyd
4e4c07f7b3 Bug 744444 - Part 3: delete CPP_PROG_LINK; r=ted 2012-04-12 16:58:11 -04:00
Nathan Froyd
aebe12273e Bug 744444 - Part 2: delete quantify target and related support; r=ted 2012-04-12 16:56:57 -04:00
Nathan Froyd
916666dddc Bug 744444 - Part 1: delete purify target; r=ted 2012-04-12 16:54:34 -04:00
Jim Blandy
b538ad173b (No bug): Fix comment for callee accessor methods in js::StackFrame. r=luke on IRC 2012-05-09 12:10:17 -07:00
Nicholas Nethercote
6a419f79c8 Bug 739512: Patch 3: shrink the representation of optional arrays in JSScript. r=luke.
--HG--
extra : rebase_source : df3e7190d8afbff1dfe95c44b838d6460b2c11b6
2012-04-11 17:19:00 -07:00
Nicholas Nethercote
96f2fadeb1 Bug 752374 - Fix GCC integer overflow warnings in jsatominlines.h. r=bhackett.
--HG--
extra : rebase_source : aea8276518c71af6817abf096309585d1c8f1d05
2012-05-06 16:43:15 -07:00
Bill McCloskey
a37b5cc6dd Bug 749698 - Setup compartment to collect when gcPoke set (r=igor) 2012-05-06 16:36:21 -07:00
Bill McCloskey
244450a2fe Bug 752081 - Add more cases to IncrementalReferenceBarrier (r=sfink) 2012-05-06 16:33:50 -07:00
Nicholas Nethercote
1ab0e6aade Bug 739512: Patch 11: change JSScript::useCount to uint32_t. r=dvander.
--HG--
extra : rebase_source : 408dd77b28b697140f6ba08680b24cb69c046390
2012-04-11 16:37:57 -07:00
Brian Hackett
b9e5d87ac0 Disallow non-canonical jsids, bug 751331. r=luke 2012-05-06 13:45:19 -07:00
Andrew Paprocki
e565d0e693 Bug 736792 - Add JSOPTION_STRICT_MODE for embedders to force ES5 strict mode for all code without requiring "use strict" annotations. r=njn 2012-05-05 15:26:16 -04:00
Bobby Holley
45e0c007a8 Bug 749173 - Remove AutoPreserveCompartment. r=luke 2012-05-06 13:09:49 +02:00
Phil Ringnalda
6e4683b768 Back out 4ef39e03c9d9 (bug 736792) for jsreftest failures 2012-05-05 21:43:44 -07:00
Andrew Paprocki
6bf009775c Bug 736792 - Add JSOPTION_STRICT_MODE for embedders to force ES5 strict mode for all code without requiring "use strict" annotations. r=njn 2012-05-05 15:26:16 -04:00
Bobby Holley
0d95d0707d Bug 743961 - Null-check context pushing callbacks. r=mrbkap 2012-05-05 18:33:40 +02:00
Jan de Mooij
4b6f27bd2a Bug 752015 - Remove MethodJIT-inl.h. r=bhackett 2012-05-05 18:23:40 +02:00
Ryan VanderMeulen
bc51a0c96c Merge m-c to m-i 2012-05-05 11:50:54 -04:00
Olli Pettay
9d5d8db7e0 Backout Bug 716014, a=bustage 2012-05-05 18:20:09 +03:00
Brian Hackett
0b49a55227 Check that double variables have the correct representation when changing types at switch targets, bug 751320. r=dvander 2012-05-05 07:18:55 -07:00
Ed Morley
6361d5ddd5 Merge mozilla-central to mozilla-inbound 2012-05-05 12:57:25 +01:00
wmccloskey@mozilla.com
6100309277 Bug 716014, use compartment gc more often, JS API part, r=terrence
--HG--
extra : rebase_source : c61a7552611cfbb0ce39bfee7787da57bec5a637
2012-05-05 11:56:58 +03:00
Olli Pettay
b36d55e20b Bug 716014, use compartment gc more often, r=billm
--HG--
extra : rebase_source : cf20b7aca16349e4007da24cfb5b19ab7a16cad8
2012-05-05 11:55:30 +03:00
Ms2ger
9a5ae693e0 Bug 741245 - Remove nsresult return value from nsXPConnect::GetSafeJSContext(); r=bholley 2012-05-05 11:00:05 +02:00
Ms2ger
b11a242059 Bug 745427 - Fix XPCWrappedNativeScope::SetContext; r=gal 2012-05-05 11:00:04 +02:00
Christian Holler
83eee27c9f Bug 751195 - Mark GC function unsafe for AddressSanitizer, r=billm 2012-05-05 02:08:32 -04:00
Ryan VanderMeulen
dddf8fcfda Backout 2c8ae0c81d32 (bug 742391) due to bustage. r=FAIL 2012-05-04 23:03:31 -04:00
Joey Armstrong
adc397fb3a Bug 742391 - Split config/rules.mk - file batch #1. r=ted 2012-05-04 22:46:35 -04:00
Bill McCloskey
3c4a0bf4ce Bug 745034 - Add page fault counts to GC statistics (r=terrence,dmandelin) 2012-04-09 12:30:33 -07:00
Jeff Walden
340a8204d1 Bug 752737 - Delete the default and copy constructors and assignment operator from JSString and JSObject to avoid errors. r=luke
--HG--
extra : rebase_source : 37d8f094e917a097ac1b2ee0d4956f15e46c532c
2012-05-07 16:45:19 -07:00
Luke Wagner
e1a90a627f Bug 752205 - Ensure switch case strings are atoms (r=njn)
--HG--
extra : rebase_source : e91d6c4d5c078e9ae16e7d3bd80e082a564dee57
2012-05-07 08:36:59 -07:00
Terrence Cole
1194eebfb8 Bug 752604 - Ergonomics improvements for HashTable::rekeyFront; r=luke
--HG--
extra : rebase_source : 9764f2db38844106ac13f5281d85464f0b2aff80
2012-05-07 12:46:28 -07:00
Jan de Mooij
ea13dfadcb Bug 738525 - Add IC for getters backed by a JSNative. r=bhackett
--HG--
extra : rebase_source : 7ad0e6625985cb6349285f918570b9aa4ac2780e
2012-05-07 21:17:48 +02:00
Bill McCloskey
b2fd5edfd1 Bug 743879 - Eliminate lazy atoms (r=Waldo) 2012-05-07 10:13:04 -07:00
Bill McCloskey
2ed9ab6a54 Bug 743879 - Backout for build errors (r=bustage) 2012-05-07 10:27:10 -07:00
Boris Zbarsky
15ff74a708 Bug 751077. Skip binding for the XPConnect-default property ops as well when resolving properties on a sandbox prototype. r=bholley 2012-05-07 13:26:50 -04:00
Bill McCloskey
b0e2a9db25 Bug 743879 - Eliminate lazy atoms (r=Waldo) 2012-05-07 10:13:04 -07:00
Bill McCloskey
aea575c644 Bug 747926 - Preserve type tag when overwriting VM stack values (r=bhackett) 2012-05-07 10:12:58 -07:00
Bill McCloskey
421b6bb01c Bug 748119 - Read barrier for js::types::Type (r=bhackett) 2012-05-07 10:12:52 -07:00
Bill McCloskey
c346895d33 Bug 748119 - Disable verifier reachability check (r=bhackett) 2012-05-07 10:12:46 -07:00
Bill McCloskey
d795f500b9 Bug 749039 - Fixup registers when returning from methodjit (r=bhackett) 2012-05-07 10:12:30 -07:00
Bill McCloskey
0253660d2a Bug 715761 - Start to rewrite xpconnect TraceJS code (r=bholley) 2012-05-07 10:01:50 -07:00
Bill McCloskey
8fd6ef2cbb Bug 715761 - Replace xpconnect automarker macros with templates (r=bholley) 2012-05-07 10:01:44 -07:00
Bill McCloskey
194b0556d3 Bug 715761 - Move xpconnect mark bits (r=bholley) 2012-05-07 10:01:39 -07:00
Bill McCloskey
6e431c131a Bug 715761 - Add a comment explaining xpconnect (r=bholley) 2012-05-07 10:01:33 -07:00
Mike Hommey
6042daba22 Bug 751865 - Avoid Preprocessor.py applying filters to file names given on the command line. r=ted 2012-05-07 14:17:47 +02:00
Terrence Cole
9c17250a2d Bug 750547 - Remove unused dead branch in js_AtomizeString; r=Waldo
--HG--
extra : rebase_source : e063dae5c05d8da3687e7ce73465e74a49067ccb
2012-04-30 16:20:10 -07:00
Terrence Cole
9439340e4d Bug 750577 - Use self rooters as needed; r=bhackett
These rooters were introduced in 745742, but not used throughout the method.
2012-04-30 18:08:19 -07:00
Jason Orendorff
c4b35914f5 Bug 738479 - Debugger.Script objects whose referents are non-compile-and-go are crashy. Also fixes bug 746973. r=jimb.
--HG--
extra : rebase_source : 406065559a1e26485503b6d1e4d7eeea9070321f
2012-05-04 10:49:13 -05:00
Jason Orendorff
59f1d8880d Bug 725733 - Fix crash in ScriptAnalysis::addTypeBarrier with Debugger. r=billm.
--HG--
extra : rebase_source : eb7726d3857bb4e0f89a7f669fb2791415979e86
2012-05-03 14:37:35 -05:00
Jason Orendorff
eeeffea415 Only run jit-tests under valgrind if we built the JS engine with valgrind.h. Bug 725733, r=jimb.
--HG--
extra : rebase_source : 06d41845a5f16a05e2483cbfaa254fda5d343c98
2012-05-03 14:36:11 -05:00
Adam
1313db489d Bug 727331 - JS OOM Testing: Assertion failure: !rt->gcRunning, at js/src/jsgc.cpp:2990. r=billm.
--HG--
extra : rebase_source : 5ce0763977c233adeb8a97402a936e3226991671
2012-05-01 10:37:00 -05:00
Jason Orendorff
b442f6158f Bug 749316 - Put Debugger object into chrome scratchpad. r=dcamp,bholley.
--HG--
extra : rebase_source : 12ab275ac9cdfa0e9890c507e30e0b56e4086816
2012-05-01 10:17:32 -05:00
Jason Orendorff
f82689fa60 Bug 745802 - JS OOM Testing: Crash [@ js::HeapId::operator jsid]. r=bhackett.
--HG--
extra : rebase_source : ef4e762c3e63cbcc09247f861c4d7c030b389b10
2012-04-26 15:57:29 -04:00