Commit Graph

40143 Commits

Author SHA1 Message Date
Bobby Holley
16326cd1d2 Bug 1162187 - Use the AutoJSAPI machinery to handle xpcshell exceptions. r=glandium 2015-05-26 13:51:47 -07:00
Bobby Holley
ef6a681b31 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
f7099a790f 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
62f9409420 Bug 1164664 - Defang PushJSContextNoScriptContext. r=jimb 2015-05-26 13:51:45 -07:00
Bobby Holley
ab6ff622ce Bug 1164664 - Switch to new-style error-reporting for PrepareScriptEnvironment. r=jimb 2015-05-26 13:51:45 -07:00
Bobby Holley
62313debcb 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
8defc00412 Bug 1167411 - Add JSAutoStructuredCloneBuffer::abandon, r=jorendorff 2015-05-26 09:11:04 -07:00
Terrence Cole
fbe9b81431 Bug 1165410 - Reimplement GC statistics JSON output formatter; r=sfink 2015-05-20 09:14:29 -07:00
Jinank Jain
e0664236e3 Bug 1082145 - |js::WatchGuts| can leak |wpmap|. r=erahm 2015-05-21 11:52:16 +02:00
Jason Orendorff
c686caa971 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
23c9fa9162 Bug 1155898 - Expose fetch on JS sandbox. r=gabor, r=peterv 2015-05-20 14:26:32 -07:00
Jan de Mooij
8bffa60d02 Bug 1158044 - Remove unused TypeWrapper class and untemplatize/cleanup some code. r=bhackett 2015-05-26 15:18:12 +02:00
Benjamin Bouvier
1058157ec3 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
db02cf7508 Bug 1164011 - interposition for CPOWS. r=billm 2015-05-26 11:55:38 +02:00
Tom Schuster
34be159a5f Bug 1166950 - Only give constructor functions a prototype. r=efaust 2015-05-25 19:31:46 +02:00
Tom Schuster
0943fd7a83 Bug 1166950 - Make generator methods constructors. r=efaust 2015-05-25 19:31:46 +02:00
Tom Schuster
61d1efb42d Bug 1166950 - Introduce a new FunctionKind for class-constructors. r=efaust 2015-05-25 19:31:46 +02:00
Phil Ringnalda
98ed7e50f4 Merge m-c to m-i 2015-05-23 14:39:57 -07:00
Phil Ringnalda
4f077d45b0 Merge f-t to m-c, a=merge 2015-05-23 14:28:07 -07:00
Tooru Fujisawa
e08f9e3802 Bug 1159973 - Abort parsing when TokenStream::SourceCoords hits OOM. r=jorendorff 2015-05-24 05:38:00 +09:00
Eric Faust
5ec7e2b736 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
357f30067d No Bug - Improve Interpreter stack accessor assertions. (rs=Waldo) 2015-05-22 13:09:44 -07:00
Eric Faust
14a205bd72 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
27062a70c8 Bug 1164777 - Part 1: move evalStaticScope to GlobalSharedContext. (r=shu) 2015-05-22 13:09:44 -07:00
Eric Faust
b0825a94f1 Bug 1164778 - Make |super.prop| work inside heavyweight arrow functions. (r=shu) 2015-05-22 13:09:44 -07:00
Eric Faust
de571959ee Bug 1163207 - Make RematerializedFrame store the real callee. (r=shu) 2015-05-14 21:15:44 -07:00
Ryan VanderMeulen
c8e7784a6d 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
20e05fef96 Bug 1167453 - Rename JSGCTraceKind and make it a C++11 enum class; r=jonco 2015-05-22 10:40:24 -07:00
Terrence Cole
da37663bd8 Bug 1167313 - Simplify UbiNode::construct dispatch using CallTyped; r=jimb 2015-05-21 11:41:18 -07:00
Terrence Cole
a30fce75d9 Bug 1167323 - Use internal interfaces to implement MarkCycleCollectorChildren; r=jonco 2015-05-21 11:41:18 -07:00
Terrence Cole
a7320ee5fe Bug 1167433 - AccessorShape is an AllocKind but not a TraceKind; r=jonco 2015-05-22 10:40:18 -07:00
Victor Porof
158389daa8 Bug 1167300 - Consolidate the performance tool directory, r=jsantell 2015-05-22 16:25:52 -04:00
Ryan VanderMeulen
a33502f52d Backed out changeset e602cb65a030 (bug 1142816) for jsapi test segfaults.
CLOSED TREE
2015-05-22 10:47:29 -04:00
Jinank Jain
f8ac68910e Bug 1142816 - Fix leaks in js/src/jsapi-tests/testGCHeapPostBarriers.cpp. r=erahm 2015-05-18 20:01:26 +02:00
Jan de Mooij
4bde946bd4 Bug 1167030 - Suppress MSVC warning C4661 in js/src. r=luke 2015-05-22 13:39:59 +02:00
Chris Peterson
c725038abc Bug 8607346 - Add -fvisibility-inlines-hidden to VISIBILITY_FLAGS to hide inline member functions. r=glandium 2015-05-11 00:53:16 -07:00
Terrence Cole
95c805cf73 Bug 1162622 - Check fewer traced things as it's too slow to check all edges; r=sfink 2015-05-12 17:50:56 -07:00
Eric Rahm
bac140c6c1 Bug 1165515 - Part 1: Convert PR_LOG to MOZ_LOG. r=froydnj 2015-05-21 13:22:04 -07:00
Aleksandar Zlicic
60a471759b Bug 1162134 - IonMonkey MIPS: Fix build failure on MIPS (js/src/jit/CodeGenerator.cpp:6740:28: error: ‘obj’ was not declared in this scope). r=bhackett 2015-05-07 16:19:21 +02:00
Carsten "Tomcat" Book
0443f022cd Merge mozilla-central to mozilla-inbound 2015-05-21 15:14:47 +02:00
Carsten "Tomcat" Book
0adcc581e9 merge mozilla-inbound to mozilla-central a=merge 2015-05-21 14:56:34 +02:00
Fabrice Desré
eea7b2dc5c Bug 1150106 - Add an async version of loadSubscript - Part 2, tests r=bholley 2015-05-20 22:14:54 -07:00
Fabrice Desré
36f17cb04b Bug 1150106 - Async loadSubscript - Part 1, add async to loadSubscriptWithOptions r=bholley,mcrr8 2015-05-20 22:14:49 -07:00
Ryan VanderMeulen
3e55d353de Backed out 3 changesets (bug 1165966) for WinXP jit-test permatimeouts.
Backed out changeset b0e3b5db76dc (bug 1165966)
Backed out changeset 73f1d1a18c24 (bug 1165966)
Backed out changeset 06899ee5f676 (bug 1165966)

