Commit Graph

40109 Commits

Author SHA1 Message Date
Jon Coppeard
afe66583bb Bug 1154391 - Remove export syntax that's not present in ES6 r=shu 2015-05-28 09:57:57 +01:00
Jon Coppeard
56e7c49922 Bug 1154391 - Update parsing of export declarations to match current ES6 spec r=shu 2015-05-28 09:57:57 +01:00
Jon Coppeard
4d97bbfd94 Bug 1154391 - Update import declarations to current ES6 spec r=shu 2015-05-28 09:57:57 +01:00
Jan de Mooij
a5e1f942ed Bug 1160884 - Add KeepAlive instructions after elements/slots uses. r=nbp 2015-05-28 10:16:24 +02:00
Tooru Fujisawa
0390b63d0e Bug 1018628 - Part 3: Add test for default parameter with destructuring default value. r=jorendorff 2015-05-28 17:05:36 +09:00
Tooru Fujisawa
94fd439af7 Bug 1018628 - Part 2: Generate AST just like syntax for default and destructuring parameter. r=jorendorff 2014-08-30 16:12:43 +09:00
Tooru Fujisawa
b551a54da4 Bug 1018628 - Part 1: Support default parameter for destructuring. r=jorendorff 2014-11-22 11:54:42 +09:00
Daniel Holbert
d95614a33e Bug 1140482 followup: Update ResolveInterpretedFunctionPrototype() failure-cases to return false instead of nullptr, now that return type is bool. rs=jorendorff
Landing on CLOSED TREE
2015-05-27 11:21:31 -07:00
Jinank Jain
7816efe925 Bug 1142816 - js/src/jsapi-tests/testGCHeapPostBarriers.cpp has leaks. r=erahm 2015-05-27 10:30:36 +02:00
Steve Singer
6afdf2f707 Bug 1167815 - Switch toMoveOperand to pass by value. r=bhackett 2015-05-22 19:48:00 +02:00
Mike Hommey
0ea7bef89f Bug 1168293 - Remove MOZ_GLUE_IN_PROGRAM from config/config.mk. r=mshal 2015-05-27 11:33:23 +09:00
David Major
aa9355eca8 Bug 1167189: Remove unnecessary checks after infallible allocations. r=bholley 2015-05-26 17:04:24 -04:00
Brian Hackett
0abef482c7 Bug 1165392, Bug 1165463 - Various unboxed array fixes and optimizations, r=jandem. 2015-05-26 16:29:19 -06:00
Brian Hackett
3ff5a11db7 Bug 1166678 - Inline first ObjectGroup::maybeSweep test, r=jandem. 2015-05-26 15:42:07 -06:00
Bobby Holley
51d644bc65 Bug 1162187 - Remove ignoreReportedErrors. r=glandium
Now that we don't have to worry about XPCShellErrorReporter being invoked at
weird times, we can get rid of this nastiness - though it unfortunately means
getting rid of one of my best comments in the tree. :-(
2015-05-26 13:51:49 -07:00
Bobby Holley
a12888905a Bug 1162187 - Remove the custom XPCShell error reporter. r=glandium
\o/
2015-05-26 13:51:48 -07:00
Bobby Holley
2405c874af Bug 1162187 - Use the AutoJSAPI machinery to handle xpcshell exceptions. r=glandium 2015-05-26 13:51:47 -07:00
Bobby Holley
1027eeb134 Bug 1162187 - Factor out single line argument processing into a helper. r=glandium
This change introduces a minor regression: exceptions thrown during result
stringification will trigger the error reporter (since there's no script on
the stack), which will cause XPCShell to return a runtime error. The fix for
this problem is to mark the AutoJSAPI as taking ownership of error reporting,
which will prevent SpiderMonkey for playing the error-reporting guessing game.
That will happen further on in this patch stack, so I'm not going to worry about
it for now.
2015-05-26 13:51:47 -07:00
Bobby Holley
3dace1b46e Bug 1162187 - Pass around AutoJSAPI instead of cx to give us more control over error handling. r=glandium 2015-05-26 13:51:46 -07:00
Bobby Holley
4e12dfecf4 Bug 1164664 - Defang PushJSContextNoScriptContext. r=jimb 2015-05-26 13:51:45 -07:00
Bobby Holley
1b7660b9a1 Bug 1164664 - Switch to new-style error-reporting for PrepareScriptEnvironment. r=jimb 2015-05-26 13:51:45 -07:00
Bobby Holley
b8938b6f26 Bug 1164664 - Swap out the 'default JSContext callback' for something capable of setting up an AutoEntryScript. v3 r=jimb 2015-05-26 13:51:44 -07:00
Steve Fink
5ab5b05e52 Bug 1167411 - Add JSAutoStructuredCloneBuffer::abandon, r=jorendorff 2015-05-26 09:11:04 -07:00
Terrence Cole
886cac073e Bug 1165410 - Reimplement GC statistics JSON output formatter; r=sfink 2015-05-20 09:14:29 -07:00
Jinank Jain
1d6f0ac2db Bug 1082145 - |js::WatchGuts| can leak |wpmap|. r=erahm 2015-05-21 11:52:16 +02:00
Jason Orendorff
d3220a631f Bug 1140482 - Add JSPROP_RESOLVING. Give NativeDefineProperty standard behavior in cases where a non-resolving define needs to trigger a resolve hook. r=Waldo. 2015-05-01 14:03:17 -05:00
Martin Thomson
e6709a0bb7 Bug 1155898 - Expose fetch on JS sandbox. r=gabor, r=peterv 2015-05-20 14:26:32 -07:00
Jan de Mooij
59a709daea Bug 1158044 - Remove unused TypeWrapper class and untemplatize/cleanup some code. r=bhackett 2015-05-26 15:18:12 +02:00
Benjamin Bouvier
fa6ebdb5d7 Bug 1167025: Do not mix bool and int in bitwise-or in blendpsMask; r=sunfish 2015-05-21 10:40:14 +02:00
Gabor Krizsanits
e10f6f7a54 Bug 1164011 - interposition for CPOWS. r=billm 2015-05-26 11:55:38 +02:00
Tom Schuster
edf9a1b4cc Bug 1166950 - Only give constructor functions a prototype. r=efaust 2015-05-25 19:31:46 +02:00
Tom Schuster
b0ceda53f3 Bug 1166950 - Make generator methods constructors. r=efaust 2015-05-25 19:31:46 +02:00
Tom Schuster
6c7ae85532 Bug 1166950 - Introduce a new FunctionKind for class-constructors. r=efaust 2015-05-25 19:31:46 +02:00
Phil Ringnalda
2efe4234bc Merge m-c to m-i 2015-05-23 14:39:57 -07:00
Phil Ringnalda
ae0515f0a5 Merge f-t to m-c, a=merge 2015-05-23 14:28:07 -07:00
Tooru Fujisawa
eb05619abf Bug 1159973 - Abort parsing when TokenStream::SourceCoords hits OOM. r=jorendorff 2015-05-24 05:38:00 +09:00
Eric Faust
2bcfe83fe6 Bug 1156914 - Fix the MacroAssembler::pushValue(const Address&) footgun on 32 bit platforms. (r=jandem) 2015-05-22 13:09:44 -07:00
Eric Faust
52289981ad No Bug - Improve Interpreter stack accessor assertions. (rs=Waldo) 2015-05-22 13:09:44 -07:00
Eric Faust
9c6cb06ff3 Bug 1164777 - Part 2: Make super.prop parse inside inside eval inside arrow functions. (r=shu) 2015-05-22 13:09:44 -07:00
Eric Faust
f996892898 Bug 1164777 - Part 1: move evalStaticScope to GlobalSharedContext. (r=shu) 2015-05-22 13:09:44 -07:00
Eric Faust
21eed8cbe5 Bug 1164778 - Make |super.prop| work inside heavyweight arrow functions. (r=shu) 2015-05-22 13:09:44 -07:00
Eric Faust
f416c10eb0 Bug 1163207 - Make RematerializedFrame store the real callee. (r=shu) 2015-05-14 21:15:44 -07:00
Ryan VanderMeulen
ed0e3a9561 Backed out 6 changesets (bug 1164777, bug 1163207, bug 1156914, bug 1164778) for SM(cgc) caused by something in the push.
Backed out changeset 95f9ab2b60e1 (bug 1156914)
Backed out changeset bda0445b1950
Backed out changeset dc84232705fe (bug 1164777)
Backed out changeset 63914ec87ec5 (bug 1164777)
Backed out changeset 908a2f7972f5 (bug 1164778)
Backed out changeset 8316f8e3953d (bug 1163207)

CLOSED TREE
2015-05-22 17:44:14 -04:00
Terrence Cole
7b1f37d23c Bug 1167453 - Rename JSGCTraceKind and make it a C++11 enum class; r=jonco 2015-05-22 10:40:24 -07:00
Terrence Cole
ebcaaf0cb2 Bug 1167313 - Simplify UbiNode::construct dispatch using CallTyped; r=jimb 2015-05-21 11:41:18 -07:00
Terrence Cole
d44fbd8365 Bug 1167323 - Use internal interfaces to implement MarkCycleCollectorChildren; r=jonco 2015-05-21 11:41:18 -07:00
Terrence Cole
7b40dc8588 Bug 1167433 - AccessorShape is an AllocKind but not a TraceKind; r=jonco 2015-05-22 10:40:18 -07:00
Victor Porof
cd6f260d60 Bug 1167300 - Consolidate the performance tool directory, r=jsantell 2015-05-22 16:25:52 -04:00
Ryan VanderMeulen
7e7b077104 Backed out changeset e602cb65a030 (bug 1142816) for jsapi test segfaults.
CLOSED TREE
2015-05-22 10:47:29 -04:00
Jinank Jain
6394e9a1f1 Bug 1142816 - Fix leaks in js/src/jsapi-tests/testGCHeapPostBarriers.cpp. r=erahm 2015-05-18 20:01:26 +02:00