Commit Graph

24401 Commits

Author SHA1 Message Date
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
Jon Coppeard
067b9ec80a Bug 824321 - "Assertion failure: !IsThingPoisoned(thing)," r=terrence
--HG--
extra : rebase_source : e1662451f8f90af0b1f25073e7f919cebdf5d410
2013-01-02 17:22:14 +00:00
Jan de Mooij
3aa94d4dbc No bug - Fix jit_test.py help message. rs=mjrosenb on IRC DONTBUILD 2013-01-07 11:53:01 +01:00
Gregory Szorc
76ef351ea7 Merge mozilla-central into build-system 2012-12-30 13:47:04 -08:00
Jan de Mooij
4ae98f0d6e Bug 824863 - Fix regalloc bug in JM ionCompileHelper. r=bhackett 2012-12-29 22:02:43 +01:00
Peter Van der Beken
96b67671a8 Fix for bug 824907 (Convert HTML table elements to WebIDL) - convert HTMLTableColElement to WebIDL. r=bz.
--HG--
rename : content/html/content/src/nsHTMLTableCellElement.cpp => content/html/content/src/HTMLTableCellElement.cpp
rename : content/html/content/src/nsHTMLTableColElement.cpp => content/html/content/src/HTMLTableColElement.cpp
rename : content/html/content/src/nsHTMLTableColElement.cpp => content/html/content/src/HTMLTableColElement.h
rename : content/html/content/src/nsHTMLTableElement.h => content/html/content/src/HTMLTableElement.h
rename : content/html/content/src/nsHTMLTableRowElement.cpp => content/html/content/src/HTMLTableRowElement.cpp
rename : content/html/content/src/nsHTMLTableRowElement.cpp => content/html/content/src/HTMLTableRowElement.h
extra : rebase_source : 4654bf54c41231eed6f73a35118d58be0c9af9a0
2012-12-29 15:07:57 +01:00
Peter Van der Beken
71cdba8a1a Fix for bug 824907 (Convert HTML table elements to WebIDL) - convert HTMLTableRowElement to WebIDL. r=bz.
--HG--
extra : rebase_source : d2febac66f508caf3c2b89816e811ed8e2c88856
2012-12-29 15:07:57 +01:00
Peter Van der Beken
88f551c0d3 Fix for bug 824907 (Convert HTML table elements to WebIDL) - convert HTMLTableCellElement to WebIDL. r=bz.
--HG--
rename : content/html/content/src/nsHTMLTableCellElement.cpp => content/html/content/src/HTMLTableCellElement.cpp
rename : content/html/content/src/nsHTMLTableCellElement.cpp => content/html/content/src/HTMLTableCellElement.h
rename : content/html/content/src/nsHTMLTableElement.cpp => content/html/content/src/HTMLTableElement.cpp
rename : content/html/content/src/nsHTMLTableElement.h => content/html/content/src/HTMLTableElement.h
rename : content/html/content/src/nsHTMLTableRowElement.cpp => content/html/content/src/HTMLTableRowElement.h
extra : rebase_source : fcf088e7ac91a216ae7ad1cb16d509a17cd7a2a7
2012-12-29 15:07:56 +01:00
Peter Van der Beken
0a9ff23dea Fix for bug 824907 (Convert HTML table elements to WebIDL) - convert HTMLTableSectionElement to WebIDL. r=bz.
--HG--
rename : content/html/content/src/nsHTMLTableRowElement.cpp => content/html/content/src/HTMLTableRowElement.cpp
rename : content/html/content/src/nsHTMLTableSectionElement.cpp => content/html/content/src/HTMLTableSectionElement.cpp
rename : content/html/content/src/nsHTMLTableSectionElement.cpp => content/html/content/src/HTMLTableSectionElement.h
rename : dom/interfaces/html/nsIDOMHTMLTableSectionElem.idl => dom/interfaces/html/nsIDOMHTMLTableSectionElement.idl
extra : rebase_source : b9c1d7dea38653452b44b2033cf2c0140f7b39b1
2012-12-29 15:07:48 +01:00
Peter Van der Beken
7538219944 Fix for bug 824907 (Convert HTML table elements to WebIDL) - convert HTMLTableElement to WebIDL. r=bz.
--HG--
rename : content/html/content/src/nsHTMLTableElement.cpp => content/html/content/src/HTMLTableElement.cpp
rename : content/html/content/src/nsHTMLTableElement.h => content/html/content/src/HTMLTableElement.h
extra : rebase_source : 36ef4c094fdf54103ad3c41e299eb86d20956915
2012-12-29 09:08:15 +01:00
Nicolas B. Pierron
23d67cf579 Bug 825599 - Specialize type of switch's conditions. r=h4writer 2013-01-04 16:43:23 -08:00
Jeff Walden
da2a57bc92 Whitespace tab-killing patrol. No bug, r=sparky 2013-01-04 17:00:43 -06:00
Jeff Walden
be7908afa3 Bug 824217 - Make ChromeObjectWrapper::getPropertyDescriptor not pretend no descriptor exists when the property exists along the prototype chain, when the property is being resolved just before an assignment. r=bholley 2013-01-03 17:55:58 -06:00
Jeff Walden
6edc649b7d Bug 824217 - Remove the mode argument from the PIERCE macro to eliminate all but one use of JSRESOLVE_ASSIGNING from jswrapper.cpp. r=bholley
--HG--
extra : rebase_source : 107e4a30956092daf38887cd4b329a6f3711f025
2013-01-03 16:46:50 -06:00
Ben Turner
07413737fe Bug 813867 - 'Report memory for web workers that use ctypes'. r=jlebar+jorendorff.
--HG--
extra : rebase_source : 8ecb268167e840f26dd53a774c7e978b15ae3017
2012-12-30 10:21:52 -08:00
William Chen
7cd5470029 Bug 617532 - Implement UndoManager. r=ehsan 2013-01-03 22:54:26 -08:00
Terrence Cole
407de0df83 Bug 826126 - Just use an assert to check for aliasing; r=benjamin
This appears to be debug code that crept in for bug 767013.