CLOSED TREE
2015-05-20 16:34:07 -04:00
Jon Coppeard
8e07295335 Bug 1165966 - Fix bustage due to single argument constructor not being marked explicit r=me 2015-05-20 18:04:08 +01:00
Jon Coppeard
3c0f730b7e Bug 1165966 - Update destructor assertions to handle failed initalization r=terrence 2015-05-20 17:30:34 +01:00
Jon Coppeard
d6334e8c9d Bug 1165966 - Add error checking when populating safepoints r=bhackett 2015-05-20 17:30:32 +01:00
Terrence Cole
e6f0e93c78 Bug 1165390 - Make the detailed statistics formatting methods have consistent names; r=sfink 2015-05-20 09:14:29 -07:00
Terrence Cole
302dee8f30 Bug 1165385 - Remove the rarely used !fullFormat mode of MOZ_GCTIMER; r=sfink 2015-05-20 09:14:29 -07:00
Terrence Cole
def9bec363 Bug 1165384 - Add a typedef for the statistics phase table; r=sfink 2015-05-20 09:14:29 -07:00
Terrence Cole
155a827d0c Bug 1052716 - Add telemetry probes for generational GC; r=sfink 2015-05-20 09:13:56 -07:00
Brian Hackett
e54a50cf82 Bug 1166700 - Tolerate null failures targets when storing to an unboxed object must fail, r=jandem. 2015-05-20 10:07:30 -06:00
Ryan VanderMeulen
9e434dd3f0 Backed out 3 changesets (bug 1155898) for test_sandbox_fetch.html failures.
Backed out changeset 21e041962894 (bug 1155898)
Backed out changeset e42c9f4794d9 (bug 1155898)
Backed out changeset 7ef9cce1a775 (bug 1155898)

