summaryrefslogtreecommitdiffstats
path: root/js/src/shell/js.cpp
Commit message (Collapse)AuthorAgeLines
* 1216630 - Print class source when calling toString on the constructor.Gaming4JC2019-07-18-0/+8
| | | | | | | | | | This is accomplished in the following ways. LazyScripts and JSScripts now have 4 offsets: - Source begin and end for the actual source. This is used for lazy parsing. - toString begin and end for toString. Some kinds of functions, like async, only have a different begin offset. Class constructors have different offsets for both begin and end. For syntactically present (i.e. non-default) constructors, the class source span is remembered directly on the LazyScript or JSScript. The toString implementation then splices out the substring directly. For default constructors, a new SRC_CLASS SrcNote type is added. It's binary and has as its arguments the begin and end offsets of the class expression or statement. MakeDefaultConstructor reads the note and overrides the cloned self-hosted function's source object. This is probably the least intrusive way to accomplish this.
* 1283712 - Part 10: Support notes in getLastWarning shell-only testing function.Gaming4JC2019-07-18-0/+8
|
* 1320408 - Part 4: Change JSObject::getGroup to static method.Gaming4JC2019-07-18-2/+2
|
* 1320408 - Part 2: Change JSFunction::getOrCreateScript to static method.Gaming4JC2019-07-18-3/+3
|
* 1320403 - Move JSFunction::EXPR_BODY to JSScript, LazyScript, and FunctionBox.Gaming4JC2019-07-18-1/+1
|
* Remove Unboxed Objects Option Codewolfbeast2019-06-25-2/+0
|
* Remove unboxed array context option and shell flag.wolfbeast2019-06-12-4/+0
|
* Unhook Unboxed Objects optionwolfbeast2019-05-13-3/+0
|
* Issue #325 Part 5: Remove non-Intl legacy code paths from js.wolfbeast2018-05-04-4/+0
|
* Bug 1287677 - Add mozIntl.getDisplayNames APIjanekptacijarabaci2018-03-30-0/+1
|
* Merge branch 'master' of https://github.com/MoonchildProductions/UXP into ↵janekptacijarabaci2018-03-27-10/+26
|\ | | | | | | js_array_values_1
| * Bug 1346862 - Fix IteratorClose due to non-local jumps being catchable by ↵janekptacijarabaci2018-03-25-2/+4
| | | | | | | | | | | | try statements inside for-of Issue #74
| * Bug 1342553, Bug 1343072, Bug 1344753 (details in the description)janekptacijarabaci2018-03-25-2/+0
| | | | | | | | | | | | | | | | | | | | Bug 1342553 - Part 0.1: Use try-catch for IteratorClose in for-of Bug 1343072 - Update HasLiveStackValueAtDepth to follow the change in JSTRY_FOR_OF Bug 1344753 - Update for-of stack depth in ControlFlowGenerator::processWhileOrForInLoop Issue #74
| * Bug 1147371: Implement IteratorClose for array destructuringjanekptacijarabaci2018-03-24-10/+25
| | | | | | | | Issue #74
| * Bug 1147371: Implement IteratorClose for for-ofjanekptacijarabaci2018-03-24-4/+5
| | | | | | | | Issue #74
* | JS - support for Array.prototype.values()janekptacijarabaci2018-02-20-2/+7
|/
* Make XDR decoding more robust.wolfbeast2018-02-08-2/+2
|
* Remove remaining conditional GCZeal code.wolfbeast2018-02-03-27/+0
| | | | | | | | | | | | | | | Creates stubs: jsgc.h/cpp VerifyBarriers() stub MaybeVerifyBarriers() stub GCRuntime::computeNonIncrementalMarkingForValidation() stub GCRuntime::validateIncrementalMarking() stub GCRuntime::finishMarkingValidation() stub GCRuntime::pushZealSelectedObjects() stub bool useZeal? GCRuntime::runDebugGC() stub XPConnect: nsXPCComponents_Utils::SetGCZeal() stub (always NS_OK)
* Add m-esr52 at 52.6.0Matt A. Tobin2018-02-02-0/+7997