Commit Graph

24594 Commits

Author SHA1 Message Date
Chuck Lee
4d6e622ba9 Bug 835719 - 0001. Support encode string to UTF-8 byte array. r=terrence 2013-02-22 10:58:52 +08:00
Jonathan Kew
e04415fc7f backout cset 4ede352670cd (bug 759585) on a CLOSED TREE on suspicion of making windows reftests so slow that they timeout and burn 2013-02-22 09:36:41 +00:00
Bill McCloskey
a9bd163faa Bug 816033 - Disable ecma_5/extensions/JSON-string-replacer-overflow.js on Windows debug builds 2013-02-21 21:54:35 -08:00
Nicholas Nethercote
8c25c7c6b8 Bug 842419 (part 8) - Reduce the arity of SRC_CATCH from 1 to 0. r=jorendorff.
--HG--
extra : rebase_source : 25b167dbbe39c673b9b7b66ef09b2d33e923c2a7
2013-02-20 17:42:22 -08:00
Nicholas Nethercote
97b0a14e50 Bug 842419 (part 7) - Split SRC_SWITCH in two. r=jorendorff.
--HG--
extra : rebase_source : c91557416354c9d8003ce9f1b481c09d7eca867b
2013-02-20 17:42:22 -08:00
Nicholas Nethercote
28db687f13 Bug 842419 (part 6) - Reduce the arity of three loop-related srcnotes, and remove another. r=jorendorff.
--HG--
extra : rebase_source : 1bd7092dd1bd116752c2817844e7351448b91d4d
2013-02-20 17:42:21 -08:00
Nicholas Nethercote
bfe7258189 Bug 842419 (part 5) - Reduce the arity of SRC_IF_ELSE from 2 to 1. r=jorendorff.
--HG--
extra : rebase_source : f892b0ca7e18f48332156f6c541a3bc6696b7332
2013-02-20 17:42:21 -08:00
Nicholas Nethercote
bd3d571ae7 Bug 842419 (part 4) - Clean up srcnote constants and js_SrcNoteSpec. r=jorendorff.
--HG--
extra : rebase_source : 2340657e4bdd1a0c47151ffdc0b6ad55f6b99792
2013-02-20 17:42:21 -08:00
Nicholas Nethercote
5feb161516 Bug 842419 (part 3) - Remove dead JOF_* constants, and kill off JSOP_BACKPATCH_POP. r=jorendorff.
--HG--
extra : rebase_source : 5b478653eee7113cf8a5c7574febbaabf63a7d70
2013-02-20 17:42:21 -08:00
Nicholas Nethercote
513aa6c175 Bug 842419 (part 2) - Remove unnecessary SRC_CONTINUE notes, and kill off PNX_ENDCOMMA. r=jorendorff.
--HG--
extra : rebase_source : bd8c6665824d428aa7a01ff2d77ae872abaac282
2013-02-20 17:42:21 -08:00
Nicholas Nethercote
5e685bf9d0 Bug 842419 (part 1) - Remove unnecessary JSOp arg from EmitBackPatchOp(). r=jorendorff.
--HG--
extra : rebase_source : 1066edf46cc5c34cd79a9b021b0e5cd36dfd2403
2013-02-20 17:42:21 -08:00
Bill McCloskey
6798be1a0e Bug 759585 - Change the granularity of collection from compartment to zone (r=jonco,bhackett,njn,dvander,mccr8,bz,luke,bholley) 2013-02-21 18:23:47 -08:00
Phil Ringnalda
c851ab102a Back out b831500ca4be (bug 837714) for bustage
CLOSED TREE
2013-02-21 14:26:04 -08:00
Nicolas B. Pierron
8a3fa24cd0 Bug 796114 - Inline with type-checked arguments. r=h4writer 2013-02-21 14:04:49 -08:00
David Anderson
a7a4608f44 Prevent GC from occuring during IC linking (bug 837714, r=bhackett). 2013-02-21 13:52:09 -08:00
Bobby Holley
32fbf57fb6 Bug 842940 - Remove another instance of cx->isExceptionPending(). r=jorendorff 2013-02-21 13:32:14 -08:00
Bobby Holley
3654407e0c Bug 842940 - Don't squelch exceptions in Proxy::get. r=jorendorff 2013-02-21 13:32:13 -08:00
Nicholas D. Matsakis
9ae365f1ee Bug 842723 - Remove incorrect inlines.h include r=dvander 2013-02-19 09:18:43 -05:00
Phil Ringnalda
03a1dc0a38 Back out 4d301b2bcad0:e0632e639097 (bug 836301) for Windows build bustage
CLOSED TREE
2013-02-22 08:41:37 -08:00
Brian Hackett
ddc5fd3107 Bug 844048 - Track uses of 'var arguments' within eval scripts, always make arguments objects for generators, r=luke. 2013-02-22 09:29:28 -07:00
Bobby Holley
b9a551bd57 Bug 836301 - Hoist some assertions, remove a bunch of no-op trap overrides, and add assertions that we've entered our policy. r=mrbkap 2013-02-22 08:14:34 -08:00
Bobby Holley
a98d6a7dfd Bug 836301 - Hoist enter() calls from {Xray,}Wrapper::foo into Proxy::foo. r=mrbkap 2013-02-22 08:14:34 -08:00
Bobby Holley
9ea662d5a5 Bug 836301 - Introduce an RAII class for entering policies. r=mrbkap
This will allow us to make some hard assertions that a given policy has been
entered exactly once.
2013-02-22 08:14:33 -08:00
Bobby Holley
55c2f3f408 Bug 836301 - Hoist enter() into BaseProxyHandler. r=mrbkap 2013-02-22 08:14:33 -08:00
Bobby Holley
0e28477234 Bug 836301 - Add tracking for whether we have a non-trivial enter() trap. r=mrbkap
This will allow us to skip the virtual function call for non-security-wrapper
proxies, which are the cases where we care most about performance.
2013-02-22 08:14:33 -08:00
Bobby Holley
8723efd01d Bug 836301 - Stop enter()ing with CALL for nativeCall. r=mrbkap
This is kind of nonsensical, because CALL means "the wrapped object is being
called", whereas nativeCall means "the wrapped object is being unwrapped to
have a JSNative invoked on it", which are two very different things.