--HG--
extra : rebase_source : 9f616676d77432ec5f05c5dfa7e9998ac649797a
2013-01-02 17:13:16 -08:00
Jeff Walden
d9889b3184 Bug 826447 - Change all the proxy API signatures to take unsigned flags, rather than bool set, so that it's easier to find all tests of JSRESOLVE_ASSIGNING. r=bz
--HG--
extra : rebase_source : 3b88b411965087984d7973a90f8fa1b06457a6ce
2013-01-03 15:31:36 -06:00
Gregory Szorc
2f63e8debf Merge mozilla-central into build-system 2012-12-24 09:47:35 -08:00
David Zbarsky
627bff8456 Bug 823394 Part 2: Add WebIDL API to SVGElement and enable binding r=bz 2012-12-23 03:22:58 -05:00
David Zbarsky
b3fd32ba23 Bug 823394 Part 1:Merge nsSVGStylableElement/nsSVGElement and nsIDOMSVGStylable/nsIDOMSVGElement r=bz
--HG--
rename : layout/reftests/svg/style-property-not-on-script-element-01.svg => layout/reftests/svg/style-property-on-script-element-01.svg
2012-12-23 03:22:22 -05:00
Gregory Szorc
a79903acaa Merge mozilla-central into build-system 2012-12-22 15:29:20 -08:00
Cameron McCormack
8a7b51e7ad Back out 047534c22207 and f95b0378d4ee (bug 820124) for reftest manifest parsing failures. 2012-12-22 12:54:38 +11:00
Boris Zbarsky
b04e54f1bc Bug 816387 part 2. Hook up the Document WebIDL API to quickstubs. r=peterv 2012-12-23 14:34:22 -08:00
Boris Zbarsky
dc011274dd Bug 816387 part 1. Hook up the WebIDL bindings for Document. r=peterv 2012-12-23 14:33:33 -08:00
Gregory Szorc
acab4962d5 Bug 804865 - Require Python 2.7 to build the tree; r=ted 2012-12-20 15:45:26 -08:00
Nicolas B. Pierron
25e8736956 Bug 780549 part 2 - Check returned value of AutoEnterCompilation::init in Ion compilation. r=bhackett a=abillings 2012-12-29 02:36:28 -08:00
Boris Zbarsky
964e33e5c1 Bug 825365. Fix the softp version of MacroAssemblerARMCompat::passABIArg to not add no-op register moves to the MoveResolver. r=mjrosenb 2012-12-28 20:02:59 -08:00
Benjamin Peterson
d3d0762adc backout bug 810525 for failing jit-tests 2012-12-28 21:52:52 -06:00
Josh Matthews
8c6ec75b56 Backed out changeset 40c1df07b407 (bug 824217) 2012-12-28 19:13:36 -05:00
Brendan Eich
eda04f6f13 Bug 810525 - unregress DecompileValueGenerator change to handle object literal reference bases (r=luke) 2012-12-28 16:09:25 -08:00
Josh Matthews
59c8c84079 Backed out changeset a47d98073d4e (bug 823884) 2012-12-28 19:03:49 -05:00
Jan de Mooij
fe39a3b765 Bug 822385 - Add getter, setter and method with jitinfo to the shell. r=bz 2012-12-20 15:27:54 +01:00
Tom Schuster
13b8b422f0 Bug 822265 - Implement negateDouble cross-platform wise and use it for CodeGenerator. r=jandem 2012-12-20 15:06:37 +01:00
Tom Schuster
89c79289eb Bug 821789 - Move JavaScript Object builtins to their own file. r=jwalden 2012-12-20 15:06:37 +01:00
Nicolas B. Pierron
05bc31bf1b Bug 823061 - GetPropertyCache supports length properties of arrays. r=jandem 2012-12-20 04:14:26 -08:00
Jeff Walden
efc17396e8 Bug 824217 - Remove some easy-to-remove tests of JSRESOLVE_ASSIGNING. r=bz 2012-12-19 19:32:34 -05:00
Boris Zbarsky
467b89667e Bug 824823 part 2. WebIDL binding for HTMLAnchorElement. r=peterv 2013-01-04 12:02:13 -05:00
Boris Zbarsky
6efe50ec6e Bug 824823 part 0. Fix a test to keep using an XPCWrappedNative element for now until bug 825053 is fixed. Verbal r=peterv 2013-01-04 12:02:13 -05:00
Boris Zbarsky
25524db939 Bug 826423. Fix SpecialPowers.wrap() to reliably detect Xrays. r=peterv 2013-01-04 12:02:13 -05:00
Hannes Verschore
f1c0b8ead9 Bug 825705: Creating this on caller-side shouldn't query prototype for unknown objects, r=jandem 2013-01-04 17:11:32 +01:00
Ehsan Akhgari
f204022ad2 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
Brian Hackett
8545f79247 Bug 825447 - Populate safepoints directly in backtracking register allocator, r=jandem. 2013-01-04 07:53:20 -07:00
Sean Stangl
de60b6bf80 Bug 820124, Part 2/2 - Handle fast removal in str_replace(). r=dvander 2012-12-18 17:28:16 -08:00
Sean Stangl
56b5d225aa Bug 820124, Part 1/2 - Use RegExpShared for lazy RegExpStatics. r=dvander 2012-12-14 16:07:35 -08:00
Jeff Walden
b08b0772fc Bug 823283 - Don't query for JSRESOLVE_QUALIFIED when determining whether to check for an undeclared variable, when possibly adding a fast-path expando to the global object for assignment to a non-existent property. Instead examine the current bytecode to see if it's an undeclared variable access. r=bz, r=luke
--HG--
rename : dom/encoding/TextDecoderBase.h => dom/encoding/TextDecoder.h
rename : dom/encoding/TextEncoderBase.h => dom/encoding/TextEncoder.h
extra : rebase_source : aa656c52edc95cd95bb109dbfe2c40d8303dbe34
2012-12-19 16:49:30 -05:00
Masatoshi Kimura
566d97ecf3 Bug 823080 - Fix warning spam on MSVC. r=sphink 2012-12-22 09:16:50 +09:00
Gavin Sharp
001499e5ee Back out bug 783129 / b0788a95a2bd (merged with e01ca7212c8a) due to test failures 2012-12-21 18:50:00 -05:00
Shu-yu Guo
470d8a1a2d Bug 823390 - Kill clearParent and clearType calls in CloneScriptRegExpObject. (r=bhackett) 2012-12-20 21:13:37 -08:00
Jim Blandy
b28a46ce89 Bug 822563: Pretty-print references to JSObject and its subclasses. r=sfink 2012-12-21 14:49:21 -08:00
Boris Zbarsky
497cb2e84e Bug 817943 part 2. Make the x86-64 and ARM versions of passABIArg not generate no-op moves and add asserts to the moveResolver that there are no such moves. r=pierron,mjrosenberg 2012-12-28 12:40:45 -08:00
Boris Zbarsky
a4c5ac5d5e Bug 817943 part 1. Introduce a GetTempRegForIntArg function that can be used to get registers to store things you plan to pass to a function call in, and use it for DOM getters/setters/methods. r=pierron 2012-12-28 12:40:44 -08:00
Hannes Verschore
54341e33d9 Bug 823884: Make call uninlineable when aborting during inlining, r=nbp 2012-12-28 21:33:07 +01:00
Trevor Saunders
e3b2aa92a5 bug 822717 - remove checks for old gcc r=glandium 2012-12-18 13:22:28 -05:00
Terrence Cole
b680b1170a Bug 826435 - Do not allow poisoned pointers near a HashTable; r=sfink
The rooting analysis depends on all usage of a poisoned pointer to crash. This
patch makes the above usage crash, as required.