CLOSED TREE
2015-05-20 11:54:34 -04:00
Jan de Mooij
e63e1ccb92 Bug 1166809 - Remove DispatchIonCache and RepatchIonCache. r=bhackett 2015-05-21 13:09:43 +02:00
Nicholas Nethercote
ff1ac7eae3 Bug 1166586 (part 1) - Remove all uses of PL_NewDHashTable() and PL_DHashTableDestroy(). r=froydnj.
They're not needed now that there is (temporarily) PLDHashTable2, which has an
initializing constructor and a destructor.
2015-05-04 22:59:24 -07:00
Chris Peterson
3f7a908399 Bug 1023609 - Remove SpiderMonkey support for nonstandard let expressions. r=shu 2015-05-19 23:20:45 -07:00
Sean Stangl
879265c063 Bug 1160672 - Follow-up - Comment out unlanded header on a CLOSED TREE. no_r=me 2015-05-20 15:17:04 -07:00
ShubhamSinha
40a443dfad Bug 1142817 - Use UniquePtr in testXDR_sourceMap. r=erahm 2015-05-19 15:19:39 +05:30
Sean Stangl
0ef3cae26c Bug 1160672 - Part 2/2 - Add Mozilla VIXL modifications. r=dougc 2015-05-01 15:33:36 -07:00
Sean Stangl
4b2e334655 Bug 1160672 - Part 1/2 - Import VIXL 1.5-1.6. r=jbramley 2015-05-01 15:32:40 -07:00
Eric Faust
18417fd815 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
d605ba449d No Bug - Improve Interpreter stack accessor assertions. (rs=Waldo) 2015-05-22 13:09:44 -07:00
Eric Faust
acff3e4435 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
296ad4a46d Bug 1164777 - Part 1: move evalStaticScope to GlobalSharedContext. (r=shu) 2015-05-22 13:09:44 -07:00
Eric Faust
1b01e320e7 Bug 1164778 - Make |super.prop| work inside heavyweight arrow functions. (r=shu) 2015-05-22 13:09:44 -07:00
Eric Faust
093cafcab9 Bug 1163207 - Make RematerializedFrame store the real callee. (r=shu) 2015-05-14 21:15:44 -07:00
Tom Schuster
570e6519b7 Bug 1150855 - Disallow method syntax without curly brackets. r=efaust 2015-05-22 21:23:57 +02:00
Jon Coppeard
1c609a7c66 Bug 1165966 - Add test cases r=terrence 2015-05-22 18:52:52 +01:00
Jon Coppeard
e4c5c72644 Bug 1165966 - Update destructor assertions to handle failed initalization r=terrence
* * *
Bug 1165966 - Fix bustage due to single argument constructor not being marked explicit r=me
2015-05-20 17:30:34 +01:00
Jon Coppeard
9ecf6ffb62 Bug 1165966 - Add error checking when populating safepoints r=bhackett 2015-05-20 17:30:32 +01:00
Jon Coppeard
44b5f1c302 Bug 1155618 - Add better support for testing OOM behaviour r=terrence 2015-05-22 18:52:38 +01:00
Terrence Cole
eb059a7cfc Bug 1167318 - Remove GetGCThingTraceKind in favor of the typed Cell variants; r=jonco 2015-05-21 11:41:18 -07:00
Terrence Cole
6a8d3ff3f3 Bug 1167314 - Use CallTyped to simplify PushArena; r=jonco 2015-05-21 11:41:18 -07:00
Terrence Cole
78f458ba57 Bug 1167309 - Remove MaybeCompartment using CallTyped; r=jonco 2015-05-21 11:41:18 -07:00
Terrence Cole
3fc065d882 Bug 1167308 - Add a simpler to use CallTyped for the many simple pre-cast cases; r=jonco 2015-05-21 11:40:46 -07:00
Terrence Cole
dc697a8108 Bug 1167291 - Generalize the marking tracer's cross-compartment check; r=jonco 2015-05-21 11:30:01 -07:00
Terrence Cole
12554cb2df Bug 1166944 - Inline the only user of TraceObjectSlots; r=jonco 2015-05-21 11:29:38 -07:00
Terrence Cole
bfbfe58ef5 Bug 1163790 - Part 2: Share inlined Class tracing between marking and tenuring; r=bhackett 2015-05-13 11:06:52 -07:00
Terrence Cole
236827adf6 Bug 1163790 - Part 1: Share unboxed trace list traversal between tenuring and marking; r=bhackett 2015-05-12 09:26:36 -07:00
Tom Schuster
2deaf42443 Bug 1158222 - Implement the new [[Set]] receiver restrictions. r=jorendorff 2015-05-22 18:31:32 +02:00
Martin Thomson
061850556f Bug 1155898 - Expose fetch on JS sandbox. r=gabor, r=peterv 2015-05-18 09:52:33 -07:00
Jan de Mooij
830578a68c Bug 1165904 - Don't call methods on null pointers to fix some -fsanitize=null errors. r=terrence 2015-05-20 15:03:04 +02:00
Jon Coppeard
ada0e6befe Bug 1135707 - Fix interaction between Arm NOP fill and calculation of IonCache rejoin label r=jandem 2015-05-20 10:30:46 +01:00
Jon Coppeard
ada61630fa Bug 1155618 - Fix some more places we don't report OOM properly r=jandem 2015-05-20 10:30:46 +01:00
Jeff Walden
ac2a9b21e7 Bug 1164741 - Readd parsing support for |for (var ...1 = ...2 in ...3)|, but completely ignore the |= ...2| assignment when ascribing semantics to it. r=jorendorff, r=efaust 2015-05-13 21:13:02 -07:00
Jeff Walden
6d959e4d0f Bug 1165456 - Remove dead code performing name resolution by arity. r=shu 2015-03-04 13:21:30 -08:00
Jeff Walden
4a5ff0dc1f Bug 1165456 - Final bits of name-resolution by kind. r=shu 2015-03-04 13:21:30 -08:00
Jeff Walden
9265996a8c Bug 1165456 - Extra bits of name-resolution conversion. r=shu 2015-03-04 13:21:30 -08:00
Jeff Walden
41775c37b1 Bug 1165456 - More name-resolution conversion for arrays and (tagged) template literals. r=shu 2015-03-04 13:21:30 -08:00
Jeff Walden
b0bd85b438 Bug 1165456 - Perform name resolution on additional nodes by kind. r=shu 2015-03-04 13:21:30 -08:00
Jeff Walden
12ad2770ec Bug 1165456 - Perform name resolution on more nodes by kind, not arity. r=shu 2015-05-18 22:27:34 -07:00
Jeff Walden
67cbc545de Bug 1165456 - Handle a bunch of simple known-arity kinds, by kind, when resolving nested function names. r=shu 2015-05-18 20:06:55 -07:00
Jeff Walden
5a8ed0e92c Bug 1165456 - Start converting name-resolution code to act upon kinds, not arities. r=shu 2015-03-04 13:21:30 -08:00
Jeff Walden
cd965780b1 Bug 1164768 - Remove PNX_GROUPINIT and obsolete references to PNX_CANTFOLD and PNX_STRCAT, rename PNX_SPECIALARRAYINIT to something more descriptive. r=evilpies 2015-02-18 13:12:54 -08:00
Jeff Walden
cda38c7a39 Bug 1164774 - Remove unused code handling binary-arity PNK_ADD nodes in constant-folding. r=shu 2015-02-18 13:12:54 -08:00
Kannan Vijayan
ee363f8b02 Bug 1164448 - Add test. r=jandem 2015-05-22 11:13:26 -04:00
Kannan Vijayan
4ac88442d6 Bug 1164448 - Handle unwound rectifier frames as exit frames in JitProfilingFrameIterator. r=jandem 2015-05-22 11:13:26 -04:00
Jeff Walden
10580724e6 Bug 1164764 - Make all the various DeadObjectProxy handler methods call a single function to report a dead object, rather than repeating the same function call/arguments everywhere. r=evilpies 2014-10-22 08:42:25 -07:00
Jeff Walden
8740980587 Bug 1155900 - Make destructuring right-hand-side expressions that correspond to left-hand-side object patterns pass the RequireObjectCoercible gauntlet before any properties are destructured out of them. r=shu 2015-04-17 21:57:50 -07:00
Eric Rahm
32b4ff6b18 Bug 1165518 - Part 2: Replace prlog.h with Logging.h. rs=froydnj 2015-05-19 11:15:34 -07:00