We _could_ add a NATIVECALL enter() trap, but our current policy enforcement
around nativeCall involves overriding the trap itself, so we wouldn't use it
for anything. So let's just get rid of it.
2013-02-22 08:14:33 -08:00
Bobby Holley
fa62b333b9 Bug 836301 - Add Special handling to allow us to call enter() for defineProperty on Xrays. r=mrbkap 2013-02-22 08:14:33 -08:00
Bobby Holley
93369747ec Bug 836301 - Stop using JSRESOLVE_ASSIGNING to determine GET vs SET. r=mrbkap
This is just a heuristic, anyway, and some of the usage is downright broken.
There are two cases here:

1 - Deciding what to do for get{Own,}PropertyDescriptor. In these cases, we can
just enter with GET and rely on the filtering machinery to filter out dangerous
setters for security wrappers.

2 - Custom Xray props. None of these make sense in a |set| context. In fact,
    they generally have null setters anyway, so we can just assume GET.

The policy-entering code in XrayWrapper is super haphazard. We'll get rid of it
entirely later in these patches.
2013-02-22 08:14:32 -08:00
Bobby Holley
a307379ec0 Bug 836301 - Assert against JSID_VOID in JSID wrapping. r=mrbkap
Luke explained to me that it should never get there.
2013-02-22 08:14:32 -08:00
Bobby Holley
d5c80d07cc Bug 843231 - Compute whether to use an XBL scope exactly once. r=bz 2013-02-22 07:56:03 -08:00
Bobby Holley
ea51770fa3 Bug 843231 - Remove SetGlobal. r=bz
This stuff has all been simplified significantly with CPG, and this is no longer
necessary. We always have a global when we construct a scope, and it never
changes.
2013-02-22 07:56:03 -08:00
Bobby Holley
b1e6cef1c7 Bug 843231 - Move the nulling out of mPrototypeNoHelper from SetGlobal to RemoveWrappedNativeProtos. r=bz
The only call-site for both of these is JSD->nsXPConnect::InitClasses, so this
is equivalent. All this will go away soon anyhow when JSD goes away.
2013-02-22 07:56:02 -08:00
Hannes Verschore
bb7bd7e48f No bug: IonMonkey: Improve debugging spew, r=evilpie 2013-02-21 16:09:39 +01:00
Hannes Verschore
3490ed0d86 Bug 843038: IonMonkey: Correct the definition of when an instruction is part of the loop, r=jandem 2013-02-21 15:56:49 +01:00
Hannes Verschore
407104ef88 Bug 843518: IonMonkey: Run alias analysis when UCE removes dependency of an instruction, r=nmatsakis 2013-02-21 15:56:43 +01:00
Brian Hackett
0071d2ff30 Bug 842424 - Remove assertion. 2013-02-21 07:02:41 -07:00
Brian Hackett
4a4012adac Bug 743394 - Ion compile JSOP_EVAL, r=jandem. 2013-02-21 06:56:54 -07:00
Brian Hackett
610e2d4848 Bug 842425 - Watch for arrays that need elements converted to doubles when pushing elements, r=jandem. 2013-02-21 06:54:16 -07:00
Brian Hackett
28df7a17d3 Bug 842424 - Add missing newKind, r=terrence. 2013-02-21 06:46:46 -07:00
Brian Hackett
ba46adc7bd Bug 842305 - Don't try to cleanup values in global frames. 2013-02-21 06:02:45 -07:00
Brian Hackett
f8f4d60be2 Bug 842305 - Watch for null payloads flowing into Ion, r=jandem. 2013-02-21 05:38:44 -07:00
Brian Hackett
8bbb11151f Bug 841367 - Check for suppressed GC before verifying barriers, fix OOM crash, r=billm. 2013-02-21 05:26:57 -07:00
Chuck Lee
a03b38dfb1 Bug 828782 - 0002. Add new readString function for ctypes to use new inflate function. r=terrence 2013-02-20 11:20:56 +08:00
Chuck Lee
bbabae2dfa Bug 828782 - 0001. Add inflate function for replacing invalid byte while decoding UTF-8 character. r=terrence 2013-02-20 11:20:54 +08:00
Jon Coppeard
dcad11cbe3 Bug 843626 GC: Rooting analysis failures in parallel array jittests r=terrence
--HG--
extra : rebase_source : a671dd445040312bdd464555f18844c993357129
2013-02-21 15:50:50 +00:00
Till Schneidereit
99695a8ebf Bug 842192 - Self-host Array.map. r=jorendorff 2013-02-19 21:36:37 +01:00
Benjamin Peterson
5c92254d03 Bug 842884 - Don't do array assignment optimizations when spread is involved. r=jorendorff
--HG--
extra : rebase_source : 70554fd3db325b39319199afbb6101bb6701846d
2013-02-20 14:48:59 -05:00
Nicholas D. Matsakis
db275e7ded Bug 842729 - Repair merge failures from bug 807853 in TypeOracle and MCallOptimize r=bhackett 2013-02-19 08:30:25 -05:00
Peter Van der Beken
54c7bd1cc9 Fix for bug 825628 (Implement NamedConstructor) - use NamedConstructor for Image() and Option(). r=bz.
--HG--
extra : rebase_source : f48e0ded2374d84b89d585309309b1a42a95d868
2013-01-22 11:53:13 +01:00
Peter Van der Beken
86d3fc6af5 Fix for bug 825628 (Implement NamedConstructor) - add codegen support for NamedConstructor. r=bz.
--HG--
extra : rebase_source : 8393995dca6f65cb49512874c1916ee745436638
2013-01-22 11:51:15 +01:00
Nicholas D. Matsakis
073ed19b99 Bug 842745 - Modify timer in JS shell function to take an arbitrary JS function. r=dvander 2013-02-19 09:23:31 -05:00
Eddy Bruel
ddd1327b08 Bug 568953 - Parser support for module declarations; r=jorendorff 2013-02-20 20:49:41 +01:00
Eddy Bruel
89a579f54c Bug 568953 - Refactor FunctionNode; r=jorendorff 2013-02-20 20:15:15 +01:00
Ryan VanderMeulen
5fba1dc363 Merge m-c to inbound. 2013-02-20 12:52:59 -05:00
Gregory Szorc
d63d28cf51 Backout 4682ed369545 (bug 841713) for reftest make target bustage
--HG--
extra : rebase_source : 6bf45c9f33563109cf6d17197f9184a3a336efe0
2013-02-20 09:16:02 -08:00
Benjamin Smedberg
5da193665b Bug 791244 - Make the hangprocessor pref dependent on RELEASE_BUILD since deploying multidump hasn't happened yet, r=heycam
--HG--
extra : rebase_source : 145a4fd0f9cecc8835c56389c2403f8c15c97489
2013-02-20 10:52:16 -05:00
Daniel Holbert
d9fcac071a Bug 842886: Initialize & compare size_t variables to SIZE_MAX instead of -1 in Debugger.cpp. r=ejpbruel 2013-02-19 23:20:14 -08:00
Gregory Szorc
007c5b7899 Bug 841713 - Add objdir paths to virtualenv; r=ted 2013-02-19 15:23:21 -08:00
Eddy Bruel
e5fe88efa4 CLOSED TREE. (Bug 568593) Backed out changeset e0aa698192b7 2013-02-19 23:51:40 +01:00
Eddy Bruel
998a480f3e Bug 568953 - Refactor FunctionNode; r=jorendorff 2013-02-19 23:06:14 +01:00
Luke Wagner
582dc44dd0 Bug 842411 - Fire operation callback before time is up so we can test the non-aborting case (r=terrence)
--HG--
extra : rebase_source : 9f23aa8fc1be361f55b2db3943d20d510730fb7a
2013-02-19 13:17:39 -08:00
David Anderson
ae0de3cf8b Fix a bug in typed array speculation (bug 841462, r=jandem). 2013-02-19 13:23:29 -08:00
Gavin Sharp
58c2d69de4 Bug 841359 - Always log error originating from windows with chrome principals. r=bz 2013-02-16 17:01:59 -08:00
Ryan VanderMeulen
4aa6da6a4f Merge m-c to inbound. 2013-02-19 12:46:19 -05:00
Lukas Blakk
4c259b985a Merging in version bump NO BUG CLOSED TREE 2013-02-19 09:35:19 -08:00
Eddy Bruel
40179528db Bug 568593 - Refactor ModuleBox; r=jorendorff 2013-02-19 16:43:42 +01:00
Eddy Bruel
c3fd23946f Bug 757188 - Refactor FlowGraphSummary; r=jorendorff 2013-02-19 16:05:15 +01:00
Hannes Verschore
9e91283128 Bug 836274: Disable funapply inlining when typeset of callee is tighter than caller, r=nbp 2013-02-19 11:33:42 +01:00
Phil Ringnalda
ada83cb5e4 Back out 3de5ec9de48a:7a1ecef13ae9 (bug 840696) and 62fa6ee0a279 (bug 814823) for Android bustage
CLOSED TREE
2013-02-18 23:15:27 -08:00
Nicolas B. Pierron
ca0778b23c Bug 840696 part 2 - Add typed array support to GetElem ICs. r=dvander 2013-02-18 22:15:30 -08:00
Nicolas B. Pierron
7aef909002 Bug 840696 part 1 - Enable GetElem IC if typed arrays & arrays are mix-up. r=dvander 2013-02-18 22:14:25 -08:00
Nicolas B. Pierron
adedaf3e35 Bug 814823 - Clean-up Ion cache mechanism. r=dvander 2013-02-18 21:29:55 -08:00
Hannes Verschore
9ee59669be Bug 839315: IonMonkey: Fix fault in TypePolicy of MCompare for CompareType_Boolean and CompareType_String, r=jandem 2013-02-18 18:32:10 +01:00
Andrea Marchesini
d98c0993bb Bug 839447 - Rename nsHTMLOptionElement to HTMLOptionElement, r=Ms2ger
--HG--
rename : content/html/content/src/nsHTMLOptionElement.cpp => content/html/content/src/HTMLOptionElement.cpp
rename : content/html/content/src/nsHTMLOptionElement.h => content/html/content/src/HTMLOptionElement.h
2013-02-18 13:24:58 +01:00
Andrea Marchesini
fe3cb4351c Bug 838559 - Rename nsHTMLMenuElement to HTMLMenuElement. r=Ms2ger
--HG--
rename : content/html/content/src/nsHTMLMenuElement.cpp => content/html/content/src/HTMLMenuElement.cpp
rename : content/html/content/src/nsHTMLMenuElement.h => content/html/content/src/HTMLMenuElement.h
2013-02-18 06:59:08 -05:00
Jacek Caban
3189657162 Bug 841695 - Fixed ToPropertyKeySlow redeclared without dllimport warning r=Waldo
--HG--
extra : rebase_source : 5999cdc037b856707969b059739d35fec23428c5
2013-02-18 12:29:51 +01:00
Jon Coppeard
0f53be0e33 Bug 841356 - GC: Some minor rooting fixes r=sfink 2013-02-15 17:54:01 +00:00
Landry Breuil
78bac09dbb Bug 842131 - Use egrep to detect clang version, fixes build without GNU grep. r=glandium 2013-02-18 10:42:22 +01:00
Randy Lin
90902b6a5b Bug 834165 - Implement BlobEvent. r=smaug
--HG--
extra : rebase_source : 5d8f13baa4b2ff00a63300be54edb81ab2555bd9
2013-02-18 14:06:27 +08:00
L. David Baron
d9c0a39dc8 Bug 563195: Fix -Wshadow warnings in public JS API headers (those used from layout/style/). r=njn 2013-02-17 22:56:32 -08:00
Jeff Walden
3265481090 Bug 664528 - [].sort misbehaves when the array being sorted starts with at least one hole and otherwise contains only holes and |undefined| as its elements. r=jandem 2013-02-13 15:47:25 -08:00
Tom Schuster
7aa49904f6 Bug 508061 - INITELEM behavior differs with -j. rs=Ms2ger 2013-02-17 22:25:07 +01:00
Jim Blandy
f0929a3045 Bug 840723: Print js::Rooted<jsid> and related classes correctly in non-DEBUG builds. r=sfink 2013-02-15 21:27:44 -08:00
Jim Blandy
bfdfc16b12 Bug 840689: JS GDB support: Don't confuse typedefs with concrete types. r=sfink 2013-02-15 21:27:44 -08:00
Boris Zbarsky
213f724948 Bug 822674. Give RTCPeerConnection a sane classinfo. r=jst,jesup. r=peterv pending 2013-02-15 22:41:31 -05:00
Luke Wagner
45e2eae59e Bug 841619 - Factor out an ArrayBufferObject::changeContents from uninlineData (r=sfink)
--HG--
extra : rebase_source : 0f3828f1cd07e447540b28ba38f02e2bdd75aa04
2013-02-14 15:08:15 -08:00
Till Schneidereit
c322ae06f7 Bug 822080 - use defineProperty instead of setGeneric during cloning of object properties for self-hosting. r=jwalden 2013-02-15 23:32:52 +01:00
Masatoshi Kimura
e34e3f60a9 Bug 842730 - Remove nsIJSNativeInitializer from nsXMLHttpRequest. r=sicking 2013-02-20 20:54:19 +09:00
Brian Hackett
daa38c2983 Bug 842522 - Don't force construction of arguments objects in the presence of dynamic name accesses, r=luke. 2013-02-20 04:54:13 -07:00
Nicolas B. Pierron
29aeb56046 Bug 840696 part 4 - Avoid boxing the index for GetElement ICs. r=dvander 2013-02-20 00:49:56 -08:00
Nicolas B. Pierron
4ac34b17a1 Bug 840696 part 3 - Specialize the return type of GetElem ICs. r=dvander 2013-02-20 00:49:56 -08:00
Nicolas B. Pierron
2b74fc9686 Bug 840696 part 2 - IonMonkey: Add typed array support to GetElem ICs. r=dvander 2013-02-20 00:49:55 -08:00
Nicolas B. Pierron
496e7712ff Bug 814823 - Clean-up Ion cache mechanism. r=dvander 2013-02-20 00:49:55 -08:00
Nicolas B. Pierron
129f8f3baf Bug 840696 part 1 - Enable GetElem IC if typed arrays & arrays are mix-up. r=dvander 2013-02-20 00:49:55 -08:00
Joey Armstrong
3e5212c327 bug 746277: replace hg commands with functions 2013-02-15 17:00:12 -05:00
Till Schneidereit
90ea1b7f27 Bug 841467 - Fix assert to properly handle requests to allocate 0 bytes. r=n.nethercote
--HG--
extra : rebase_source : 96f4ca364285904c7b1580cfa6097399134788c6
2013-02-15 21:39:36 +01:00
Jan de Mooij
d8346f48d3 Bug 684384 - Ion-compile break-to-labeled-scope. r=dvander 2013-02-15 14:52:29 +01:00
Nicholas Nethercote
5aa9f64aba Bug 838014 (follow-up) - Bustage fix for 19857f43d44b on a CLOSED TREE. r=me. 2013-02-14 21:16:04 -08:00
Nicholas Nethercote
a97f3d62be Bug 685783 - Avoid slop in js::Vector when the element size is not a power of two. r=luke.
--HG--
extra : rebase_source : cd7633073f3765b635f08f948044ff109d196ce8
2013-02-10 13:56:22 -08:00
Steve Fink
2a42a7a9fb Bug 838014 - More rooting in Debugger, plus some minor rooting in JSD and xpconnect for some should-be-private JSAPI changes. r=terrence
--HG--
extra : rebase_source : 46febe5421f6e1901f0d5ac2707fb3fdde1894db
2013-02-12 12:27:02 -08:00
Nicholas Nethercote
7592a76c58 Bug 839376 (part 13) - Fix ten easy rooting hazards in vm/Debugger.cpp. r=terrence.
--HG--
extra : rebase_source : 0cc515f0f423d8794dd42eff70b6056cf8d6919f
2013-02-14 18:55:24 -08:00
Nicholas Nethercote
f81dfbe4f0 Bug 839376 (part 12) - Fix two easy rooting hazards in shell/js.cpp. r=terrence.
--HG--
extra : rebase_source : f542f9d056b956463ddf474efa538ea9a20d970d
2013-02-14 18:54:39 -08:00
Nicholas Nethercote
00df65ece0 Bug 839376 (part 11) - Fix two more easy rooting hazards. r=terrence.
--HG--
extra : rebase_source : 37e7f5748b62018ab8ba8010f64d2c84f14578fa
2013-02-14 18:54:04 -08:00
Nicholas Nethercote
fcb28b3b94 Bug 839376 (part 10) - Fix five rooting hazards in jsproxy.cpp. r=terrence.
--HG--
extra : rebase_source : 3a6220485cff14cca365a866dbcc21fda701b5b4
2013-02-14 18:49:33 -08:00
Nicholas Nethercote
a586f64944 Bug 839376 (part 9) - Fix six rooting hazards in methodjit/PolyIC.cpp. r=terrence.
--HG--
extra : rebase_source : efcf013c9593f14958499165bc9b2941695056a8
2013-02-14 18:49:21 -08:00
Benjamin Peterson
196614d554 Bug 841549 - Fix sizeOfIncludingThis() during compression. r=njn 2013-02-14 23:25:17 -05:00
Bill McCloskey
366f7e0751 Bug 832812 - Don't use off-thread Ion compilation while profiling (r=dvander)
--HG--
extra : rebase_source : 0bcb79b0d8c1d6d2c0f23efdb0698a27a02f3d45
2013-02-14 17:13:38 -08:00
Nicholas Nethercote
e0221ba264 Bug 839973 - Reduce chunk size for JSCompartment::typeLifoAlloc. r=billm.
--HG--
extra : rebase_source : 2b85704f2ba25698df1b93ed02e43629e2d333d4
2013-02-14 16:20:15 -08:00
Christian Holler
a933aec5ad Bug 838557 - Create a common interface for ASan/Valgrind functions. r=mats,bhackett 2013-02-15 00:50:11 +01:00
Kannan Vijayan
1a214bd9e8 Bug 841499 - Allow calling SetObjectElementOperation with explicit script and pc arguments. r=jimb 2013-02-14 18:27:49 -05:00
Terrence Cole
defe5624ca Bug 841054 - Remove a dead script_ from SnapshotReader; r=nbp
--HG--
extra : rebase_source : d0b0052c3e0ba3f43173130487eb53a69d03b267
2013-02-13 18:32:14 -08:00
Nicholas Nethercote
d6984b03b9 Bug 840809 (part 3) - Shrink initial size of some per-compartment tables. r=billm.
--HG--
extra : rebase_source : 70b534a4e16306d161228a640b3eb5cdf9a6b478
2013-02-14 11:12:25 -08:00
Nicholas Nethercote
bcfb0eadfd Bug 840809 (part 2) - Measure RegExpCompartment::inUse_. r=sstangl.
--HG--
extra : rebase_source : 6eb3e6d42f0dd09eb62ffc887b0e6243de2f7202
2013-02-14 11:11:46 -08:00
Nicholas Nethercote
c5e9482c20 Bug 840809 (part 1) - Fix a comment and rename a constant in HashTable.h. r=luke.
--HG--
rename : content/svg/content/src/SVGComponentTransferFunctionElement.h => content/svg/content/src/nsSVGFilters.cpp
extra : rebase_source : 98370c5137aa67a3f2cedb7fc81668bb80b559bb
2013-02-14 11:11:15 -08:00
Brian Hackett
c7d4781710 Bug 841403 - Add --ion-uses-before-compile option to shell, r=jandem. 2013-02-14 10:38:02 -07:00
Brian Hackett
3a2fc8c816 Bug 824249 - Fix bustage on a CLOSED TREE 2013-02-14 09:41:36 -07:00
Brian Hackett
34786c60ff Bug 824249 - Relax use count checks when inlining functions in Ion, r=dvander. 2013-02-14 09:24:01 -07:00
Marty Rosenberg
b9b1e87f5c bug 837347: re-enable typed arrays in JM on ARM (very necessary for mandreel) (r=jbramley) 2013-02-14 10:02:00 -05:00
Brian Hackett
2571f42179 Bug 840278 - Mark the presence of sparse indexes in type information for object initializers, r=jandem. 2013-02-14 07:29:35 -07:00
Bobby Holley
0cff91747e Bug 834697 - Enable XBL scopes, and disable assertion. r=bz,me 2013-02-14 15:15:59 +01:00
Felix S. Klock II
3af2c6afc5 Bug 840512 - Generalize toolchain.m4 to match newer Apple clang version string. r=glandium 2013-02-13 11:24:09 +01:00
Ed Morley
623e4f4253 Merge mozilla-central to mozilla-inbound 2013-02-14 11:09:15 +00:00
Ed Morley
53d135515b Merge latest green inbound changeset to mozilla-central 2013-02-14 10:44:41 +00:00
Mike Hommey
a23539c17e Bug 840661 - Fix ExpandArgsMore._getFoldedSections. r=ted 2013-02-14 08:18:34 +01:00
Nicholas Nethercote
84e657b2d1 Bug 839376 (part 8) - Fix another seven rooting hazards. r=sfink.
--HG--
extra : rebase_source : 9863790dd2ad0cf043609986d046b84046527962
2013-02-13 17:24:00 -08:00
Jon Coppeard
9770fa35b9 Bug 840581 - GC: jsapitests crash with rooting analysis enabled r=terrence 2013-02-12 17:44:31 +00:00
Jon Coppeard
b291c55a71 Bug 840548 - GC: rooting hazards in the parser r=sfink 2013-02-12 17:19:05 +00:00
Jon Coppeard
21192b519e Bug 840477 - GC: Rooting hazards in the shell r=sfink 2013-02-12 17:19:03 +00:00
Ryan VanderMeulen
0e981ca346 Backed out 12 changesets (bug 834732) for b2g bustage and OSX mochitest-1 crashes on a CLOSED TREE. 2013-02-12 20:54:48 -05:00
Nicholas Nethercote
2ec1828036 Bug 839376 (part 7) - Fix seven more easy rooting hazards. r=sfink.
--HG--
extra : rebase_source : 71a098b809d06bcb0c8a61c7960d9607f81441d4
2013-02-12 14:59:33 -08:00
Nicholas Nethercote
94d1dcaadf Bug 839376 (part 6) - Fix five more easy rooting hazards. r=sfink.
--HG--
extra : rebase_source : 8b430a1de5dcbfecd4799b31a5e30ab35cd53fd7
2013-02-12 14:57:20 -08:00
Nicholas Nethercote
22b9a13778 Bug 839376 (part 5) - Make ObjectClassIs take a HandleObject. r=sfink.
--HG--
extra : rebase_source : 2a2f9863a2e2ef2419e28a9167cde8a255003cd0
2013-02-11 21:01:45 -08:00
Bobby Holley
f946ae9e15 Bug 834732 - Assert proper cx stack handling in WrapperFactory::Rewrap. r=mrbkap 2013-02-13 00:22:27 +01:00
Bobby Holley
9c9b132652 Bug 834732 - Implement stricter cx handling in xpc_EvalInSandbox. r=mrbkap 2013-02-13 00:22:27 +01:00
Bobby Holley
e9d5a91d21 Bug 834732 - Make nsCxPusher.Push(JSContext*) infallible. r=mrbkap
We leave the nsIDOMEventTarget* versions fallible for now, but this makes the
common case a lot simpler. Note that this means that pushing a null JSContext,
a bug, is no longer handled at runtime. But I think we should just assert
against it, since there are already callers that don't check the return value.
2013-02-13 00:22:26 +01:00
Bobby Holley
5a1f2c3927 Bug 834732 - Remove PushBehavior. r=mrbkap
Now that we only have ALWAYS_PUSH and ASSERT_SCRIPT_CONTEXT, we have uniform
release-mode behavior everywhere. Remove the crap.
2013-02-13 00:22:26 +01:00
Bobby Holley
863479340f Bug 834732 - Get rid of footgun bool param for nsCxPusher and use an explicit enum. r=mrbkap
The goal here is to get rid of this crap entirely, and make nsCxPusher always
push. But that's a scary change, so we do it in chunks. This patch, in particular,
should have zero behavioral change. This means preserving some very wrong behavior.
For instance, currently SafeAutoJSContext never pushes a damn thing, because the
safe JSContext doesn't have an associated nsIScriptContext. We preserve this
behavior, and in fact convert various similarly-buggy consumers to
SafeAutoJSContext, so that we can hoist the behavioral change into a subsequent
patch.
2013-02-13 00:22:26 +01:00
Steve Fink
0c51d1bac2 Bug 668583 - Detect rope corruption earlier in opt builds. r=billm
--HG--
extra : rebase_source : 646e143f453f36c72c379dae521cc59b24fc5584
2013-02-12 11:07:26 -08:00
Landry Breuil
782f7024e2 Bug 840611: Fix build on BE archs (ie ppc) after bug 834242. r=terrence 2013-02-12 22:29:29 +01:00
Nicholas Cameron
e90c83b2f8 Bug 822077; specialise PushRegs for ARM using STM; r=mjrosenb
--HG--
extra : rebase_source : f5eeb006a70ed9ef09adc0382943d6c0932615dc
2013-02-03 13:40:05 +13:00
Mike Hommey
b93146bd04 Bug 837665 - Show command line and response file contents when expandlibs_exec'ed command fails. r=ted 2013-02-14 08:23:49 +01:00
Makoto Kato
8d2aa4329c Bug 834645 - move -STACK parameter to config.mk. r=ted 2013-02-14 15:22:00 +09:00
David Anderson
518d6183da Implement JSOP_CALLEE in JM (bug 794427, r=bhackett).
--HG--
extra : rebase_source : 6aa85c3434a70d93fcf409bdb4cc2baaf024896e
2013-02-13 17:24:50 -08:00
Jeff Walden
1cd84ae245 Bug 840400 - Add an IsObject helper to Utilities.js, to centralize all workarounds for |typeof| brokenness. r=Norbert 2013-02-12 09:49:18 -08:00
Daniel Holbert
64920f7e29 Bug 841146: Remove unused member-variable 'compileContext_' from class ParallelArrayVisitor. r=nmatsakis 2013-02-13 16:27:13 -08:00
Daniel Holbert
60e0afc687 Bug 841132: Remove unused variable 'notes' from js::XDRScript(). r=njn,till 2013-02-13 16:26:02 -08:00
Bobby Holley
b340ba14ec Bug 819158 - Introduce stopAtOuter for UnwrapObjectChecked. r=mrbkap
We need to simultaneously stop marking outers as unsafe to unwrap, otherwise
we'll end up with paradoxical behavior whereby stopAtOuter=true returns null
but stopAtOuter=false returns an object. This is fine, because we're now
handling outer explicitly.
2013-02-14 01:11:32 +01:00
Ting-Yuan Huang
880124df25 Bug 715419 - Specializing Array.prototype.sort when given the comparator is "return arg1 - arg2". Patch includes some minor tweaks/comment adjustments from jwalden. r=luke, r=jwalden 2012-10-29 16:05:51 +08:00
Norbert Lindenberg
9bc59bf085 Bug 769872 - Add self-hosted JavaScript core of Intl constructors Collator, NumberFormat, DateTimeFormat (part 4). r=jwalden
--HG--
extra : rebase_source : a51e36f6ebd1a51239982177c3e7e31019a87e6b
2013-02-13 12:20:06 -08:00
Jeff Walden
8466cebe90 Bug 835551 - Add a new header consolidating non-configure-generated #defines that we require in order to build. r=ted
--HG--
extra : rebase_source : 58c101eeff26cd8060d76a60f6a9b8241b5c9cdb
2013-02-06 19:09:59 -08:00