--HG--
extra : rebase_source : 3d67e4c44cee91d889edbf6641cebe9887fb10ee
2013-01-03 17:01:38 -08:00
Tom Schuster
900a22906f Bug 822436 - IonMonkey: Inline Math.imul. r=h4writer 2013-01-04 00:10:19 +01:00
Jeff Walden
e03bb4799c Bug 824217 - Remove some easy-to-remove tests of JSRESOLVE_ASSIGNING. r=bz
--HG--
extra : rebase_source : 2605d559d48b9ccd985bd860f13ab7b1b53ab048
2012-12-19 19:32:34 -05:00
Nicholas Nethercote
6a3f1a1648 Bug 826526 - Modify the orphan node reporter so it handles WebIDL objects. r=bz. 2013-01-06 20:43:54 -08:00
Nicholas Nethercote
efab5b0fb1 No bug. Fix -Wnewline-eof warning in jsfriendapi.h. r=me. 2013-01-06 20:39:27 -08:00
Hannes Verschore
2b6d25a413 Bug 827082: Abort when creating this for native non constructing function, r=evilpie 2013-01-06 15:25:19 +01:00
Ms2ger
4682d5c639 No bug - Fix four warnings in js/src; r=sparky 2013-01-06 13:45:56 +01:00
Hannes Verschore
e5396ec315 Bug 824347: Remove assertion that became incorrect when inlining functions with arguments object landed, r=nbp 2013-01-05 22:27:13 +01:00
Ehsan Akhgari
2be7cfce19 Merge mozilla-central into mozilla-inbound 2013-01-05 16:00:35 -05:00
Nicholas Nethercote
acc80a9abd Bug 819819 (part 2) - Remove |name| from NS_MEMORY_REPORTER_MALLOC_SIZEOF_FUN. r=jlebar.
--HG--
rename : dom/tests/mochitest/localstorage/test_localStorageQuotaPrivateBrowsing_perwindowpb.html => dom/tests/mochitest/localstorage/test_localStorageQuotaPrivateBrowsing.html
rename : toolkit/components/places/tests/browser/browser_favicon_privatebrowsing_perwindowpb.js => toolkit/components/places/tests/browser/browser_favicon_privatebrowsing.js
extra : rebase_source : 557cc60522970ce7eea3b006d357284d9b4694c4
2012-12-23 16:59:51 -08:00
Geoff Brown
82196a4234 Bug 821424 - Make target for per-directory cppunittests-remote; r=ted.mielczarek
--HG--
extra : rebase_source : 487887607421f319dc98c1dcb874866cd0f7d09e
2013-01-03 13:02:11 -07:00
Boris Zbarsky
d9fac4cef8 Bug 818050. Teach the JIT about DOM method and getter return types so that it doesn't have to type-guard when unboxing the boxed value in many cases. r=jandem,peterv 2013-01-03 14:02:52 -05:00
Norbert Lindenberg
e3dee30c80 Bug 769872 - Add self-hosted JavaScript core of Intl constructors Collator, NumberFormat, DateTimeFormat (part 1). r=jwalden
--HG--
extra : rebase_source : 97642cc28df75a5199e935bdb7ba6045649dd8d6
2013-01-03 12:29:15 -06:00
Norbert Lindenberg
00c36a844a Bug 769872 - Add support for default locale for Internationalization API. r=jwalden
--HG--
extra : rebase_source : f4b3275cc8ea9274841e1a144ce33e97c098f193
2013-01-03 12:29:09 -06:00
Jeff Walden
759a518344 Bug 752578 - Remove the JS guard object implementation. r=Ms2ger
--HG--
extra : rebase_source : 3802e20dc76c7b18001cf852f748099ccb493d2e
2012-12-27 11:20:22 -06:00
Jeff Walden
25d5ce403c Bug 752578 - Use mfbt's guard object implementation in js/ipc. r=Ms2ger
--HG--
extra : rebase_source : 503ea2a8098440b99b27ba0b30e5ec0ca14d2db9
2012-12-27 11:20:22 -06:00
Jeff Walden
0ae591eef5 Bug 752578 - Use mfbt's guard object implementation rather than using our own in the trickier cases. r=Ms2ger
--HG--
extra : rebase_source : 7dd7e730a134114e187fda1b6b0820b37e544f9f
2012-12-27 11:20:22 -06:00
Jeff Walden
232fa6bfa9 Bug 752578 - Use mfbt's guard object implementation rather than using our own in all the easy cases. r=Ms2ger
--HG--
extra : rebase_source : ba7faa490cdc5c9b85b5617ff5bb17246b74868e
2012-12-27 11:20:22 -06:00
Ed Morley
e7160b3496 Backout 119c60543071 (bug 751156) for robocop failures 2013-01-03 18:12:36 +00:00
Jan de Mooij
5a64b629e8 Bug 825892 - Remove JSOP_LOOKUPSWITCH. r=bhackett 2013-01-03 18:35:57 +01:00
Jan de Mooij
4c1a02f525 Bug 825966 part 2 - Mark JSOP_CASE/JSOP_DEFAULT targets as safepoint. r=bhackett 2013-01-03 18:35:54 +01:00
Jan de Mooij
d398d3b870 Bug 825966 part 1 - Remove unused Bytecode::switchTarget. r=bhackett 2013-01-03 18:35:52 +01:00
Nicholas Nethercote
8c3e8f0d58 Bug 814229 (part 2) - Refactor storage of the "objects-extra" numbers.
--HG--
extra : rebase_source : 2125ae4446928fbc7432f22505565b9b246f960d
2012-11-21 17:07:42 -08:00
Nicholas Nethercote
615e573039 Bug 814229 (part 1) - Add "objects-extra/ctypes-data" memory report. r=jorendorff.
--HG--
extra : rebase_source : 8b65b74b5c22ebf7525eeff51601e36274d56736
2012-11-21 17:05:39 -08:00
Boris Zbarsky
6aebf1cca6 Bug 822340. Make the Ion optimization for DOM method calls sound. r=jandem
The static functions just got moved with no changes made to them
except for a change from inTypes->unknown() to
inTypes->unknownObject() in the first test in TestAreKnownDOMTypes,
becase the rest of the method depends on the stronger condition, and
it was being ensured accidentally before.
2012-12-19 17:47:39 -08:00
Bobby Holley
96738ace0c Bug 823120 - Fix test. r=philor
<script> moves up to head, and the call to document.getElementById moves into go().
2012-12-19 15:27:49 -08:00
Brian Hackett
eba2bee6ad Bug 822145 - Use correct allocator for CompileInfo on inlined frames, r=sstangl. 2012-12-19 16:24:42 -07:00
Jon Coppeard
bd0bc31f63 Bug 820186 - Various crashes/assertions with gczeal(10) and random recursion. r=billm 2012-12-18 13:27:28 +00:00
Nicholas Nethercote
c79e53c9fa Bug 824879 - Avoid -Wconstant-conversion warnings in vm/RegExpObject.cpp. r=sstangl.
--HG--
extra : rebase_source : c921633cea69a65cced62d56ef6baaa5a5cc2b04
2012-12-26 20:11:34 -08:00
Nicholas Nethercote
884ca45414 Bug 819819 (part 1) - Remove DMDV. r=khuey.
--HG--
extra : rebase_source : af193a276409e33f0099d256cdfcd0f11917ea25
2012-12-20 23:03:50 -08:00
Matt Brubeck
6cc14fe75a Merge from mozilla-central to mozilla-inbound 2012-12-27 14:53:29 -08:00
Matt Brubeck
c8d17da002 Back out de5db0c4c3ff and ff14e0b88c10 (bug 820124) because of intermittent xpcshell assertions 2012-12-27 14:52:04 -08:00
Nicolas B. Pierron
30ef6fab57 Bug 780549 - AutoEnterCompilation: Handle init error cases. r=bhackett 2012-12-27 07:12:25 -08:00
Sean Stangl
99e3bb67da Bug 820124, Part 2/2 - Handle fast removal in str_replace(). r=dvander 2012-12-26 21:13:24 -08:00
Sean Stangl
91ca3735ad Bug 820124, Part 1/2 - Use RegExpShared for lazy RegExpStatics. r=dvander 2012-12-26 21:11:54 -08:00
Ryan VanderMeulen
e750bea8da Backed out changesets 038194a2ffc3 and 4a7071b92069 (bug 820124) for mochitest orange. r=TryFTW 2012-12-26 22:48:23 -05:00
Sean Stangl
87bd6bbc66 Bug 820124, Part 2/2 - Handle fast removal in str_replace(). r=dvander 2012-12-18 17:28:16 -08:00
Sean Stangl
cfac57f5ce Bug 820124, Part 1/2 - Use RegExpShared for lazy RegExpStatics. r=dvander 2012-12-14 16:07:35 -08:00
Gary Kwong
09df64a24d Backout 4a66a93f8625 for causing mochitest failures. 2012-12-26 17:59:46 -08:00
Nicolas B. Pierron
aa5b826253 Bug 780549 - Handle init error cases. r=bhackett 2012-12-26 16:00:43 -08:00
Boris Zbarsky
05eeb23844 Bug 819624 part 2. Hook up the HTMLDocument WebIDL API to quickstubs. r=peterv 2012-12-26 13:37:26 -08:00
Daniel Holbert
d7f375cd29 Bug 824648: Add range-check & unsigned cast before comparing signed arg to unsigned array-length, in VMFunctions.cpp's CharCodeAt() impl. r=nbp 2012-12-26 09:29:19 -08:00
Jan de Mooij
3581b422a0 Bug 823482 part 1 - Refactor JSOP_EXCEPTION implementation in the interpreter. r=djvj
--HG--
extra : rebase_source : ec8f44feae0e8c74245347b1763f0275867764f5
2012-12-26 15:57:26 +01:00
Jan de Mooij
e7e9374304 Bug 824463 - Fix checkStackAlignment on ARM. r=mjrosenb
--HG--
extra : rebase_source : b8ee9a95e13cca2f0e5e00960e68c55e47053e59
2012-12-26 15:45:13 +01:00
Nicolas B. Pierron
35e783b88d Bug 801775 - Filter IonMonkey C1/Ion spew based on scripts' origin. r=sstangl 2012-12-26 06:59:15 -08:00
Nicolas B. Pierron
69b090ef82 Bug 822938 - LCallee use a register instead of a fixed LArgument. r=jandem 2012-12-26 03:25:26 -08:00
Boris Zbarsky
7138ae455d Bug 824517. Quickstub window.performance. r=peterv 2012-12-25 14:00:15 -08:00