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
Rico Tzschichholz
107c8bc1f2
Bug 831552 - Install all SpiderMonkey headers when |make install| happens. The ones in INSTALLED_HEADERS have additional dependencies which must be copied into place as well for the whole thing to work correctly. r=jimb, r=ted
...
--HG--
extra : rebase_source : c98894717ab94044e800a73f3c91dec1129e3d5f
2013-01-17 01:07:01 +01:00
Kannan Vijayan
ab16b7d3b6
Bug 840162 - Fix loadValue/storeValue with BaseIndex arguments. r=mjrosenb
2013-02-13 16:11:21 -05:00
Kannan Vijayan
c4ead28b17
Bug 840162 - Fix toggled call branch tracing on ARM. r=mjrosenb
2013-02-13 14:38:24 -05:00
Terrence Cole
73758e7baa
Bug 839673 - Do not access the ArenaHeader of already-finalized GCThings; r=luke
2013-02-12 17:48:10 -08:00
Terrence Cole
a47b673796
Back out changeset 0d285589f47a (Bug 839673) - Broken Merge
2013-02-13 11:04:25 -08:00
Terrence Cole
b31a322526
Bug 839673 - Do not access the ArenaHeader of already-finalized GCThings; r=luke
...
--HG--
extra : rebase_source : 8880f66b823b58b8d723fbf2bca4848cc1173ce9
2013-02-12 17:48:10 -08:00
Till Schneidereit
22ae6134ff
Bug 679940 - Share bytecode, source notes and atoms of functions in a runtime wherever possible. r=bhackett
...
--HG--
extra : rebase_source : 1518f7830a5640a2216c2d828859b8660d3fff60
2013-02-02 00:02:08 +01:00
Jim Blandy
f32a41d7c9
Bug 840319: Keep js/src/gdb/gdb-tests.cpp's 'breakpoint' function from being unified with other functions in SM. r=sfink
2013-02-12 11:55:00 -08:00
Jim Blandy
a2d95150b3
Bug 839791: Update JS GDB support for JS_ARRAY_HOLE -> JS_ELEMENTS_HOLE change. r=sfink
2013-02-12 11:55:00 -08:00
Terrence Cole
e49b79325e
Bug 839215 - Make large typedarrays singletons more aggressively; r=bhackett
...
--HG--
extra : rebase_source : df0ea62ae25f7c106de01e38fb8ac729b0148f63
2013-02-12 11:50:49 -08:00
Kannan Vijayan
e53042d665
Bug 840162 - Add subPtr for registers to ARM masm. r=mjrosenb
2013-02-12 13:21:48 -05:00
Andrew McCreight
0694a9d260
Bug 784730 - Add missing comment. r=bholley DONTBUILD
2013-02-12 09:46:34 -08:00
Terrence Cole
72bdf543e1
Bug 837845 - Manually backout the largest memory users from bug 798624; r=Waldo
2013-02-05 14:22:27 -08:00
Ed Morley
eb46e572da
Merge mozilla-central to mozilla-inbound
2013-02-12 14:57:45 +00:00
Ed Morley
6735c60a03
Merge latest green inbound changeset to mozilla-central
2013-02-12 14:43:06 +00:00
Ms2ger
74cd2ae5e4
Bug 837176 - Simplify code flow in CheckSideEffects; r=jorendorff
2013-02-12 11:14:01 +01:00
Nicholas Nethercote
7e89fc2121
Bug 839376 (part 4) - Fix four or five more rooting hazards. r=sfink.
...
--HG--
extra : rebase_source : 4e4e844c48b5282b772845c87f56e2384cf68998
2013-02-11 19:35:22 -08:00
Norbert Lindenberg
b9967ecbd5
Bug 839751 - "Assertion failure: i < argc_" with localeCompare. r=jwalden
...
--HG--
extra : rebase_source : 82f04b0635be8e2f408e37d33a2ba186d3810011
2013-02-11 19:04:36 -08:00
Sean Stangl
5ac8600a70
Bug 840339 - Include inlined JSScript definitions to fix warnings. r=dholbert
2013-02-11 18:08:21 -08:00
Olli Pettay
ff9c34a6e4
Bug 839528 - Change the namespace of xpidl dictionary helpers, r=khuey
2013-02-11 21:37:50 +02:00
Olli Pettay
6e6150abc6
Bug 839465 - Implement SmartCardEvent using event code generator, r=mounir
2013-02-11 21:37:20 +02:00
Ryan VanderMeulen
292b4f3c5f
Merge m-c to inbound.
2013-02-11 13:51:32 -05:00
Mike Hommey
034e18f90d
Bug 790115 - Create .purgecaches in $(DIST)/bin and $(DIST)/bin/webapprt, and allow to override $(DIST)/bin. r=ted
2013-02-11 14:10:10 +01:00
Bobby Holley
6c9a0d2a78
Bug 839867 - Align gecko with the spec on cross-origin access to Location.hash. r=bz
...
We update the tests to cover this case. There was also a bug in the tests where
we were accidentally testing non-writable Location properties against window
rather than window.location. :-(
2013-02-11 00:05:17 +01:00
Jan de Mooij
7a7097df18
Bug 839982 part 6 - Create |this| before creating the resume point when inlining NEW. r=djvj
2013-02-12 13:11:28 +01:00
Jon Coppeard
0ffb28edcb
Bug 839471 - GC: Sweep type objects on the background thread r=billm
2013-02-08 08:40:39 +00:00
Mike Hommey
200d2998fb
Bug 839824 - Fix build error with gcc 4.4 in MIR.h. r=dvander
2013-02-12 11:02:53 +01:00
Ryan VanderMeulen
c32ab4bc8d
Merge m-c to inbound.
2013-02-11 20:49:31 -05:00
Jeff Walden
149649e256
Bug 826009 - Move locale callback info, default locale, etc. data and APIs to be JSRuntime-centered. f=bholley, r=jorendorff
...
--HG--
extra : rebase_source : 35317f4c29e9dd70e7d4fd1292027cfd51ce2675
2013-02-07 18:04:11 -08:00
Tom Schuster
56fa4092eb
Bug 840172 - Rooting fixes for Wrapper and wrap. r=terrence
2013-02-12 01:31:10 +01:00
Andrew McCreight
2093b2df88
Bug 784730 - Crash in ReparentWrapperIfFound if wrapper already in scope. r=bholley
2013-02-06 12:18:54 +00:00
Nicholas Nethercote
b43577c768
Bug 839376 (part 3) - Some low-hanging exact rooting fruit. sfink.
...
--HG--
extra : rebase_source : 1d236895915f9474fd8e50c399bf2cd8139a6b5f
2013-02-11 14:04:25 -08:00
Nicholas Nethercote
4db520e108
Bug 839376 (part 2) - Add some easy exact roots for jsinfer.cpp. r=sfink.
...
--HG--
extra : rebase_source : 38732b05549e2f322b33ce4728ae2e38f5b82e56
2013-02-11 14:04:02 -08:00
Nicholas Nethercote
b7bd0bacf8
Bug 839376 (part 1) - Add an exact root for jstypedarray.cpp. r=sfink.
...
--HG--
extra : rebase_source : fb5dd6bbd53ac0949070f574a636ec480131741b
2013-02-11 14:03:02 -08:00
Sean Stangl
3c48c127da
Bug 839727 - Minor cleanups around polymorphic inlining. r=djvj
2013-02-11 13:16:53 -08:00
Tom Schuster
d3846ae9e6
Bug 838558 and Bug 839027: checkin lost changsets in XPC. CLOSED TREE
2013-02-11 22:07:35 +01:00
Tom Schuster
ae73002280
Bug 838558 - Kill object equality hook. r=jorendorff
2013-02-11 21:06:05 +01:00
Tom Schuster
b5f30783df
Bug 839027 - Kill object typeof hook. r=jorendorff
2013-02-11 21:05:13 +01:00
Jim Blandy
55264eacf3
Bug 828078: JS GDB support: Add dummy type lookup to work around GDB bug (fixed in present GDB sources). r=sfink
2013-02-09 09:14:13 -08:00
Jan de Mooij
03d2d5f821
Bug 839420 - Refactor ReportIsNotFunction to not use spIndexOf and remove spIndexOf. r=bhackett
2013-02-09 13:51:48 +01:00
Jan de Mooij
04a886932f
Bug 836742 part 2 - Move EnsureExitFrame to IonFrames.cpp, rename IonFrame_Bailed_*. r=nbp
2013-02-09 13:49:07 +01:00
Jeff Walden
579f351e28
Rename the |static const bool result| member of IsSame, IsPod, and IsPointer to |value| to be consistent with every other type trait. I have no idea how I managed to consistently not notice this during review. Followup to bug 723228, r=typo
2013-02-08 22:59:54 -08:00
Luke Wagner
d3bd3e3e26
Bug 839582 - IonMonkey: assume high word of 64-bit registers are zero (r=sstangl)
...
--HG--
extra : rebase_source : d5079610c41e0fcbbe1dbd28f2eeadd2a22b148b
2013-02-08 16:50:33 -08:00
Jason Orendorff
80d3aed562
Bug 838813 part 12 - Remove SRC_DESTRUCTLET. r=njn.
...
--HG--
extra : rebase_source : d488c8834a0a0c45b688e2f3aefbcef7e108aa45
2013-02-08 17:21:51 -06:00
Jason Orendorff
e9d9624885
Bug 838813 part 11 - Remove SRC_FUNCDEF. r=njn.
...
--HG--
extra : rebase_source : 61ff397858fff3a7aa009249c9727bbebf5942f5
2013-02-08 17:21:29 -06:00
Jason Orendorff
f462985def
Bug 838813 part 10 - Do not remove SRC_SWITCH. Note where it's used. r=njn.
...
--HG--
extra : rebase_source : ec2423aa9d7239f5a748fc56856b6f2befe7523e
2013-02-08 17:20:24 -06:00
Jason Orendorff
1c74c0c5b4
Bug 838813 part 9 - Remove SRC_ENDBRACE. r=njn.
...
--HG--
extra : rebase_source : 5841780fb0f359a7df870fdc3daa3ac7b0ea95ea
2013-02-08 17:20:14 -06:00
Jason Orendorff
22aa4292c2
Bug 838813 part 8 - Remove SRC_LABEL and SRC_LABELBRACE. r=njn.
...
--HG--
extra : rebase_source : 4d6e2c9c541e9021f28c1d689af5f074fa5b4b46
2013-02-08 17:20:03 -06:00
Jason Orendorff
7f9014486c
Bug 838813 part 7 - Remove SRC_PCBASE. r=njn.
...
--HG--
extra : rebase_source : f30407a5b6302ca0636453a8a44d37a9e3d3afac
2013-02-08 17:19:52 -06:00
Jason Orendorff
4262718c1d
Bug 838813 part 6 - Remove SRC_BRACE. r=njn.
...
--HG--
extra : rebase_source : e755d89dffb79cac8b2c356560ede44ff9a359e7
2013-02-08 17:19:42 -06:00
Jason Orendorff
0eb6d8887b
Bug 838813 part 5 - Remove SRC_DESTRUCT. r=njn.
...
--HG--
extra : rebase_source : b070a9429ff3e72ce94e314734c940d9248b37a6
2013-02-08 16:15:42 -06:00
Jason Orendorff
f9f09614aa
Bug 838813 part 4 - Remove SRC_GROUPASSIGN. r=njn.
...
--HG--
extra : rebase_source : bac84df8d507d48c8a71983aa7aa17617d33baf4
2013-02-08 16:15:29 -06:00
Jason Orendorff
5d97a340cc
Bug 838813 part 3 - Remove SRC_DECL. r=njn.
...
--HG--
extra : rebase_source : d2b807c7d8b981734db6ffc7735fb71777f307ad
2013-02-08 16:11:51 -06:00
Jason Orendorff
fd6291ff2f
Bug 838813 part 2 - Remove SRC_GENEXP. r=njn.
...
--HG--
extra : rebase_source : b5d3b87adcbba66a3f8f5267555cff707189deb5
2013-02-08 16:07:28 -06:00
Jason Orendorff
ea63b2d1d4
Bug 838813, part 1 - Remove SRC_INITPROP. r=njn.
...
--HG--
extra : rebase_source : 02de3a98606cd6a2cb2b1919bbb71213e1e3d685
2013-02-08 16:06:59 -06:00
Robert Strong
e4c20af5aa
Merge backout of Bug 678392
2013-02-08 16:53:05 -08:00
Joey Armstrong
5fcbacb82f
bug 837754: valgrind tbpl builds, re-add catchall mkdir dot rule
2013-02-08 16:46:42 -05:00
Razvan Cojocaru
83699243fe
Bug 723228 - nsTArray::AssignRange should use memcpy when possible. r=jlebar for the XPCOM changes, r=jwalden for js/mfbt changes
...
--HG--
extra : rebase_source : 2442a0d29ae0fa7edd0312d980cbc270a4f33134
2013-02-08 13:18:49 -08:00
Tom Schuster
cb1c9c8f29
Bug 832299 - Handlify JSCompartment::wrap. r=terrence
2013-02-08 20:16:34 +01:00
Mike Hommey
5ace77102d
Bug 838915 - Add a JS_STANDALONE configure/make variable. r=ted
2013-02-08 15:58:53 +01:00
Mike Hommey
414926b916
Bug 793767 - Use the executable file location to derive the update root. r=rstrong
2013-02-08 15:58:52 +01:00
Kannan Vijayan
64f0598b1d
Bug 839367 - Addressing forgotten nit. r=mjrosenb
2013-02-08 12:06:57 -05:00
Kannan Vijayan
b59e5fe859
Bug 839367 - Add branchTestValue(Condition, Address, ValueOperand, Label) method. r=mjrosenb
2013-02-08 12:03:20 -05:00
Andrea Marchesini
01f03b4f30
Bug 839056 - Rename nsHTMLOptGroupElement to HTMLOptGroupElement. r=Ms2ger
...
--HG--
rename : content/html/content/src/nsHTMLOptGroupElement.cpp => content/html/content/src/HTMLOptGroupElement.cpp
rename : content/html/content/src/nsHTMLOptGroupElement.h => content/html/content/src/HTMLOptGroupElement.h
2013-02-08 11:34:48 -05:00
Boris Zbarsky
25613db785
Bug 839116 followup. Stop depending on <html> elements having a content-visible QueryInterface in the poor CLOSED TREE. r=mrbkap
2013-02-08 15:03:07 +00:00
Bobby Holley
a9cbc7eea3
Bug 821850 - Dynamically waive Xray for field access by XBL script on bound nodes. r=bz
2013-02-08 14:24:22 +00:00
Bobby Holley
2be0c8d31e
Bug 821850 - Expose XBL members via Xray wrappers. r=bz
2013-02-08 14:24:21 +00:00
Bobby Holley
fd02fd27ef
Bug 821850 - Clean up security wrappers for NAC. r=bz
2013-02-08 14:24:20 +00:00
Bobby Holley
032bee38ff
Bug 821850 - Check for XBL scopes in nsContentUtils::IsCallerXBL(). r=bz
2013-02-08 14:24:20 +00:00
Bobby Holley
b757981155
Bug 821850 - Add infrastructure for lazily-created XBL scopes. r=bz
2013-02-08 14:24:19 +00:00
Bobby Holley
4bbdcf29e8
Bug 821850 - Don't rewrap |this| in nativeCall. r=jorendorff
...
This generally works with membrane semantics, but breaks when same-compartment
security wrappers are involved. In particular, when Field{Getter,Setter} live
in the XBL scope and operate on NAC via nativeCall, the this object can't be
rewrapped, because otherwise a SOW will appear and break everything.
It's not ideal to hardcode the index of |this|, but there's not really a great
alternative. IIUC the layout isn't changing any time soon, and this code will
hopefully be short-lived anyway, since SCSWs are on their way out.
2013-02-08 14:24:19 +00:00
Bobby Holley
c7dd1dee85
Bug 821850 - Properly propagate |strict| in JSObject::deleteByValue. r=jorendorff
2013-02-08 14:24:19 +00:00
Bobby Holley
5c1e864319
Bug 812669 - Remove XPConnect equality hooks. r=mrbkap
2013-02-08 10:39:01 +00:00
Norbert Lindenberg
3bfd81a362
Bug 769872 - Add self-hosted JavaScript core of Intl constructors Collator, NumberFormat, DateTimeFormat (part 7). r=jwalden
2013-02-07 22:22:57 -08:00
Nicholas Nethercote
4cdaab90f1
Bug 838955 (part 2) - Fix rooting hazards in jsstr.cpp identified by static analysis. r=sfink.
...
--HG--
extra : rebase_source : 7a2de0680f6f82a0c40bea46a520af1a5ad72fbc
2013-02-07 18:13:41 -08:00
Nicholas D. Matsakis
10ffe3fd58
Bug 834882: move InParallelSection() out of ForkJoinSlice and rename Initialize() to InitializeTLS() r=billm
2013-01-25 13:54:53 -08:00
Nicholas Nethercote
e752d42de8
Bug 838955 (part 1) - Fix rooting hazards in jsstr.cpp identified by static analysis. r=sfink.
...
--HG--
extra : rebase_source : cc45015a1840ccb1c3146e0b4ad81f2226dac985
2013-02-07 18:13:39 -08:00
Norbert Lindenberg
19635937ba
Bug 789393 - String.prototype.localeCompare() with no argument always returns 0. r=jwalden
...
--HG--
extra : rebase_source : 914adcd672372f9fe628e8b27e7b14b2fa40cc41
2013-02-07 18:01:35 -08:00
Nicholas D. Matsakis
cb42645529
Bug 839274: Initialize ForkJoinSlice independently of ION. r=billm
2013-02-07 16:19:07 -08:00
Steve Fink
57bee78e2f
Backed out changeset ced35810adb2 (bug 838014). Again.
2013-02-07 17:06:42 -08:00
Steve Fink
28c82bacd9
Backed out changeset b5ec7ce219b2 (bug 838014)
2013-02-07 17:06:16 -08:00
Steve Fink
bc89b342d3
Backed out changeset 5abed7bd3cb7 (bug 838014)
2013-02-07 17:06:14 -08:00
Norbert Lindenberg
0daf6fbd05
Bug 769872 - Add self-hosted JavaScript core of Intl constructors Collator, NumberFormat, DateTimeFormat (part 6). r=jwalden
...
--HG--
extra : rebase_source : 714d2776e671bf8587c95f2b19b576fb68d957b7
2013-02-07 15:34:50 -08:00
Sean Stangl
3594bd8087
Bug 792797 - Handle interrupts in the Yarr interpreter. r=dvander
2013-02-06 16:54:26 -08:00
Nicholas Nethercote
d8786a806d
Bug 836949 (part 1) - Clean up the versions/options code. r=jorendorff.
...
--HG--
rename : content/html/content/test/test_meta_attributes_reflection.html => content/html/content/test/test_ol_attributes_reflection.html
extra : rebase_source : 970d8a542bb631ce3f18da26ece69667af29d0a9
2013-02-06 21:35:16 -08:00
Tom Schuster
3f37b3d465
Bug 836373 - IonMonkey changes to compareString for the baseline jit. r=jandem
2013-02-08 00:01:15 +01:00
Nicolas B. Pierron
ec7ba446d4
Bug 835499 - Remove the runningInIon flag at the end of convertFrame. r=dvander
2013-02-07 14:35:05 -08:00
Steve Fink
10cc6ef8e7
Bug 838014 - Rooting in jsapi-tests/. r=terrence. Landing again.
...
--HG--
extra : rebase_source : d42fbf0161f4c9758ada38d1d08a2583ab111376
2013-02-07 13:32:00 -08:00
Steve Fink
423e542891
Bug 838014 - Rooting in the JS shell. r=terrence. Re-landing.
...
--HG--
extra : rebase_source : 5b326721e40b3f2b88a174f0076fcd04a0829aaa
2013-02-07 13:32:00 -08:00
Steve Fink
23e48dff27
Bug 838014 - Rooting in ionmonkey. r=terrence. Relanding.
...
--HG--
extra : rebase_source : 6df06564ba73b2f3c34274e077025c510f5e9ccc
2013-02-07 13:32:00 -08:00
Dirkjan Ochtman
0a88aaedf7
Bug 638219 - Move jittests.main() function back into jit_test.py script. r=terrence
2013-01-23 18:46:55 +01:00
Dirkjan Ochtman
65d05ee87b
Bug 638219 - Pass path to JS shell around as an option value. r=terrence
2013-01-23 18:31:17 +01:00
Dirkjan Ochtman
62d88391a4
Bug 638219 - Pass jit-test script options around as an argument. r=terrence
2013-01-23 18:17:08 +01:00
Dirkjan Ochtman
31e3e8b6f0
Bug 638219 - Style: treat print as a function, improve formatting. r=terrence
2013-01-25 18:31:54 +01:00
Dirkjan Ochtman
ca05cfb603
Bug 638219 - Get rid of wildcard imports. r=terrence
2013-01-22 21:48:58 +01:00
Dirkjan Ochtman
2a62f9f1f6
Bug 638219 - Clean up imports and unused variables. r=terrence
2013-01-22 21:48:05 +01:00
Dirkjan Ochtman
79d2ef7534
Bug 638219 - Remove +x bit from tests/lib/jittests.py. r=terrence
2013-01-22 21:45:26 +01:00
Steve Fink
3da7c179c5
Bug 838014 - Rooting the JS debugger, r=jorendorff.
...
--HG--
extra : rebase_source : 32db3aba8742ec36cc7edfead57a278e1861b86d
2013-02-01 13:38:42 -08:00
Steve Fink
fc0574bf01
Bug 838014 - More rooting in jsapi-tests. r=terrence
...
3rd landing attempt. Green try run.
--HG--
extra : rebase_source : 66e3004f4f606a1cdf81250e8b82a3d4baf6f9bd
2013-02-08 13:44:38 -08:00
Steve Fink
d0a772aef8
Bug 838014 - Rooting in ionmonkey, r=terrence
...
--HG--
extra : rebase_source : cd1978b4e9d43ce4459fc43b79adfac00b2b00d9
2013-02-08 13:44:35 -08:00
Jan de Mooij
4c34f62853
Bug 839212 - Remove TestIonCompile. r=bhackett
2013-02-07 22:12:46 +01:00
Nicholas Nethercote
5163cfb796
Bug 838911 - Fix Valgrind and ASAN annotations in LifoAlloc. r=bhackett
2013-02-06 17:39:27 -08:00
Nicholas D. Matsakis
9f36655f09
Bug 807853 - Add (but do not yet use) parallel compilation mode to ion r=dvander,terrence
2013-02-07 11:34:43 -08:00
Jeff Muizelaar
6b4156c8cd
Bug 837715. Reduce compression rate for js source. r=benjamin
...
This cuts the time to compress gaia-email-opt.js from 0.63 seconds to 0.33
seconds. The result should still be smaller (391K from 321K before) than the
compressing with snappy or lz4 (528K), but decompression time will be worse.
Fortunately, this will only penalize Function.toSource() which I think is an ok
trade off.
--HG--
extra : rebase_source : 00c9e38fa2099ed03dc24aea9582f48423fe3a1b
2013-02-06 12:53:52 -05:00
Steve Fink
e5080cce97
Backed out changeset 968921905c81 (bug 838014) on a CLOSED TREE
2013-02-07 10:49:41 -08:00
Steve Fink
954342e140
Backed out changeset 272c0e4616ab (bug 838014)
2013-02-07 10:49:39 -08:00
Steve Fink
7414fb2cc1
Backed out changeset c6757e68cfc9 (bug 838014)
2013-02-07 10:49:37 -08:00
Steve Fink
9b294957fc
Bug 838014 - Rooting in ionmonkey. r=terrence
...
--HG--
extra : rebase_source : 02e1ababcd36ea3e044ab3d2dd96f89816046a47
2013-02-06 21:25:16 -08:00
Steve Fink
5e26ad3163
Bug 838014 - Rooting in the JS shell. r=terrence
...
--HG--
extra : rebase_source : cce531ae3c9b8cba294434a212f9b0883acfef37
2013-01-29 16:33:42 -08:00
Steve Fink
80c2a55293
Bug 838014 - Rooting in jsapi-tests/. r=terrence
...
--HG--
extra : rebase_source : 458d9eb1828cf13de15ef015d0e37b9e91bee7bf
2013-01-29 16:18:01 -08:00
Jon Coppeard
b041227a58
Bug 838643 - GC: Finalize shapes on background thread r=billm
...
--HG--
extra : rebase_source : 378e23a78b86b544806dcf326a173c7b3c7c39eb
2013-02-07 08:22:29 +00:00
Jon Coppeard
bc1e468b3d
Bug 837751 - GC: Root CloneFunctionAtCallsite and WriteStructuredClone r=sfink
...
--HG--
extra : rebase_source : f049147afc19d8c2412223f028aef7adee1aae00
2013-02-07 08:22:28 +00:00
Jim Mathies
5e6531403d
Bug 802254 - Add quotes around XPI_ROOT_APPID which can contain {}. r=glandium
2013-02-07 10:22:11 -06:00
Peter Van der Beken
871110115e
Fix for bug 838228 (toString on an Xray for an interface object should stringify like Function.prototype.toString). r=bz.
...
--HG--
rename : content/html/content/test/test_map_attributes_reflection.html => content/html/content/test/test_ol_attributes_reflection.html
extra : rebase_source : 9bd7efb927e4eac96569ed629ee230dbf555fb63
2013-02-01 15:33:58 +01:00
Ryan VanderMeulen
7055ccb18f
Merge m-c to inbound.
2013-02-07 09:56:23 -05:00
Ryan VanderMeulen
8ef102a10d
Merge the last PGO green inbound changeset to m-c.
2013-02-07 09:55:08 -05:00
Vicamo Yang
195ec21112
Bug 834193: Implement USSDReceivedEvent, DataErrorEvent and CFStateChangeEvent using codegenerator. r=smaug
2013-02-07 19:02:12 +08:00
Vicamo Yang
cacd4c86e3
Bug 835148: Implement SmsEvent using event generator. r=smaug
...
--HG--
rename : dom/sms/interfaces/nsIDOMSmsEvent.idl => dom/sms/interfaces/nsIDOMMozSmsEvent.idl
rename : dom/sms/interfaces/nsIDOMSmsMessage.idl => dom/sms/interfaces/nsIDOMMozSmsMessage.idl
2013-02-07 18:43:22 +08:00
Jan de Mooij
5b3a11906c
Bug 838520 part 1 - Refactor UnwindScope to use AbstractFramePtr. r=djvj
2013-02-07 10:26:25 +01:00
Jan de Mooij
eeab1f0cc7
Bug 838759 - Remove assertJit shell function. r=bhackett
2013-02-07 10:21:15 +01:00
Ms2ger
61d15391a1
Bug 830846 - Pass HandleObject to DefineConstructorAndPrototype; r=terrence
2013-02-07 09:13:08 +01:00
Ms2ger
7f2b3065c4
Bug 830783 - Part c: Various rooting in RegExp.cpp; r=terrence
2013-02-07 09:13:08 +01:00
Ms2ger
bbef5222c4
Bug 830783 - Part b: Pass MutableHandleValue and HandleString to CreateRegExpMatchResult and ExecuteRegExpLegacy in RegExp.cpp; r=terrence
2013-02-07 09:13:08 +01:00
Ms2ger
74ae561be7
Bug 830783 - Part a: Pass MutableHandleValue to DoMatch in jsstr.cpp; r=terrence
2013-02-07 09:13:08 +01:00
Ms2ger
b64b376e1b
Bug 829997 - Pass MutableHandleValue to static RegExp getters; r=sfink
2013-02-07 09:13:08 +01:00
Ms2ger
ed4112ae25
Bug 830000 - Add CallArgs::handleAt; r=Waldo
2013-02-07 09:13:08 +01:00
Ms2ger
61296bd47f
Bug 829898 - Part c: Various rooting in jsstr.cpp; r=terrence
2013-02-07 09:13:08 +01:00
Ms2ger
d0a62753df
Bug 829898 - Part b: Pass a HandleLinearString to Encode & Decode and remove pointless OOM check in jsstr.cpp; r=terrence
2013-02-07 09:13:08 +01:00
Ms2ger
9bfad77805
Bug 829898 - Part a: Pass MutableHandleValue to Encode, Decode & TransferBufferToString in jsstr.cpp; r=terrence
2013-02-07 09:13:07 +01:00
Ms2ger
5dd9979a30
Bug 823902 - Use a bit less fromMarkedLocation; r=terrence
2013-02-07 09:12:51 +01:00
Ms2ger
ab5d2d87e3
Bug 829206 - Implement CallArgs::get; r=evilpie
2013-02-07 09:08:58 +01:00
Ms2ger
891e6798c0
Bug 829205 - Some rooting in Object.cpp; r=terrence
2013-02-07 09:08:58 +01:00
Ms2ger
ce3724648e
Bug 831885 - Turn JS_DHASH_ENTRY_IS_* into inline functions; r=jorendorff
2013-02-07 09:08:57 +01:00
Ryan VanderMeulen
6d4e2b111c
Backed out changesets 34927afb65e2 and 2d0b056ced49 (bug 838559) for mochitest failures.
...
--HG--
rename : content/html/content/src/HTMLMenuElement.cpp => content/html/content/src/nsHTMLMenuElement.cpp
rename : content/html/content/src/HTMLMenuElement.h => content/html/content/src/nsHTMLMenuElement.h
2013-02-06 16:22:59 -05:00
Daniel Holbert
6e69885509
Bug 838753: Make PropertyKey.cpp #include jsatominlines.h, to get ToAtom() inline-function-definition. r=Waldo
2013-02-06 12:44:05 -08:00
Sean Stangl
70fe0e7d95
Bug 838469 - Use CallInfo for inlining natives. r=h4writer
2013-02-06 12:34:15 -08:00
Benjamin Peterson
32e5006977
Bug 836515 - Allow source compression to run while executing the script. r=jorendorff
2013-02-07 09:29:22 -05:00
Brian Hackett
19b6938d4d
Bug 838727 - Move emitDoubleToInt32 to MacroAssembler, r=jandem.
2013-02-07 07:13:20 -07:00
Jim Mathies
1bd8cf4097
Bug 802254 - Add support for multiple app dirs in add-on packaging (mc bits), r=glandium
2013-02-06 15:21:32 -06:00
Andrea Marchesini
c0ac3d2eb1
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-06 14:19:20 -05:00
Terrence Cole
3dd5723697
Bug 706885 - Move post barrier verifier to JSRuntime; r=billm
...
--HG--
extra : rebase_source : 0ecc660996501fb54573cc0081a12bbca838e45d
2013-01-28 15:59:02 -08:00
Boris Zbarsky
b93c5f76e5
Bug 837645. Support 'any' values in sequences and dictionaries. r=smaug,peterv
2013-02-06 14:23:45 +00:00
Boris Zbarsky
ebdd009711
Bug 838518 part 2. Fix nodeiterator callers per the API change that was made. r=smaug
2013-02-06 14:22:33 +00:00
Boris Zbarsky
d71214e1ed
Bug 838518 part 1. Fix treewalker callers per the API change that was made. r=smaug
2013-02-06 14:22:33 +00:00
Norbert Lindenberg
ae3b5ec54e
Bug 769872 - Add self-hosted JavaScript core of Intl constructors Collator, NumberFormat, DateTimeFormat (part 2). r=jwalden
2013-02-06 23:04:39 -08:00
Benjamin Peterson
581dd562cf
Bug 836524 followup - need to include inlines. CLOSED TREE
2013-02-07 00:03:48 -05:00
Bill McCloskey
382a63f3fa
Bug 836524 - Zone renaming part 6 (r=jonco)
2013-02-06 18:08:47 -08:00
Bill McCloskey
0adf15d72e
Bug 836524 - Zone renaming part 5 (r=jonco)
2013-02-06 18:08:42 -08:00
Bill McCloskey
6dbcc7a3f9
Bug 836546 - Simplify gray links in the GC (r=jonco)
2013-02-06 18:08:34 -08:00
Bill McCloskey
04a68292a5
Bug 836524 - Zone renaming part 4 (r=terrence)
2013-02-06 18:08:28 -08:00
Bill McCloskey
f8e9c5630d
Bug 836524 - Zone renaming part 3 (r=jonco)
2013-02-06 18:08:22 -08:00
Bill McCloskey
dafe7f51a1
Bug 836524 - Zone renaming part 2 (r=jonco)
2013-02-06 18:08:16 -08:00
Bill McCloskey
282a6be1fe
Bug 836524 - Zone renaming part 1 (r=terrence)
2013-02-06 18:08:10 -08:00
Brendan Eich
3dc5e6e3e0
Bug 433529 - switch style nit-policing followup (r=lumpy).
2013-02-06 15:28:36 -08:00
Christian Holler
6fd655dead
Bug 838150 - Add ASan and Valgrind annotations to JS LifoAlloc. r=bhackett
2013-02-06 14:30:01 +01:00
Christian Holler
dfdaccfc62
Bug 838148 - Add 63 missing jit-tests for various bugs. rs=terrence
2013-02-06 14:01:01 +01:00
Jeff Walden
56a76010df
Fix up a few lingering references to jsval.h. Followup to bug 837773, r=bustage in a CLOSED TREE
2013-02-05 16:13:24 -08:00
Nicholas Nethercote
d8834dfabf
Bug 837981 - Remove GetDeflatedStringLength(). r=terrence.
...
--HG--
extra : rebase_source : 7966380110472b6e164c3689378fdbd788d25301
2013-02-05 15:12:05 -08:00
Jeff Walden
74095be28a
Bug 837773 - Add a PropertyKey.h header. r=jorendorff
...
--HG--
rename : js/src/jsval.h => js/public/Value.h
extra : rebase_source : 1756e599b0718b8e765cecb972737040e0ba56e4
2013-02-01 16:42:48 -08:00
Jeff Walden
6c2169c4a8
Bug 837773 - Change private uint32_t Values to use the int32_t representation, for simplicity. r=luke
...
--HG--
extra : rebase_source : 75e7118b9e5713dc252043e6f40d79e238a2480f
2013-02-01 18:41:35 -08:00
Jeff Walden
2da1eba4e7
Bug 837773 - Move JS::Value into Value.h. r=jorendorff
...
--HG--
extra : rebase_source : b41cee90d5c08a6e1c23f023af2eb2f1ac41e1a3
2013-02-01 16:15:49 -08:00
Jeff Walden
69cc8dd4d8
Bug 837773 - Move JS::Anchor into js/public/Anchor.h, necessary to properly make Value.h an independent header. r=jorendorff
...
--HG--
rename : js/src/jsval.h => js/public/Value.h
extra : rebase_source : c109f562aea18e7466b6af6fd1dd2efae11b0333
2013-02-01 15:31:00 -08:00
Jeff Walden
3eea5b83c2
Bug 837773 - Move js/src/jsval.h to js/public/Value.h. r=jorendorff
...
--HG--
rename : js/src/jsval.h => js/public/Value.h
extra : rebase_source : 224d021ad357f133b0b04658ca9b59a52b74fd65
2013-02-01 14:24:37 -08:00
Jeff Walden
c6dff1bb9b
Bug 837773 - Organize jsapi.h's #includes. r=jorendorff
...
--HG--
extra : rebase_source : 88b6a890a4e2304beb5f37198b9f6f2ebda9a8a9
2013-02-01 13:07:10 -08:00
Terrence Cole
da0189f754
Bug 706885 - Do not store singletons in the Nursery; r=bhackett
...
--HG--
extra : rebase_source : 0f6fe8fd6954c60a25b7180e503afd124956ec1c
2013-01-28 11:01:54 -08:00
Terrence Cole
2bdb8043c1
Bug 832103 - Add a regression test for the given bug; r=bhackett DONTBUILD
...
--HG--
extra : rebase_source : d6ee5befb43f912a8ae678c6639e4ae37e64d7d7
2013-02-05 09:47:53 -08:00