Commit Graph

24401 Commits

Author SHA1 Message Date
Brian Hackett
fd448d2a8b Bug 835496 - Don't try to fix the types for object initializers with dense elements, r=jandem. 2013-01-29 07:03:38 -07:00
Boris Zbarsky
60309d1fc9 Bug 829252 part 4. Turn on the EventTarget quickstubs. r=peterv 2013-01-29 08:44:01 -05:00
Jon Coppeard
88d0bf3878 Bug 835385 - Also, ensure no GC during Ion compilation r=billm 2013-01-28 18:21:11 +00:00
Jon Coppeard
c87e52e320 Bug 835385 - GC: Fix for some jit test rooting analysis failures r=terrence 2013-01-28 16:43:07 +00:00
Jon Coppeard
fdf03d711e Bug 834766 - Also root some out params r=sphink 2013-01-28 16:41:30 +00:00
Jon Coppeard
05f88cbed6 Bug 834766 - GC: Fix some more rooting issues found by static analysis r=sphink 2013-01-25 17:48:07 +00:00
Jeff Walden
891be940c1 Bug 786135 - Make parseInt(stringStartingWith0ButNot0xOr0X) parse as decimal to comply with ES5. r=dmandelin
--HG--
rename : js/src/tests/js1_8_5/extensions/parseInt-octal.js => js/src/tests/ecma_5/Global/parseInt-default-to-decimal.js
extra : rebase_source : 824fe7e00fbb6ffa38ebba5c43f6c0801f387309
2013-01-28 13:08:32 -08:00
Norbert Lindenberg
10ec616451 Bug 769872 - Add self-hosted JavaScript core of Intl constructors Collator, NumberFormat, DateTimeFormat (part 3). r=jwalden
--HG--
extra : rebase_source : 9029f8b5d03c08a5c56c38934c12e4e6458c1755
2013-01-28 14:03:44 -08:00
Jeff Walden
9f1d235f1e Bug 834988 - Clarify that all the DST-offset methods take a time in UTC seconds, and that the internal fields store UTC values. Also add documentation comments by the related methods. r=dmandelin
--HG--
extra : rebase_source : ee848c192ddafe87cdb8388f0d2b81a0d5e4be9a
2013-01-25 16:50:24 -08:00
Jeff Walden
c6b1acb9c6 Bug 834988 - Invert the meaning of LocalUTCDifferenceSeconds and rename it to UTCToLocalStandardOffsetSeconds. This gives it the same sign/semantics (if different units) as the -8 in UTC-8, and it makes it consistent with ES5's LocalTZA concept. Also add an interface comment with two examples of its behavior. r=dmandelin
--HG--
extra : rebase_source : 3e56a9fcc590c6b42c2782bd30431db8f3464825
2013-01-25 15:46:10 -08:00
Brian Hackett
33f74ff1b3 Bug 833898 - Allow converting mixed arrays of ints and doubles to uniform doubles, r=jandem. 2013-01-29 16:20:03 -07:00
Boris Zbarsky
ad93d158ff Bug 835417 part 3. Add the notion of aliasing DOM stuff to MIR and flag MGetDOMProperty with the right alias set if it's pure. r=jandem 2013-01-29 17:53:53 -05:00
Boris Zbarsky
89d5ad423c Bug 835417 part 2. Implement WebIDL parser and codegen support for marking things pure. r=peterv 2013-01-29 17:53:53 -05:00
Nathan Froyd
cd6a6d521a Bug 835358 - remove unused member nsXPConnect::mScopes; r=bholley
--HG--
extra : rebase_source : 7c5c2152666c9b8eb8860db4d7e39c274f772b5b
2013-01-28 10:37:57 -05:00
Hannes Verschore
0848e86384 Bug 824473: Add testcases for the inlined funapply, r=testcase 2013-01-29 02:29:08 +01:00
Brian Hackett
388669f99c Bug 835140 - Don't treat lambdas inside other functions or loops as run-once, r=luke. 2013-01-28 17:24:35 -07:00
Terrence Cole
ad6be46fcc Bug 835157 - Remove the unused createWithProto methods; r=Waldo
--HG--
extra : rebase_source : 4c26c36c313d5fe551f8e6e607a3ed6f1ecd6fa9
2013-01-27 10:37:20 -08:00
Sean Stangl
91ab29a936 Bug 749358 - Inline MUse storage. r=luke 2013-01-28 15:30:50 -08:00
Terrence Cole
d51fb2712c Bug 706885 - Add a pointer to the JSRuntime on the gc::Chunk; r=billm
--HG--
extra : rebase_source : f6ac0b0db7791b365d0e63f6fea2e5f451964453
2013-01-23 12:22:36 -08:00
Boris Zbarsky
66e49b02aa Back out bug 824589 (rev 22695cac3896) on suspicion of Ts regression 2013-01-29 17:18:06 -05:00
Boris Zbarsky
775587776a Back out bug 829867 (rev 2a0424e177c1) on suspicion of Ts regression 2013-01-29 17:17:37 -05:00
Hannes Verschore
de69ca40ba Bug 835877: Increase inline depth for small functions, r=dvander 2013-01-29 22:17:50 +01:00
Peter Van der Beken
4d5c0010c4 Fix for bug 715156 (JS code no longer work for select options as array in a Greasemonkey script (index and name setters don't really work via XrayWrapper)). r=bz.
--HG--
extra : rebase_source : 2ced75b6d49dbab5afe9a6ce7c322bf18a634026
2013-01-14 11:29:48 +01:00
Bobby Holley
155106260a Bug 830500 - Implement JS_CharsToId. r=Waldo 2013-01-28 14:46:10 +01:00
Ed Morley
cb0790a0ed Backout 3985cb4da6b6, 55ab9f026dc4, f7ead00b7654 and e2108ea96ae5 for a variety of build failures on a CLOSED TREE 2013-01-28 12:19:12 +00:00
Bobby Holley
226296a2ab Bug 830500 - Implement JS_CharsToId. r=Waldo 2013-01-28 12:44:04 +01:00
Ed Morley
bc0702d0d7 Backout f3c145bd1dd2 & 5075690572a9 for OS X startup failures 2013-01-28 11:08:21 +00:00
Hannes Verschore
53cd1ed9e0 Bug 824473: OOM fixes for IonBuilder, r=jandem 2013-01-27 23:40:01 +01:00
Peter Van der Beken
a6ea06e0ab Fix for bug 715156 (JS code no longer work for select options as array in a Greasemonkey script (index and name setters don't really work via XrayWrapper)). r=bz.
--HG--
extra : rebase_source : 6bc420bd917e00a49dc5f6f3de13ff9e290c9580
2013-01-14 11:29:48 +01:00
Kyle Machulis
2ff0659932 Bug 777271 - Re-implement nsIDOMCallEvent using event implementation codegen. r=bent,vicamo,hsinyi 2013-01-28 15:39:50 +08:00
Benjamin Peterson
0b8009e52c Add test for bug 831846. 2013-01-27 21:43:04 -05:00
Matt Brubeck
3edb33b536 Bug 792509 - Allow Metro builds on non-Windows platforms [r=jimm] 2013-01-26 23:45:27 -08:00
Bill McCloskey
4447e28755 Bug 824473 - Fix build errors (r=bustage) 2013-01-27 14:38:43 -08:00
Bill McCloskey
f02075dde3 Bug 751618 - Zone renaming comment fix (r=jonco) 2013-01-27 13:51:41 -08:00
Bill McCloskey
9880d9be50 Bug 751618 - Zone renaming part 9 (r=terrence) 2013-01-27 13:51:41 -08:00
Bill McCloskey
4668793972 Bug 751618 - Zone renaming part 8 (r=terrence) 2013-01-27 13:51:41 -08:00
Bill McCloskey
0e1f799e7b Bug 751618 - Zone renaming part 7 (r=jonco) 2013-01-27 13:51:41 -08:00
Bill McCloskey
500a4cf0cc Bug 751618 - Zone renaming part 6 (r=terrence) 2013-01-27 13:51:41 -08:00
Bill McCloskey
a8af377c9a Bug 751618 - Zone renaming part 5 (r=jonco) 2013-01-27 13:51:40 -08:00
Bill McCloskey
ada638a3a5 Bug 751618 - Zone renaming part 4 (r=terrence) 2013-01-27 13:51:40 -08:00
Bill McCloskey
539bea171f Bug 751618 - Zone renaming part 3 (r=jonco) 2013-01-27 13:51:40 -08:00
Bill McCloskey
20da154356 Bug 751618 - Zone renaming part 2 (r=jonco) 2013-01-27 13:51:35 -08:00
Bill McCloskey
6949e36ae6 Bug 751618 - Zone renaming part 1 (r=jonco) 2013-01-27 12:37:18 -08:00
Bill McCloskey
3983fc5f91 Bug 751618 - Fix assertions in ResetIncrementalGC (r=jonco) 2013-01-27 12:35:42 -08:00
Bill McCloskey
8544cb4e1d Bug 751618 - Add js/GCAPI.h (r=terrence) 2013-01-27 12:35:12 -08:00
Hannes Verschore
faf7655d26 Bug 824473: Nits + fix for ARM builds, r=dvander 2013-01-27 23:11:56 +01:00
Hannes Verschore
0d0c839486 Bug 834500: IonMonkey: Don't forbid ion compilation when JM is disabled and bouncing between IM and the interpreter, r=nbp 2013-01-27 22:51:49 +01:00
Hannes Verschore
4993f9de55 Bug 824473: IonMonkey: Enable inlining of JSOP_FUNAPPLY, r=dvander 2013-01-27 22:51:41 +01:00
Hannes Verschore
f742afbc26 Bug 824473: IonMonkey: Remove use of monitoredTypesReturn to decide when inlining calls, r=dvander 2013-01-27 22:51:32 +01:00
Hannes Verschore
580faed73e Bug 824473: IonMonkey: Structural changes to IonBuilder, r=dvander 2013-01-27 22:51:26 +01:00
Benjamin Peterson
8e5f088c9f Bug 831846 - Enter a script global's compartment before running the expression decompiler on it. r=billm 2013-01-27 15:16:01 -05:00
Brian Hackett
adb8388228 Bug 832364 - Generate optimized paths for element accesses on native objects, r=jandem. 2013-01-26 13:21:27 -07:00
Jan de Mooij
2cf5db424f Bug 825379 - Fix JSContext::findVersion to work with Ion frames. r=dvander 2013-01-26 16:40:06 +01:00
Tom Schuster
9d7b9480f4 Bug 830787 - Move jsscope to vm/Shape. r=jorendroff
--HG--
rename : js/src/jsscopeinlines.h => js/src/vm/Shape-inl.h
rename : js/src/jsscope.cpp => js/src/vm/Shape.cpp
rename : js/src/jsscope.h => js/src/vm/Shape.h
2013-01-26 16:03:19 +01:00
Brian Hackett
eeae3d8a69 Bug 834826 - Eliminate or refactor various unnecessary stack roots, r=terrence. 2013-01-26 07:42:20 -07:00
Jeff Walden
d16ab51821 Bug 830257 - Compute the local time zone offset, not including any offset due to DST, in a different, hopefully more correct, way. r=dmandelin 2013-01-25 22:02:55 +00:00
Sean Stangl
8f2307fcc4 Bug 834762 - yarr/MatchResult.h:58:44: warning: overflow in implicit constant conversion [-Woverflow]. r=warning-spam
From 29c3e8f8ef230a27d2bce0016094b43f812befe0 Mon Sep 17 00:00:00 2001
---
 js/src/yarr/MatchResult.h | 2 +-
 js/src/yarr/YarrJIT.cpp   | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
2013-01-25 16:34:08 -08:00
Nicholas D. Matsakis
aa174a5dd7 Bug 825714 followup: Silence various warnings and make various style corrections. r=billm 2013-01-25 14:09:25 -08:00
Joey Armstrong
ee2eada8c4 bug 747540: fix dependencies for java build 2013-01-25 15:22:13 -05:00
Kannan Vijayan
6360c65059 Bug 834447 - Make Ion entry use AbstractFramePtr instead of StackFrame*. r=sstangl 2013-01-25 11:34:47 -05:00
Jan de Mooij
a9f2829ff4 Bug 833817 part 3 - Replace JSStackFrame with JSAbstractFramePtr. r=luke 2013-01-25 09:49:29 +01:00
Jon Coppeard
6ecb789968 Bug 815542 - crash in IncrementalCollectSlice r=billm
--HG--
extra : rebase_source : d751b3684f6461b094278aa39508417928c2b660
2013-01-25 09:56:04 +00:00
Bobby Holley
800db35b78 Bug 833856 - Handle errors better in EvaluateString. r=bz
This bug happens when we take the !useSandbox path. Basically, when the code
throws, we can end up with garbage in *aRetValue while still returning true
from EvaluateString. It looks like the convention is for these kind of eval
functions to return success even for invalid code, so lets just make sure we
check things a bit better.

This crashtest is kind of half-baked in the sense that it doesn't actually
crash without the rest of the patch. But the testcase here involves a lot of
undefined behavior (what ends up getting left in *aRetValue) during a call
to window.open (which spins the event loop, etc). I already sunk about half
an hour into trying to make it crash, so I'm just going to go with this for
now.
2013-01-25 11:17:40 +01:00
Nicholas D. Matsakis
29d4b19e90 Bug 825714: Refactor JS allocation routines to enable allocation on parallel
threads, and move various ion fields into per-thread-data. r=billm

More detailed:
- A new routine JSObject::parExtendDenseArray() that permits parallel code to
  allocate a dense array on its own Allocator.
- Create an allocation path in the GC for loading a fresh arena as needed
  (ArenaLists::parallelAllocate()).
- Ensure that if GC is triggered during parallel execution, parallel execution
  is aborted and the request is deferred until parallel execution terminates.
- Updates to the ForkJoin/ThreadPool so that they create their own Allocators
  as well as other misc API changes.
- Moves some of the ion-related fields (e.g., |ionTop|) into perThreadData.
- Remove out-of-date malloc tracking fields.
2013-01-24 21:12:44 -08:00
Ryan VanderMeulen
0ec8f1851b Merge m-c to inbound. 2013-01-24 22:47:56 -05:00
Makoto Kato
39914ff1f5 Bug 830676 - YarrJIT is broken on Win64 after landing bug 820124. r=sstangl 2013-01-25 12:09:54 +09:00
Ryan VanderMeulen
bc26304729 Merge the last PGO-green inbound changeset to m-c. 2013-01-24 20:59:19 -05:00
Mike Hommey
ad2788a617 Bug 834429 - Re-export MACOSX_DEPLOYMENT_TARGET after bug 833627. r=ted 2013-01-24 22:11:28 +01:00
Brian Hackett
08de32891b Bug 834242 - Reduce cost of exact stack rooting during property reads, r=terrence. 2013-01-24 20:18:34 -07:00
Ryan VanderMeulen
2a6786e231 Merge m-c to inbound. 2013-01-24 21:09:59 -05:00
Jon Coppeard
8183eae08b Bug 833396 - Fix some rooting issues found by static analysis r=sphink 2013-01-21 17:41:49 +00:00
Nicholas Nethercote
6414ad3a6b Bug 833151 - Avoid unnecessary copy of CompileOptions. r=benjamin.
--HG--
extra : rebase_source : 542536e11e35f31bec2c5811bcfc56e491d6358a
2013-01-23 18:14:38 -08:00
Steve Fink
5f0dd03670 Bug 831961 - fix jsapi-tests rooting hazards from static analysis. r=terrence
https://tbpl.mozilla.org/?tree=Try&rev=3938c588e1d1

--HG--
extra : rebase_source : c566e3137bca925c7c4789bcd477d0cd85fc366e
2013-01-17 11:45:51 -08:00
Brian Hackett
5c1084be65 Bug 832972 - Reduce cost of exact stack rooting during name operations, clean up some GC allocation methods, r=terrence. 2013-01-23 15:22:10 -07:00
Daniel Holbert
78fd9f0665 Back out 06d0d20fbaf1 (bug 825379) for apparently causing bc perma-orange. 2013-01-23 13:07:06 -08:00
Brian Hackett
ee84757fde Bug 832360 - Store an object's class as part of its type, r=jandem. 2013-01-23 12:57:55 -07:00
Jan de Mooij
8852486dba Bug 825379 - IonMonkey: Differential Testing: Getting different output w/without --ion-eager with forEach. r=dvander 2013-01-24 14:10:53 -05:00
Jason Orendorff
a40a589454 Bug 790629 - Fix the value of this in generator-expressions. r=Waldo. 2013-01-07 12:22:26 -06:00
Jason Orendorff
3679accfd3 Bug 828466 - Remove some ParseNode morphing. Part 3, ParseNode::append. r=Waldo. 2013-01-15 18:57:26 -06:00
Jason Orendorff
f51e0f4e23 Bug 828466 - Remove some ParseNode morphing. Part 2, empty statements. r=Waldo with apparently successful fuzz-testing. 2013-01-15 18:57:26 -06:00
Jason Orendorff
10cddcd678 Bug 828466 - Remove some ParseNode morphing. Part 1, FoldConstants. r=Waldo. 2013-01-15 16:12:15 -06:00
Jason Orendorff
6abfa90236 Bug 825699 - jsapi-tests: Silence two bogus error reports to stderr. r=Waldo. 2013-01-07 12:22:25 -06:00
Eddy Bruel
3b181cb142 Bug 568953 - Fix for module object; r=benjamin 2013-01-23 16:58:50 +01:00
Brian Hackett
1b2896bed2 Bug 832578 - Tweaks to improve compilation of element accesses, r=dvander. 2013-01-23 08:43:40 -07:00
Jacek Caban
df46d43449 Bug 831707 - Use -static-libgcc and -static-libstdc++ on mingw r=glandium 2013-01-23 16:04:34 +01:00
Ryan VanderMeulen
bd08b980a7 Merge m-c to inbound. 2013-01-24 07:09:10 -05:00
Mike Hommey
4d9f2c54bd Bug 780561 - Remove now unused bits of the packaging scripts. r=ted 2013-01-23 11:23:15 +01:00
Jon Coppeard
3c1f76d1c6 Bug 833340 - Fix a couple of jittests failing with rooting analysis r=terrence 2013-01-22 17:03:05 +00:00
Jon Coppeard
72831e79be Bug 831750 - GC: testConservativeGC jsapi test fails with rooting analysis r=terrence a=nonlibxul 2013-01-21 11:00:29 +00:00
Jan de Mooij
d61c628e12 Bug 830885 - Factor out interpreter/debugger exception unwinding code. r=jorendorff a=nonlibxul 2013-01-22 09:46:52 +01:00
Jan de Mooij
b925fe9986 Bug 832950 - Remove frame annotations from SpiderMonkey. r=luke a=nonlibxul 2013-01-22 09:34:17 +01:00
Brian Hackett
ae02ae1919 Bug 832329 - Improve analysis of definite properties for 'new' scripts, r=jandem, a=nonlibxul. 2013-01-21 17:10:21 -07:00
Hannes Verschore
d5a1119abc Bug 831087 - IonMonkey: Differential Testing: Getting different output w/without --ion-eager with /= r=mjrosenb a=nonlibxul 2013-01-21 13:26:26 -08:00
Jan de Mooij
6f41fe1cad Bug 832373 part 1 - Refactor eval-in-frame to use AbstractFramePtr. r=luke 2013-01-21 13:58:50 +01:00
Nicholas Nethercote
1d5169b3d1 Bug 394311 - Stop building with -pedantic. r=ted,dbaron.
--HG--
rename : content/svg/content/nsISVGPoint.cpp => content/svg/content/src/DOMSVGPoint.cpp
rename : docshell/test/browser/browser_bug234628-9.js => docshell/test/browser/browser_bug134911.js
rename : layout/reftests/w3c-css/submitted/values3/calc-background-image-gradient-1-ref.html => layout/reftests/css-calc/background-image-gradient-1-ref.html
rename : layout/reftests/w3c-css/submitted/values3/calc-background-image-gradient-1.html => layout/reftests/css-calc/background-image-gradient-1.html
rename : layout/reftests/w3c-css/submitted/values3/reftest.list => layout/reftests/css-calc/reftest.list
rename : layout/reftests/text/auto-hyphenation-10-ref.html => layout/reftests/text/auto-hyphenation-10.html
rename : layout/reftests/text/auto-hyphenation-8-ref.html => layout/reftests/text/auto-hyphenation-8.html
rename : layout/reftests/text/auto-hyphenation-9-ref.html => layout/reftests/text/auto-hyphenation-9.html
extra : rebase_source : 012df725d55b031ccc03d9bfcf785056d95a2ebe
2013-01-20 14:12:42 -08:00
Jon Coppeard
051f3c8c36 Bug 832363 - GC: Rooting updates to jsdate.cpp r=sphink 2013-01-18 17:36:24 +00:00
Mike Hommey
fa66112164 Bug 833253 - Don't rely on eval during recursive expansion for nsinstall_is_usable. r=ted 2013-01-23 10:13:04 +01:00
Mike Hommey
651db16a7c Bug 833627 - Reject gcc < 4.4, and remove a few unused Xcode related variables. r=ted 2013-01-23 10:13:02 +01:00
Brian Hackett
4bd948e772 Bug 821361 - Optimize type information in closures that only run once, r=luke. 2013-01-20 02:49:21 -07:00
Brian Hackett
fc6b99d448 Bug 832425 - gcPreserveCode() should be defined when not using JS_GC_ZEAL, r=h4writer. 2013-01-19 17:30:05 -07:00
Steve Fink
57a2c2471b Bug 828753 - jsid rooting, mostly in jsinfer.*. Also switch JSObject from struct to class. r=terrence 2012-12-31 12:40:21 -08:00
Mike Hommey
34889d7845 Bug 831790 - Use the buildconfig python module for expandlibs_config. r=ted
--HG--
rename : config/expandlibs_config.py.in => config/expandlibs_config.py
rename : js/src/config/expandlibs_config.py.in => js/src/config/expandlibs_config.py
2013-01-19 09:45:50 +01:00
Brian Hackett
52e25ae69f Bug 832042 - Reduce cost of exact stack rooting during addition operations, r=terrence. 2013-01-18 20:35:08 -07:00
Bobby Holley
b7fb048ffe Bug 823348 - Tests. r=mrbkap
We tack these onto the tests from bug 812415, adding coverage for
nsExpandedPrincipal and making sure that the waivers are deep.

We also take the opportunity to check the asymmetric security
relationship between a principal and its corresponding nsEP.
2013-01-23 06:04:39 +01:00
Bobby Holley
f20eabe075 Bug 823348 - Stop checking for Xray waivers in the Xray machinery. r=mrbkap
All the casese where we want to waive should now be going through WaiveXrayWrapper.
2013-01-23 06:04:39 +01:00
Bobby Holley
c82ae67593 Bug 823348 - Replace security wrapper enumeration with a more rule-based approach. r=mrbkap 2013-01-23 06:04:39 +01:00
Bobby Holley
4b3c0f19a3 Bug 823348 - Hoist special cases to the top of WrapperFactory::Rewrap. r=mrbkap
This paves the way for more rule-based selection of wrappers in the common case.
2013-01-23 06:04:39 +01:00
Bobby Holley
6284ce3329 Bug 823348 - Move COW prototype remapping out of wrapper selection. r=mrbkap
It's pretty orthogonal, and makes the critical block more complicated than it
needs to be.
2013-01-23 06:04:39 +01:00
Bobby Holley
39970d33e6 Bug 823348 - Precompute various parameters in Rewrap. r=mrbkap
This is generally cleaner, and avoids potentially calling these functions
multiple times when we start moving this stuff around.
2013-01-23 06:04:39 +01:00
Bobby Holley
7124dc509b Bug 823348 - Use GetXrayType for content->chrome Xray wrappers. r=mrbkap
There's no reason to do this any different than we do for XOWs and such. The
only thing this might conceivably support would be certain chrome XPWNs-as-COWs.
But that would require that they forced a parent in precreate without being
flagged as DOM objects in classinfo. And it's not clear why we'd want to support
that. And we're generally moving away from COWs anyway.
2013-01-23 06:04:39 +01:00
Bobby Holley
1aedd25af4 Bug 823348 - Use EnsureCompartmentPrivate In Rewrap and stop checking for null. r=mrbkap 2013-01-23 06:04:39 +01:00
Bobby Holley
72ddba04a7 Bug 823348 - Flip off the wantXrays for chrome sandboxes. r=mrbkap
wantXrays means that the sandbox wants Xray wrappers even when accessing same-
origin content. The default is true, which Blake says has something to do with
GreaseMonkey and days of old.

This flag never had an effect for chrome, because the chrome->chrome case always
short-circuited to &CrossCompartmentWrapper::singleton. But once we start
respecting the flag as a general-purpose indicator that Xrays should be applied
same-origin, we need to either add a special case in Rewrap or make the flag reflect
reality. The latter seems cleaner and more sane.

However, things are complicated by the fact that there's also a completely different,
orthogonal usage, whereby setting wantXrays to false implicitly waives Xray on the
returned sandbox _and_ on any results returned from evalInSandbox. This is just nuts.
The former can be accomplished by callers manually using .wrappedJSObject, and the
latter by having EvalInSandbox transitively apply waivers from their sandbox arguments.

I've updated the documentation on the MDN page so that it only describes the
reasonable usage. The next step is to get rid of the crazy behavior. I think the
best path of migration is to have wantXrays: false keep implicitly waiving, but
waive return values from EvalInSandbox based on whether the argument was waived. This
patch does that.
2013-01-23 06:04:39 +01:00
Bobby Holley
33983c1d00 Bug 823348 - Make NNXOWs use an explicitly opaque Policy. r=mrbkap
There's no reason to be doing a dynamic check here, given that the JSClasses
will never match. Lets be explicit and safe.
2013-01-23 06:04:38 +01:00
Bobby Holley
165e39b43e Bug 823348 - Do a better job of lying about the holder and make assertions fatal. r=mrbkap
I noticed this nonfatal assertion firing, unrelated to my patches. Leaking
the holder is not so great. Let's fix this for real.
2013-01-23 06:04:38 +01:00
Bobby Holley
ddf7e9edc1 Bug 823348 - Remove broken and unused __scriptOnly__ check. r=mrbkap
__scriptOnly__ is unused on mxr and addons-mxr. Morevoer, the current
implementation is totally broken, because we check for NNXOW, which only
happens when a random content JS object ends up in some other cross-origin
scope (via addons, presumably), whereas chrome objects use ChomeObjectWrapper.

I'm soon going to replace SCRIPT_ACCESS_ONLY with checked unwrapping, and mark
all COWs as unsafe to unwrap (see bug 821573 and bug 658909). So let's just kill
this thing here.
2013-01-23 06:04:38 +01:00
Bobby Holley
d66093b809 Bug 823348 - Don't set universalXPConnectEnabled for chrome compartments. r=mrbkap
There's a browser-chrome test that does this, which means that _all_ subsequent
browser-chrome tests inherit it. So depending on the ordering of cases in
WrapperFactory, we might end up using a CrossCompartmentWrapper rather than an
XrayWrapper, meaning that stuff like nodePrincipal doesn't work anymore.

The semantics of UniversalXPConnect are now entirely dicatated by what makes
our test suite go green. So let's not force ourselves to bend over backwards
during wrapping to handle this case. And let's fix that stupid test while
we're at it.
2013-01-23 06:04:38 +01:00
Bobby Holley
36a6df18c4 Bug 823348 - Uninline UniversalXPConnect management. r=mrbkap
Every time the layout of CompartmentPrivate changes, I forget to rebuild in
caps/ and spend half an hour wondering what the heck is going on. :-(
2013-01-23 06:04:38 +01:00
Ehsan Akhgari
16e89b722a Bug 833631 - Unprefix mozAudioContext; r=roc
--HG--
extra : rebase_source : 3c477a97ea842a806f6fad6f5c3a81d6e50b27c3
2013-01-22 20:12:21 -05:00
Eddy Bruel
e1f5f5b9e2 Bug 568953 - Fix for build warning; r=Ms2ger 2013-01-21 19:02:41 +01:00
Bill McCloskey
ec777c5805 Bug 833163 - Remove bogus scheduledForDestruction assertion (r=luke) 2013-01-22 14:15:25 -08:00
Daniel Holbert
349a03db26 Bug 833405: Don't treat deprecated-declarations build warnings as errors, in --enable-warnings-as-errors builds. r=ted 2013-01-22 13:28:16 -08:00
Justin Lebar
8142ddc91e Bug 832620 - Skip the GCC <= 4.4 version check when building with clang. r=glandium 2013-01-22 16:14:27 -05:00
Justin Lebar
8819b682a4 Bug 832623 - Disable -fstrict-aliasing in the JS engine for gcc <= 4.4 on all platforms, not just Linux/Android. r=glandium 2013-01-22 16:14:27 -05:00
Jan de Mooij
0259f0ae64 Bug 832373 part 2 - Refactor initExecuteFrame to use AbstractFramePtr. r=luke a=nonlibxul 2013-01-22 14:33:43 +01:00
Jan de Mooij
63ce894f6d Bug 831754 part 2 - Add patchable call instruction, x86/x64 part. r=dvander a=nonlibxul 2013-01-22 14:33:36 +01:00
Jan de Mooij
1a46e13a3a Bug 831754 part 1 - Add patchable call instruction, ARM part. r=mjrosenb a=nonlibxul 2013-01-22 14:33:07 +01:00
Jan de Mooij
e4ecfdd0b6 Bug 833817 part 1 - Remove unused JSStackFrame API functions. r=luke
--HG--
extra : rebase_source : 95bf7acfa40ce4c70120a65bd3b15748da457dbc
2013-01-24 20:39:24 +01:00
Bill McCloskey
486acaf684 Remove LIFO invariants from the enumerator list (bug 831626, r=billm).
--HG--
extra : rebase_source : f3ff97bee7484820c45be04c0688a9c8d51bbe7f
2013-01-24 11:17:41 -08:00
Jason Orendorff
7d6b00e061 Fix up a recently busted test that apparently does not run on tinderbox. No bug#, no_r=me. 2013-01-24 13:00:20 -06:00
Nicolas B. Pierron
2dc69ff68b Bug 830086 - Do not add read property stubs for proxies. r=djvj 2013-01-24 10:32:01 -08:00
Benjamin Smedberg
4ae6c6425a Bug 833863 - Don't install js/src/ds/SplayTree.h, put MFBT first in the js/src/Makefile.in VPATH, r=khuey 2013-01-24 11:34:58 -05:00
Luke Wagner
bebb8515b0 Bug 834108 - avoid O(n^2) chunk-searching in LifoAlloc::ensureUnusedApproximate (r=dvander)
--HG--
extra : rebase_source : d3cb159978d10e6f74984d8556784081b2c940b9
2013-01-24 14:36:17 -08:00
Terrence Cole
85b0b5a254 Bug 803182 - Make the js shell stack limit match the browser's; r=dmandelin
This should help ensure that recursion errors found in the shell actually
represent real errors. This also attempts to account for the difference in size
between debug and optimized builds to the size of js::Interpret's stack frame.
2012-10-29 13:36:41 -07:00
Luke Wagner
49c211df20 Bug 832094 - make the top-level function ParseNode always be a PNK_FUNCTION (r=jorendorff)
--HG--
extra : rebase_source : f6af6da88e185ccc62152ef1013dfeba1418cbc7
2012-11-28 16:33:00 -08:00
Luke Wagner
f7323d0f91 Bug 832085 - Never bail in truncated LModI/LModPowTwoI/LModMaskI (r=hv1989)
--HG--
extra : rebase_source : efa4ec10c37fdec3861ac5097db7c5b5c2ade63b
2012-12-07 18:54:05 -08:00
Luke Wagner
fd2cdad54e Bug 832085 - Simplify LModI codegen (r=hv1989)
--HG--
extra : rebase_source : a4790f4036478b274f461bcf5052c7f88dd32889
2012-12-07 18:54:05 -08:00
Luke Wagner
3749cbcb3b Bug 832085 - Never bail in truncated LDivI (r=hv1989)
--HG--
extra : rebase_source : 1e03a172ddd450a2d63822b2a0522efc6429fa76
2012-12-07 18:54:05 -08:00
Luke Wagner
7dfc3008fd Bug 832079 - IonMonkey: common out MDiv lowering (r=dvander)
--HG--
extra : rebase_source : 5afa690efc26a859ceb980dddfeaa27a505cf9d6
2012-12-07 18:54:05 -08:00
Luke Wagner
abe8490917 Bug 832073 - s/ScaleFromShift/ScaleFromElemWidth/ (r=dvander)
--HG--
extra : rebase_source : 113e5770c8f6c6ad67e55bdd341e79e03bb29ff9
2012-12-14 10:27:15 -08:00
Luke Wagner
e42dd44ea4 Bug 832071 - Replace custom AutoDestroyAllocator with ScopedJSDeletePtr (and rename ScopedDeletePtr to ScopedJSDeletePtr) (r=dvander)
--HG--
extra : rebase_source : 84229d3a9453d3f4aab8a84583b6e0d1e0e3a0a4
2012-11-01 21:35:21 -07:00
Luke Wagner
ca5f4b622a Bug 832070 - LTruncateDToInt32 doesn't need a snapshot (r=sstangl)
--HG--
extra : rebase_source : 0c273db1eb30aa2a51571ac31ce7d160792b61a4
2012-12-07 18:54:05 -08:00
Luke Wagner
d695bb6ba6 Bug 832065 - don't use resume point to iterate over phis (r=sstangl)
--HG--
extra : rebase_source : 0c54df0ad7fb5daba820efaa49a1d8eb7e355104
2012-11-28 15:19:39 -08:00
Luke Wagner
90c40ef9e6 Bug 832063 - unify Assembler::flush/finish (r=mrosenberg)
--HG--
extra : rebase_source : baa26470724b55df9b7945fc16f4e697a4ec703e
2012-12-20 19:12:24 -08:00
Luke Wagner
b0f73dd733 Bug 832090 - make HashMap/Set movable (r=terrence)
--HG--
extra : rebase_source : 7c6a7a0d03bf361f2ee7c853f7f07bf15841b21b
2012-11-28 15:19:39 -08:00
Benjamin Peterson
a03201b56b Bug 832151 - Make js_ErrorFormatString const. r=jorendorff
--HG--
extra : rebase_source : 4281941f6c31d5e8a5b6af1662e8f67ba722c934
2013-01-18 19:35:37 -05:00
Terrence Cole
db32ef9d0d Bug 832489 - Un-bitrot the post barrier verifier; r=billm
--HG--
extra : rebase_source : 2c385bcc55f952dc7795c8770af6faeafb172ee8
2013-01-18 10:04:17 -08:00
Tom Schuster
ac9cdea279 Bug 830590 - GC: ArrayToIdVector's trapName needs to be a Handle. r=terrence 2013-01-18 22:44:52 +01:00
Tom Schuster
506cc3991b Bug 799602 - Update JS Unicode support to 6.2.0. r=jwalden 2013-01-18 22:44:46 +01:00
Steve Fink
380ecf9335 Backed out changeset fce4e0f8a553 (bug 828753) for breaking windows warnings-as-errors (stop adding JSObject forward decls, please!) 2013-01-18 13:20:21 -08:00
Steve Fink
01f8a5b4d8 Bug 828753 - jsid rooting, mostly in jsinfer.*. Also switch JSObject from struct to class. r=terrence
--HG--
extra : rebase_source : c8806b27677594925ad0e6b54c47af5cf17e1153
2012-12-31 12:40:21 -08:00
Christian Holler
4271fb7467 no bug - Disable jit-test auto-regress/bug735313.js for further investigation. r=orange 2013-01-18 21:28:28 +01:00
Terrence Cole
5012959b6b Bug 831581 - Don't poison pointers embedded in the inline asm buffer; r=bhackett
--HG--
rename : docshell/test/browser/browser_bug234628-8.js => docshell/test/browser/browser_bug134911.js
extra : rebase_source : 7a73219b7e2e02869b521da853a764bb34a3cef6
2013-01-17 08:42:00 -08:00
Benjamin Peterson
7cc374989b Bug 830389 - Assert js_ValueToSource recieves a value in the correct compartment. r=billm 2013-01-18 14:31:28 -05:00
Benjamin Peterson
19afdbc5b5 Bug 832141 - Rename js_ValueToSource to ValueToSource and make it internal. r=luke 2013-01-18 14:30:32 -05:00
Irving Reid
7deeb3fb59 Bug 818958: Tell SPSProfiler when the JS runtime shuts down r=luke 2013-01-18 12:04:35 -05:00
Brian Hackett
1d6829d215 Bug 772820 - Disallow GCs during script analysis or compilation, r=billm. 2013-01-18 09:23:28 -07:00
Jon Coppeard
86b7186854 Bug 831733 - GC: Transplant jsapi test (testBug604087) fails with rooting analysis r=billm 2013-01-17 10:09:14 +00:00
Jon Coppeard
4a0db26bd0 Bug 831386 - GC: ChromeBuffer jsapi test fails under rooting analysis r=terrence 2013-01-16 18:42:04 +00:00
Christian Holler
3f75a0f7d9 Bug 831629 - Add 291 missing jit-tests for various bugs. rs=terrence 2013-01-18 15:36:28 +01:00
Brian Hackett
27d52b616d Bug 831822 - Fix various rooting hazards and unnecessary roots found by static analysis, r=terrence. 2013-01-18 06:48:13 -07:00
Eddy Bruel
e42e11cab3 Bug 568953 - Implement ModuleBox; r=jorendorff 2013-01-18 14:24:09 +01:00
Eddy Bruel
567f771d25 Bug 568593 - Refactor SharedContext; r=jorendorff 2013-01-18 14:21:32 +01:00
Eddy Bruel
f044eb2056 Bug 568953 - Implement Module objects; r=jorendorff 2013-01-18 14:18:07 +01:00
Benjamin Peterson
fc11f79e85 Bug 832148 - Remove AutoPtr. r=njn
--HG--
extra : rebase_source : b798d2ac8c56bd610cd52bc3ac86f585c18055c8
2013-01-18 00:16:27 -05:00
Sean Stangl
31482b3628 Bug 831658 - Handle multiple RegExpShareds in the same compartment. r=dvander 2013-01-17 18:03:34 -08:00
Nicholas Nethercote
004a30a0a5 Bug 832026 - Measure JSRuntime::bumpAlloc_ in the JS memory reporter. r=sstangl.
--HG--
rename : js/src/tests/lib/jittests.py => js/src/jit-test/jit_test.py
rename : layout/reftests/w3c-css/submitted/values3/calc-background-image-gradient-1-ref.html => layout/reftests/css-calc/background-image-gradient-1-ref.html
rename : layout/reftests/w3c-css/submitted/values3/calc-background-image-gradient-1.html => layout/reftests/css-calc/background-image-gradient-1.html
rename : layout/reftests/w3c-css/submitted/values3/reftest.list => layout/reftests/css-calc/reftest.list
rename : layout/reftests/text/auto-hyphenation-10-ref.html => layout/reftests/text/auto-hyphenation-10.html
rename : layout/reftests/text/auto-hyphenation-8-ref.html => layout/reftests/text/auto-hyphenation-8.html
rename : layout/reftests/text/auto-hyphenation-9-ref.html => layout/reftests/text/auto-hyphenation-9.html
rename : services/common/servicesComponents.manifest => services/sync/SyncComponents.manifest
extra : rebase_source : 6b9d955241e189e52c6145f3fb4c3169ec834b78
2013-01-17 17:50:21 -08:00
Sean Stangl
399f338543 Bug 831884 - Prevent calling MatchOnly on Win64 as a stopgap. r=dvander 2013-01-17 17:40:52 -08:00
Jan de Mooij
df31c7e09a Bug 830943 - Fix tableswitch block ordering. r=dvander
--HG--
extra : rebase_source : da4c7bec4842de2787cdc1f3b03a3182b50004a7
2013-01-17 21:44:59 +01:00
Tim Lunn
8963608031 Bug 829421 - Free ArgumentsData if JSObject allocation fails. r=nbp 2013-01-17 11:59:00 -08:00
Marco Bonardo
03120fa78b Backout e7e4224b8c8d (bug 829421) for bustage on a CLOSED TREE 2013-01-17 19:54:10 +01:00
Tim Lunn
47612dfac6 Bug 829421 - Free ArgumentsData if JSObject allocation fails. r=nbp 2013-01-17 10:22:20 -08:00
Boris Zbarsky
d53ec45102 Bug 823228 part 2. Move indexed property access on windows from nsWindowSH::GetProperty to the outer window proxy. r=bholley 2013-01-17 12:30:37 -05:00
Terrence Cole
1189bd18fb Bug 829830 - Exactly root the fields in StackIter; r=nbp 2013-01-14 18:02:24 -08:00
Terrence Cole
c0f45e01f5 Bug 799248 - Remove the SkipRoot in NewShortString; r=billm
--HG--
extra : rebase_source : f73996e2246b2b75df01189ae057dc0332ba41c9
2013-01-15 13:51:56 -08:00
Jon Coppeard
148b45d1c6 Bug 831291 - GC: jsapi test Debugger fails under rooting analysis r=billm
--HG--
extra : rebase_source : 5ee77ba14d8e9e68db2c16ba8767021f9ee959b5
2013-01-16 18:42:04 +00:00
Jon Coppeard
0f4bba3d10 Bug 831216 - GC: jsapi test GCFinalizeCallback fails under rooting analysis r=billm
--HG--
extra : rebase_source : a7d08a2cbf6d7046b694c06ad4ac54bb9dd93d7c
2013-01-16 18:42:04 +00:00
Jon Coppeard
3b4fe51fc9 Bug 831370 - Rename IsAddressableGCThing to GetAddressableGCThing, now that it returns void* r=terrence
--HG--
extra : rebase_source : 9db61816fedf1e32d80814cbb231ec80f9904db5
2013-01-16 18:40:27 +00:00
Irving Reid
9dc4426d8d Bug 831459: use RawScript in JMChunkInfo::Convert() to prevent UnrootedScript construction in signal handler r=billm 2013-01-16 23:10:46 -05:00
Jeff Walden
dd2fbe0549 Fix some used-but-not-defined warnings, and some format-string warnings about needing to cast T* to void* for the %p specifier. No bug, r=themaid 2013-01-16 19:47:34 -08:00
Bobby Holley
2780e92307 Bug 824864 - Implement nsContentUtils::GetObjectPrincipal. r=bz
The SSM interface is super awkward.
2013-01-16 18:50:25 -08:00
Bobby Holley
057de60a8d Bug 825395 - Add debug checking for interleaved nsCxPusher and JSAutoEnterCompartment. r=bz,luke 2013-01-16 18:50:25 -08:00
Christian Holler
e17d414972 Bug 829598 - Make js/src/jit-test/tests/gc/bug-820186.js a slow test. r=jandem, DONTBUILD 2013-01-16 16:14:08 +01:00
Jon Coppeard
a1c1778179 Bug 831205 - Fix GCC warning "comma at end of enumerator list". r=billm DONTBUILD 2013-01-16 17:24:28 -08:00
Jeff Walden
f9df2fd3e0 Bug 719659 - Add -std=gnu99 to CFLAGS so that gcc and friends permit use of C99 constructs without warnings. This doesn't mean that everything in C99 is permitted now -- only the stuff supported by all the compilers we care about, including MSVC. r=espindola
--HG--
extra : rebase_source : 5fdfd130f529e1dfbc9ec48ecc9e83186c844c39
2013-01-16 17:01:52 -08:00
Jeff Walden
850da9c953 Add a JSObject::addDataProperty overload that takes Handle<PropertyName*>, to preserve the name/element distinction further when possible, anticipating future property-splitting work. No bug, r=sparky
--HG--
extra : rebase_source : 2fe4e9819bf8ab23b163889411b5d1fa74d59597
2012-12-27 11:20:22 -06:00
Jeff Walden
ee65e29d55 Bug 830871 - Remove JS_FRIEND_API from js_GetClassPrototype as it isn't (and shouldn't be) used outside SpiderMonkey. r=jorendorff
--HG--
extra : rebase_source : aefa8e56c479bec12b9237e1479c34bbf2c88d19
2013-01-11 11:59:50 -08:00
Trevor Saunders
9f0ad48b28 bug 822289 - remove NS_IMPL_CYCLE_COLLECTION_CLASS and friends r=mccr8 2013-01-12 07:40:33 -05:00
Andrew McCreight
b934f7fc9a Bug 829430 - Use the right check for if we're GCing. r=billm 2013-01-15 09:10:36 -08:00
Andrew McCreight
4333b34cb1 Bug 829798 - Add dummy PreserveWrapper to JS shell. r=billm 2013-01-15 10:14:12 -08:00
Ehsan Akhgari
0ac1915364 Merge mozilla-central into mozilla-inbound 2013-01-16 17:32:13 -05:00
Brian Hackett
636944388c Bug 830042 - Tolerate objects/strings with a null payload when marking VM stack, r=billm. 2013-01-16 14:48:10 -07:00
Gregory Szorc
5607e0ec9e Merge mozilla-central into build-system 2013-01-16 12:37:21 -08:00
Gregory Szorc
c96759064d Bug 784841 - Part 5: Integrate virtualenv into SpiderMonkey configure; r=glandium
Python and virtualenv logic is now contained within an m4 file.
SpiderMonkey now requires the mozilla-central virtualenv environment to
build. If SpiderMonkey configure is invoked by mozilla-central's
configure, the virtualenv will be reused. If SpiderMonkey configure is
invoked in isolation, it will search for the virtualenv in the
mozilla-central root.
2013-01-16 00:21:06 -08:00
Gregory Szorc
4563ba02a8 Bug 784841 - Part 4: Use os.path.relpath in ConfigStatus.py; r=glandium
We now require Python 2.7 and os.path.relpath is always available.
2013-01-15 22:22:56 -08:00
Hannes Verschore
9e286ca025 Bug 827821: IonMonkey: Create |this| on callee side when failing on caller side, r=jandem 2013-01-16 11:48:15 +01:00
Jon Coppeard
42021a3050 Bug 830839 - Make rooting analysis ignore atom rooting r=terrence
--HG--
extra : rebase_source : 61621402a1cfdf3fa14ae186ae68495903e41f1a
2013-01-16 10:12:37 +00:00
Brian Hackett
91b11a04a3 Bug 831040 - Disallow GCs during error reporting for allocation and string/inflate bad inputs, r=terrence. 2013-01-16 14:03:59 -07:00
Brendan Eich
ac563b577c Bug 810525 - unregress DecompileValueGenerator change to handle object literal reference bases (r=jandem). 2013-01-15 18:17:50 -08:00
Steve Fink
1c128ab866 Bug 822041 - Temporary diagnostic for tracking down intermittent failures in JS profiling. r=jorendorff
--HG--
extra : rebase_source : e3465205c2f862654155243f71604c6ba29498c3
2013-01-08 21:39:54 -08:00
Sean Stangl
f184579a30 Bug 829758 - use MatchOnly mode for str_search(). r=dvander 2013-01-15 15:35:25 -08:00
Brian Hackett
d7567c2f79 Bug 830967 - Don't skip sparse elements in 'this' when optimizing Array.concat, r=billm. 2013-01-15 15:03:44 -07:00
Nicolas B. Pierron
ba1f6b5a3b Bug 818023 - fun_getProperty: Use non-buitin script iterator. r=waldo 2013-01-15 13:36:14 -08:00
Terrence Cole
551807c983 Bug 638219 - Followup to put back the execute bit on jit_tests.py; r=djc
--HG--
extra : rebase_source : 8c8c86a62746fe1ce37a31668b5fbce5b1dd472e
2013-01-15 11:59:40 -08:00
Shu-yu Guo
0d2f52bb67 Bug 830269 - Thread the callee typeset through instead of incorrectly recomputing (r=dvander) 2013-01-15 11:12:48 -08:00
Boris Zbarsky
cf92b8ecdd Bug 828139. Expose a friend API for AppendUnique. r=waldo 2013-01-15 14:04:24 -05:00
Mats Palmgren
94ede408a1 Bug 786533 - On Windows, one of the system header files (windef.h) defines 'min' and 'max' as macros which breaks any use of std::min/std::max. Define NOMINMAX before including system header files where needed to avoid defining those macros. r=ehsan 2013-01-15 13:22:03 +01:00
Mats Palmgren
6c53161814 Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan 2013-01-15 13:22:03 +01:00
Jan de Mooij
c806b39b42 Bug 830369 - Refactor ScriptDebugPrologue and ScriptDebugEpilogue to use AbstractFramePtr. r=djvj
--HG--
extra : rebase_source : 86e1709f8b46556152001f890caa7baf2e2bddb0
2013-01-15 09:29:23 +01:00
Sean Stangl
00e1f51f1d Bug 820124 - Follow-up fix: handle prebarrier on raw pointer, fixing a CLOSED TREE. 2013-01-14 17:44:45 -08:00
Ehsan Akhgari
5d3c9b630e Bug 830458 follow-up: mirror the changes in the js copy to unbreak builds, landed on a CLOSED TREE 2013-01-14 20:28:41 -05:00
Sean Stangl
b8c12fbc57 Bug 820124, Part 2/2 - Handle fast removal in str_replace(). r=dvander 2013-01-11 17:19:53 -08:00
Sean Stangl
51920c3c44 Bug 820124, Part 1/2 - Use RegExpShared for lazy RegExpStatics. r=dvander 2013-01-11 17:19:31 -08:00
Dirkjan Ochtman
6c14a3fe11 Bug 638219: move JIT testing code closer to other JS test code; r=terrence
--HG--
rename : js/src/jit-test/jit_test.py => js/src/tests/lib/jittests.py
extra : rebase_source : 361c4b509ba263b406c8eb1ee6f3ff57462fc509
2013-01-14 21:16:44 +01:00
Jon Coppeard
9fe31e9b56 Bug 830332 - jittest gc/incremental-state.js fails if rooting analysis enabled r=billm
--HG--
extra : rebase_source : f4abcc5eb03229f9725181887b3d239acccd2392
2013-01-15 17:57:30 +00:00
Terrence Cole
912e1ad2ed Bug 811060 - Move DeflateString out of jsstr and make it Typey; r=Waldo
--HG--
extra : rebase_source : 9d239c525e8b0c04a63770d4ed732c9c6da54a2c
2012-11-09 09:45:25 -08:00
Brian Hackett
2659046f34 Bug 830049 - Don't crash when trying to attach caches for property sets on non-native objects, r=dvander. 2013-01-14 16:24:27 -07:00
Brian Hackett
9af439c4d7 Bug 829795 - Tolerate statically known dense arrays during JM compilation, r=dvander. 2013-01-14 16:19:37 -07:00
Brian Hackett
f46a1207b1 Bug 829813 - Cleanup API for marking/testing implicit properties, r=billm. 2013-01-14 16:15:30 -07:00
Brian Hackett
412a34b9af Bug 829175 - Allow reentering JM code if Ion was compiled for a different OSR point, r=dvander. 2013-01-14 16:08:15 -07:00
Brian Hackett
65fbbd8ea7 Bug 829813 - Add more checks for dense element lookup results, r=billmm. 2013-01-14 14:46:32 -07:00
Jan de Mooij
f94e38778e Bug 829554 follow-up - Rename TaggedFramePtr to AbstractFramePtr, fix some GCC warnings. r=luke 2013-01-14 21:50:30 +01:00
Sean Stangl
43e027abe1 Bug 826581 - Follow-up fix. r=dvander 2013-01-14 12:47:20 -08:00
Kannan Vijayan
53492a52ce Bug 829352 - Add orPtr(Register, Register) variant to IonMacroAssembler. r=mjrosenb on irc 2013-01-14 15:21:06 -05:00
Jon Coppeard
2c4cbc65a3 Bug 826673 - GC: Only finish sweeping the current compartment group on reset r=billm
--HG--
extra : rebase_source : ccf87362e671c9bd90109816444f5b293b17d997
2012-12-13 14:28:13 +00:00
Jon Coppeard
73d1590a96 Bug 826650 - GC: Recalculation of GC fullness in EndSweepPhase broken r=billm
--HG--
extra : rebase_source : cac1534972ae56c5edeb2635dfd9c227209f69d9
2013-01-03 18:34:35 +00:00
Kannan Vijayan
9d58b2fcc6 Bug 807498 - Do type monitoring on disabled GetElem ICs. r=sstangl 2013-01-14 11:20:23 -05:00
Kartikaya Gupta
d703f2d924 Bug 828660 - Try to autodetect the compiler version in the android NDK. r=glandium 2013-01-14 09:35:40 -05:00
Ehsan Akhgari
d843a25f8e Bug 818224 - Show all chrome script errors originated from private windows; r=bholley 2013-01-14 09:17:37 -05:00
Marty Rosenberg
2ace813fb4 Bug 825006: There are some more cases where we can convert double arithmetic to integer arithmetic. (r=nbp) 2013-01-13 02:48:05 -05:00
Jan de Mooij
3623056142 Bug 829579 - Rewrite AllFramesIter to iterate Ion frames too. r=luke
--HG--
extra : rebase_source : 73b9cf6d2ab9b1a167cc6847fcc114045f796fc5
2013-01-12 14:26:52 +01:00
Jan de Mooij
3f4c90b945 Bug 829554 - Abstract ScopeIter/DebugScopeProxy frame access. r=luke
--HG--
extra : rebase_source : 18cc0baea68fb9b91b32c54bedcac6eb805449e3
2013-01-12 10:40:46 +01:00
Christian Holler
cf1257b075 No bug - Remove stray debug message from jit_test.py to avoid confusion. r=me, DONTBUILD 2013-01-12 14:15:56 +01:00
Josh Matthews
aa441c5576 Backed out changeset 78960509f7c3 (bug 820124) 2013-01-12 01:57:13 +01:00
Josh Matthews
bc385539a9 Backed out changeset b4bd9455a5a3 (bug 820124) 2013-01-12 01:57:11 +01:00
Christian Holler
b9148f0521 Bug 829787 - Fix a failure with jit-test --show-failed-cmd option. r=jorendorff, DONTBUILD 2013-01-11 23:48:12 +01:00
Jason Orendorff
b7b398320a Fix a compiler warning in DefinePropertyOnArray. No bug#, r=billm on IRC. 2013-01-11 15:36:51 -06:00
Sean Stangl
fb4cf30fb3 Bug 820124, Part 2/2 - Handle fast removal in str_replace(). r=dvander 2013-01-02 14:11:14 -08:00
Sean Stangl
b74be544e4 Bug 820124, Part 1/2 - Use RegExpShared for lazy RegExpStatics. r=dvander 2013-01-02 14:10:29 -08:00
Shu-yu Guo
9c86a9663a Bug 826148 - Part 4: Ion IC (r=dvander) 2013-01-10 13:04:04 -08:00
Shu-yu Guo
75d8cc3aed Bug 826148 - Part 3: Jaeger IC (r=bhackett) 2013-01-10 13:04:04 -08:00
Shu-yu Guo
6cd8e01d43 Bug 826148 - Part 2: TI changes (r=bhackett) 2013-01-10 13:04:04 -08:00
Shu-yu Guo
a6c1c544da Bug 826148 - Part 1: JSFunction flag and interpreter changes (r=luke) 2013-01-10 13:04:04 -08:00
Kannan Vijayan
138b770127 Bug 829352 - Add IonMacroAssembler methods for generating addPtr, subPtr, xorPtr, and addPtr variants. r=nbp 2013-01-11 12:53:58 -05:00
Ed Morley
e12c8ca8ca Backout 48b58294a6d5 (bug 829352) for breaking the Android build on a CLOSED TREE 2013-01-11 17:36:06 +00:00
Ed Morley
ab4531484f Backout 67f60ef5c92f (bug 818023) for causing bug 829512 2013-01-11 17:07:34 +00:00
Kannan Vijayan
4746da370e Bug 829352 - Add IonMacroAssembler methods for generating addPtr, subPtr, xorPtr, and addPtr variants. 2013-01-11 12:02:37 -05:00
Kannan Vijayan
f39ddb3f3d Bug 807498 - Clear and disable ion ICs when they get too big. r=dvander 2013-01-11 11:44:06 -05:00
Tom Schuster
b01520d43e Bug 829087 - Handlify jsids in IonCache. r=terrence 2013-01-11 16:47:07 +01:00
Tom Schuster
28c9a8c22a Bug 828977 - Root JSObject in AutoCycleDetector. r=terrence 2013-01-11 16:47:07 +01:00
Tom Schuster
94179c200e Bug 829294 - Some rooting for ClonedBlockScopeObject in DebugScopeProxy. r=terrence 2013-01-11 16:47:07 +01:00
Tom Schuster
2161027e51 Bug 829230 - Some rooting for JSCompartment::wrap 2013-01-11 16:47:07 +01:00
Ms2ger
68bbcd67a0 Merge m-c to m-i. 2013-01-11 15:11:42 +01:00
Ms2ger
3c26b8b8e4 Merge latest PGO-green m-i changeset to m-c. 2013-01-11 14:48:33 +01:00
Jan de Mooij
1cfecf6002 Bug 827258 - Refactor jsdbg2 to use StackIter. r=luke 2013-01-11 14:29:38 +01:00
Ms2ger
44f27a810b Bug 828567 - Part b: Stop passing CallReceiver around where we only need call.rval() in jsdate.cpp; r=terrence 2013-01-11 09:43:01 +01:00
Ms2ger
b1374be64f Bug 828567 - Part a: Exact rooting for strings in jsdate.cpp; r=terrence 2013-01-11 09:43:00 +01:00
Ms2ger
1e0c328bba Bug 828494 - Part b: Pass MutableHandleValue to NewPropertyDescriptorObject; r=terrence 2013-01-11 09:43:00 +01:00
Ms2ger
3c87f88abb Bug 828494 - Part a: Pass MutableHandleValue to GetOwnPropertyDescriptor; r=terrence 2013-01-11 09:43:00 +01:00
Ms2ger
e874af204b Bug 828595 - Pass a HandleId to js_GetPropertyHelperInline; r=terrence 2013-01-11 09:43:00 +01:00
Ms2ger
944981563a Bug 828293 - Root js_NativeSet's vp argument; r=terrence 2013-01-11 09:43:00 +01:00
Ms2ger
32e7ce5f21 Bug 828248 - Part f: Pass MutableHandleId to ValueIsSpecial; r=sfink 2013-01-11 09:43:00 +01:00
Ms2ger
3c86728564 Bug 828248 - Part e: Pass MutableHandleId to InternNonIntElementId; r=sfink 2013-01-11 09:43:00 +01:00
Ms2ger
f771b30878 Bug 828248 - Part d: Pass MutableHandleId to FetchElementId; r=sfink 2013-01-11 09:43:00 +01:00
Ms2ger
276ebe1a95 Bug 828248 - Part c: Pass MutableHandleId to Shape::getUserId; r=sfink 2013-01-11 09:43:00 +01:00
Ms2ger
fa5a9dc6c2 Bug 828248 - Part b: Pass MutableHandleId to IndexToId and IndexToIdSlow; r=sfink 2013-01-11 09:43:00 +01:00
Ms2ger
5bc5d5e244 Bug 828248 - Part a: Pass MutableHandleId to ValueToId and DoubleIndexToId; r=sfink 2013-01-11 09:43:00 +01:00
Ms2ger
1f17c85576 Bug 828244 - Part f: Pass MutableHandleValue to Debugger::{new,receive}CompletionValue; r=terrence 2013-01-11 09:42:59 +01:00
Ms2ger
9cd4a25ac0 Bug 828244 - Part e: Pass MutableHandleValue to DebuggerGenericEval; r=terrence 2013-01-11 09:42:59 +01:00
Ms2ger
43a2874046 Bug 828244 - Part d: Pass MutableHandleValue to Debugger::wrapEnvironment; r=terrence 2013-01-11 09:42:59 +01:00
Ms2ger
83a90ff7f1 Bug 828244 - Part c: Pass MutableHandleValue to Debugger::{wrap,unwrap}DebuggeeValue and add handleAt methods to AutoArrayRooter and AutoValueArray; r=terrence 2013-01-11 09:42:59 +01:00
Ms2ger
fc6705e1af Bug 828244 - Part b: Pass MutableHandleValue to Debugger::resultToCompletion; r=terrence 2013-01-11 09:42:59 +01:00
Ms2ger
475b80c39b Bug 828244 - Part a: Pass MutableHandleId to ValueToIdentifier; r=terrence 2013-01-11 09:42:59 +01:00
Ms2ger
effe119b3d Bug 824481 - Cleanup style attribute getters; r=bz 2013-01-11 09:42:59 +01:00
Ehsan Akhgari
ee83e40c4c Backed out 4 changesets (bug 826148) because of test failures
Backed out changeset e520c411aed6 (bug 826148)
Backed out changeset 1db5b4e59649 (bug 826148)
Backed out changeset 57bf735f3e18 (bug 826148)
Backed out changeset b659dc17b164 (bug 826148)
2013-01-11 00:05:36 -05:00
Shu-yu Guo
7fa45bab0c Bug 826148 - Part 4: Ion IC (r=dvander) 2013-01-10 13:04:04 -08:00
Shu-yu Guo
f6bc81a09a Bug 826148 - Part 3: Jaeger IC (r=bhackett) 2013-01-10 13:04:04 -08:00
Shu-yu Guo
f3581bf0f7 Bug 826148 - Part 2: TI changes (r=bhackett) 2013-01-10 13:04:04 -08:00
Shu-yu Guo
99db0d9ca5 Bug 826148 - Part 1: JSFunction flag and interpreter changes (r=luke) 2013-01-10 13:04:04 -08:00
Terrence Cole
89937cd2d5 Bug 829372 - Don't clobber non-pointer-sized fields in root analysis; r=sfink 2013-01-10 17:46:06 -08:00
Christian Holler
303292da3b Bug 827960 - Allow jit_test.py to run tests in parallel. r=terrence 2013-01-11 02:25:15 +01:00
Marty Rosenberg
7f7b67b696 When merging add nodes, a truncated node and an untraced node should be untruncated (fix oranges, no bug, r=dvander) 2013-01-10 20:21:26 -05:00
Nicolas B. Pierron
4c09e4cd69 Bug 818023 - fun_getProperty: Use non-buitin script iterator. r=waldo 2013-01-10 16:57:51 -08:00
Brian Hackett
6077bab2f1 Bug 827490 - Allow native objects to have both slots and dense elements, rm dense/slow array distinction, r=billm, dvander. 2013-01-10 17:53:11 -07:00
Andrea Marchesini
151a6f1525 Bug 827816 - Wrong timezone offset for UK and Ireland as they had year-round DST from 1969-1971, r=brendan, r=gal 2013-01-11 00:24:34 +01:00
Marty Rosenberg
d5ec51ede2 Bug 829277: Limit the number of instructions that the truncation optimization can work on. (r=dvander) 2013-01-10 18:06:05 -05:00
Brian Hackett
b487314181 Backout 9095b0b49905 (bug 829175) for v8bench regressions. 2013-01-10 15:32:49 -07:00
Nicolas B. Pierron
c825d475d1 Bug 806206 - InlineFrameIterator: provide default scope chain value if unused. r=dvander 2013-01-09 22:29:43 -08:00
Nicholas Nethercote
2fde737c58 Bug 824886 - Remove dead ThreadPoolWorker::threadPool_ field. r=nmatsakis.
--HG--
extra : rebase_source : 704c716dba9bfe186096dfa231267aeba0b14a5a
2013-01-07 19:21:43 -08:00
Boris Zbarsky
0cbc75cba5 Back out revision f18ed13abcea (bug 827960) for turning Windows debug builds purple. They bruise easily! 2013-01-09 22:01:12 -05:00
Terrence Cole
e80616963f Bug 802318 - Remove the invalid SkipRoot in AtomizeInline; r=billm
This re-organizes AtomizeInline to separate the TakeOwnership and Copy cases.

--HG--
extra : rebase_source : 2045f8503e7ff0419f992e4268683d1b63d5f094
2013-01-07 15:32:01 -08:00
Brian Hackett
1dd1bc76cb Bug 828648 - Add system() function to JS shell, r=billm 2013-01-09 17:54:19 -07:00
Terrence Cole
17b1014315 Bug 828690 - Return Unrooted from StringBuffer::finish; r=billm
--HG--
extra : rebase_source : 732d8981d2bd19ea50d3db4477cff615068070dc
2013-01-03 17:21:12 -08:00
Christian Holler
2696da4892 Bug 827960 - Allow jit_test.py to run tests in parallel. r=terrence 2013-01-10 01:33:53 +01:00
Ed Morley
0b8e7533f5 Backout c3268996719e (bug 828607) for bustage on a CLOSED TREE 2013-01-10 00:11:04 +00:00
Terrence Cole
7680009263 Bug 828607 - Fix exact rooting in jsproxy; r=evilpie
--HG--
rename : extensions/cookie/test/frame_clear_browser_data.html => dom/tests/mochitest/localstorage/frame_clear_browser_data.html
rename : extensions/cookie/test/test_app_cleardata_permissions.html => extensions/cookie/test/test_app_uninstall_permissions.html
rename : services/crypto/cryptoComponents.manifest => services/sync/SyncComponents.manifest
rename : toolkit/components/passwordmgr/test/test_privbrowsing_perwindowpb.html => toolkit/components/passwordmgr/test/test_privbrowsing.html
extra : rebase_source : 60c8a3c9390572c40c817d4d6e1e21056920e046
2013-01-08 10:27:50 -08:00
Andrea Marchesini
9e1159116e Bug 827816 - Follow up: whitespaces, No empty { }, rs=brendan, r=Waldo 2013-01-11 00:54:45 +01:00
Brian Hackett
55949198c6 Bug 829175 - Allow reentering JM code if Ion was compiled for a different OSR point, r=dvander. 2013-01-10 14:18:40 -07:00
Andrew McCreight
6f2b4df7a3 Bug 777385 - Support (some) Paris bindings objects as weak map keys. r=peterv
This adds support for many kinds of Paris bindings objects as weak map keys.
This patch supports nsISupports objects as well as non-cycle-collected
non-nsISupports objects. What is needed for support is to preserve any wrapper,
if the object is wrapper cached. In other cases, we don't need to do anything.
2012-11-09 10:59:02 -08:00
Terrence Cole
df014455fc Bug 828607 - Fix exact rooting in jsproxy; r=evilpie 2013-01-08 10:27:50 -08:00
Jan de Mooij
337c0129cf Bug 827872 - Move prebarrier offsets from IonScript to IonCode. r=dvander
--HG--
extra : rebase_source : 9388b797d94cc58329f2668c113c6f51934bfd6f
2013-01-10 17:21:42 +01:00
Ed Morley
514fce814c Bug 816033 - Disable ecma_5/extensions/JSON-string-replacer-overflow.js on Windows opt builds for too many intermittent failures 2013-01-10 14:59:27 +00:00
Tom Schuster
7e074eb410 Bug 828020 - exactly root StaticScopeIter. r=terrence 2013-01-10 13:31:40 +01:00
Brian Hackett
70bc54b959 Bug 822858. r=billm 2013-01-08 16:51:43 -08:00
Bill McCloskey
9fcfd843c0 Bug 822858 - Fix printing of lazy protos in type inference spew. r=bhackett 2013-01-08 16:49:28 -08:00
Jeff Muizelaar
0afdefa66f Bug 827995. Avoid spending a lot of time in sprintf while assembling for ARM. r=bhackett
During a profile of JS execution on B2G we're spending 10% of the time in
__vfprintf. At least some of this is in the arm assembler. Since we're not
actually using the strings we're printing we'd be better off not printing them.

--HG--
extra : rebase_source : 9645ab4e576a103485de181831aab3abab676552
2013-01-08 17:30:22 -05:00
Ehsan Akhgari
5f61ffbca0 Backed out changeset ae69e98751c5 (bug 827995) because of build failures
--HG--
extra : rebase_source : a63ee68401902626bedf29b8fbeae3889f6691bd
2013-01-08 17:22:33 -05:00
Jeff Muizelaar
e43bdd8e15 Bug 827995. Avoid spending a lot of time in sprintf while assembling for ARM. r=bhackett
During a profile of JS execution on B@G we're spending 10% of the time in
__vfprintf.  At least some of this is in the arm assembler. Since we're not
actually using the strings we're printing we'd be better off not printing them.

--HG--
extra : rebase_source : e92e54fced0ba662a44de5524621cbfeb69bc8f9
2013-01-08 16:52:53 -05:00
Eric Faust
e9d9687978 Bug 827965 - Utilize GetTempRegForIntArg() for callNative calls. (r=sstangl) 2013-01-08 16:50:04 -05:00
Brian Hackett
5b550769a6 Bug 820583 - Use a larger script size limit when compiling off thread, r=dvander. 2013-01-08 13:42:03 -07:00
Brian Hackett
aed6052485 Bug 826734 - Improve backtracking allocator when spilling around calls, r=jandem. 2013-01-08 13:03:24 -07:00
Ehsan Akhgari
1ced5105eb Merge mozilla-central into mozilla-inbound 2013-01-08 14:59:20 -05:00
Terrence Cole
85ba5d9cc9 Bug 827929 - Remove SkipRoot in Object::toSource; r=billm 2013-01-08 10:52:44 -08:00
Olli Pettay
b63413d754 Bug 827471 - Improve CanSkipWrappedJS, r=mccr8 2013-01-08 19:40:35 +02:00
Ben Turner
4a1f82b8ea Bug 827274 - 'crash in [@ anonymous namespace::CTypesActivityCallback(JSContext*, js::CTypesActivityType)], add ctypes closure support to new worker memory reporting mechanism. r=khuey+mrbkap. 2013-01-08 13:57:44 +01:00
Andrew McCreight
7d3dd0a3b1 Bug 690970, part 3: fix black-gray edges in weak containers at start of CC. r=billm 2013-01-08 10:36:51 -08:00
Andrew McCreight
e54269e35c Bug 690970, part 2: unmark gray read barrier for watchpoints. r=billm 2013-01-08 10:36:51 -08:00
Andrew McCreight
0ea7b9fd4d Bug 690970, part 1: unmark gray read barrier for weak maps. r=billm 2013-01-08 10:36:51 -08:00
Jason Orendorff
01ce1f1e3d Fix a dozen JS tests that were broken when using the command-line test harness (see bug 804834 comment 24 and 25). No bug#, r=evilpie on IRC.
--HG--
extra : rebase_source : 6ea3201dbd5ce97607b1d6847ee50d609dc3a91f
2013-01-08 10:18:29 -06:00
Jan de Mooij
14ac3bda70 Bug 827659 - Ensure |this| is an object when inlining getter/setter calls. r=bhackett 2013-01-08 19:13:19 +01:00
Benjamin Peterson
c3d485530f Bug 825545 followup - Fix building threadless shell. r=me 2013-01-07 19:52:40 -06:00
Terrence Cole
f59935cf33 Bug 827539 - Remove unnecessary SkipRoots in the frontend; r=billm 2013-01-07 17:23:08 -08:00
Terrence Cole
08e53fe3a7 Bug 790039 - Fix some more rooting assertions; r=terrence,sfink 2013-01-02 15:56:20 -08:00
Benjamin Peterson
e6f0998bf6 Bug 825545 followup - Remove extra comment. r=jorendorff 2013-01-07 18:40:12 -06:00
Benjamin Peterson
300c9d67bd Bug 825545 - Make the ScriptSource API work even if it is being compressed. r=jorendorff 2013-01-07 18:38:38 -06:00
Justin Lebar
98c041fb38 Bug 821502 - Disable -fstrict-aliasing in JS for GCC 4.4 and earlier on Linux and Android. r=glandium,terrence 2013-01-08 01:19:25 +01:00
Ehsan Akhgari
1022301c8f Merge mozilla-central into mozilla-inbound 2013-01-07 18:23:31 -05:00
Ehsan Akhgari
fb00d8ba4e Bug 579517 follow-up: Remove NSPR types that crept in 2013-01-07 18:21:50 -05:00
Steve Fink
08f99e5f1c Bug 827225 - Rename JS_GetTypedArrayType to JS_GetArrayBufferViewType, add TYPE_DATAVIEW. r=bz, sr=dmandelin
--HG--
extra : rebase_source : c5947273c5d517338ea1f468358511aa979b4959
2013-01-07 15:12:00 -08:00
Daniel Holbert
1bab59a1cb Bug 827436: In js.cpp, add #ifdef guard around OptionFailure() definition, since its callers are all #ifdef-guarded. r=dvander 2013-01-07 14:42:14 -08:00
Gregory Szorc
65a73fff3e Merge mozilla-central into build-system
--HG--
rename : browser/themes/gnomestripe/downloads/download-notification.png => browser/themes/gnomestripe/downloads/download-notification-start.png
rename : browser/themes/pinstripe/downloads/download-notification.png => browser/themes/pinstripe/downloads/download-notification-start.png
rename : browser/themes/winstripe/downloads/download-notification.png => browser/themes/winstripe/downloads/download-notification-start.png
2013-01-07 14:31:37 -08:00
Alex Keybl
6521994aeb Merging in version bump NO BUG 2013-01-07 12:31:33 -08:00
Sean Stangl
c9be2ea2bb Bug 826581 - Root RegExp source for the lifetime of RegExpShared. r=dvander 2013-01-07 14:32:52 -08:00
Ed Morley
d3c39437f7 Backout e4550612487b & c3008e662841 (bug 827274) for mochitest-chrome crashes on a CLOSED TREE 2013-01-07 18:11:22 +00:00
Olli Pettay
a0d72846bb Bug 705371 - [CC] don't add JSContexts that have no children to the cycle collector graph, r=mccr8 2013-01-07 19:40:46 +02:00
Ben Turner
6c7171afe5 Bug 827274 - Fix bustage, r=mrbkap. 2013-01-07 17:47:04 +01:00
Ben Turner
8c910e1e42 Bug 827274 - 'crash in [@ anonymous namespace::CTypesActivityCallback(JSContext*, js::CTypesActivityType)], add ctypes closure support to new worker memory reporting mechanism. r=khuey+mrbkap, a=jlebar. 2013-01-07 17:34:08 +01:00
Jon Coppeard
6d2c420e70 Bug 825326 - "Assertion failure: (obj)->compartment()->isGCMarking()," r=terrence DONTBUILD
--HG--
extra : rebase_source : 14dccd52b9c19afccc70855b483da0d418b4f623
2013-01-07 11:37:24 +00:00
Jon Coppeard
86f907b94a Backed out changeset 3e5257f5f4a6 for wrong bug number in commit message
--HG--
extra : rebase_source : 5b5857bd2f97008e7b39698cef3fb4f0956d7e79
2013-01-07 11:29:06 +00:00
Jon Coppeard
313abd0902 Bug 826669 - [jsdbg2] Assertion failure: !IsThingPoisoned(thing), at gc/Marking.cpp:147, r=billm
--HG--
extra : rebase_source : 6af1db0aa7633361431b119d9340693e01b27bd5
2013-01-07 10:08:20 +00:00
Ms2ger
91829e5485 Merge mozilla-central into build-system
--HG--
rename : content/html/content/public/nsHTMLCanvasElement.h => content/html/content/public/HTMLCanvasElement.h
rename : content/html/content/src/nsHTMLCanvasElement.cpp => content/html/content/src/HTMLCanvasElement.cpp
2013-01-06 11:58:19 +01:00
Phil Ringnalda
8fa0865148 Merge the last PGO-green inbound changeset to m-c 2013-01-05 15:57:15 -08:00
Panos Astithas
03baeebdb1 Merge m-c to fx-team 2013-01-05 11:41:23 +02:00
Terrence Cole
06047868fa Bug 826879 - Remove a strict aliasing footgun from MutableHandle; r=bhackett
These are unused and could be a strict aliasing hazard in the future.

--HG--
extra : rebase_source : c544d9abe3c0a8e8744dabcd7357a345e02ae120
2013-01-04 17:32:01 -08:00
Ms2ger
971eab6d17 Merge mozilla-central into build-system 2013-01-04 21:21:29 +01:00
Ehsan Akhgari
11b68a76e0 Backed out changeset bfb788e7ef51 (bug 826602) because of build failures
--HG--
rename : content/html/content/public/HTMLCanvasElement.h => content/html/content/public/nsHTMLCanvasElement.h
rename : content/html/content/src/HTMLCanvasElement.cpp => content/html/content/src/nsHTMLCanvasElement.cpp
2013-01-04 01:07:10 -05:00
Ehsan Akhgari
c8deef991c Bug 826602 - Rename nsHTMLCanvasElement to mozilla::dom::HTMLCanvasElement; r=bzbarsky
--HG--
rename : content/html/content/public/nsHTMLCanvasElement.h => content/html/content/public/HTMLCanvasElement.h
rename : content/html/content/src/nsHTMLCanvasElement.cpp => content/html/content/src/HTMLCanvasElement.cpp
2013-01-04 00:16:14 -05:00
Masatoshi Kimura
44fde3235f Bug 825926 - Get rid of /PDB:NONE. r=ted 2013-01-04 12:49:24 +09:00
Ms2ger
ba6e4f2ea3 Merge mozilla-central into build-system 2013-01-03 10:46:16 +01:00
Panos Astithas
c529b9d29d Implement a new addAllGlobalsAsDebuggees method for faster chrome debugging (bug 821701); r=jimb
Also GC only once when going through all compartments in both addAllGlobalsAsDebuggees and removeAllDebuggees, instead of once for every debuggee added or removed.
2013-01-04 21:34:43 +02:00
Jon Coppeard
882d8fd92a Bug 825327 - "Assertion failure: (obj)->compartment()->isGCMarking()," r=terrence
--HG--
extra : rebase_source : 2f4e934b16beadd5a3fadabd4c8f1bfd98e2d712
2013-01-02 17:57:35 +00:00