summaryrefslogtreecommitdiffstats
path: root/js/src
Commit message (Collapse)AuthorAgeLines
* Bug 1326453 - Part 3: Don't throw a TypeError when SetPrototypeOf for module ↵janekptacijarabaci2018-04-14-1/+5
| | | | namespace objects is called with null
* Bug 1326453 - Part 2: Change @@toStringTag for module namespace objects to ↵janekptacijarabaci2018-04-14-2/+2
| | | | non-configurable
* Bug 1326453 - Part 1: Remove @@iterator method from module namespace objects ↵janekptacijarabaci2018-04-14-63/+1
| | | | per ES2017
* Bug 1320993 - Fix exporting default class expressionjanekptacijarabaci2018-04-14-35/+37
|
* Convert MOZILLA_OFFICIAL conditionals to MC_OFFICIAL where needed.wolfbeast2018-04-13-0/+1
| | | | | | | | | - `--enable-official-branding` implies `MC_OFFICIAL` (no need to specifically set it) - `--enable-official-vendor` can be used to set `MC_OFFICIAL` on builds without `--enable-official-branding` that should still be considered official release versions. - `MC_OFFICIAL` implies `--enable-release`, meaning `DEVELOPER_OPTIONS` isn't set - `MC_OFFICIAL` makes `nsXULAppInfo.getIsOfficial` return `true` - `MC_OFFICIAL` makes `AppConstants.MOZILLA_OFFICIAL` (for compatibility in extensions) and `AppConstants.MC_OFFICIAL` return `true` - Optional, for the time being: `MOZILLA_OFFICIAL` is still present in some places in case someone wants to build a Mozilla-alike official application and has the rights and necessary keys to use Mozilla-official third-party services. This must always be combined with `MC_OFFICIAL` to have a sane combination of defines. This may be removed in the future.
* Merge pull request #94 from trav90/js-workMoonchild2018-04-08-53/+53
|\ | | | | Fix Value::isGCThing footgun, stop returning true for NullValue
| * Fix Value::isGCThing footgun, stop returning true for NullValuetrav902018-04-07-53/+53
| |
* | Fix incorrect assertions in js/src/builtin/trav902018-04-06-2/+2
|/ | | | Prevents GCC 7 build warning spam.
* Silence for-each-in warningswolfbeast2018-04-05-2/+3
|
* Merge branch 'master' of https://github.com/MoonchildProductions/UXP into ↵janekptacijarabaci2018-03-27-2133/+9868
|\ | | | | | | js_array_values_1
| * Merge remote-tracking branch 'janek/js_regexp_lastindex_1'wolfbeast2018-03-27-102/+616
| |\
| | * Bug 1317397: Only set lastIndex for global or sticky RegExps in ↵janekptacijarabaci2018-03-24-57/+419
| | | | | | | | | | | | RegExpBuiltinExec per ES2017
| | * Bug 1343375: Update RegExp.prototype.replace and .match to call ↵janekptacijarabaci2018-03-24-51/+203
| | | | | | | | | | | | | | | | | | ToLength(lastIndex) for non-global RegExp and handle recompilations [Depends on] Bug 1317397: Implement RegExp.lastIndex changes from ES2017
| * | Bug 1360839 - Call IteratorClose due to abrupt completion from yieldjanekptacijarabaci2018-03-25-9/+123
| | | | | | | | | | | | Issue #74
| * | Bug 1357075 - Pad a nop to unwind to the scope just before a destructuring ↵janekptacijarabaci2018-03-25-5/+43
| | | | | | | | | | | | | | | | | | iterator close trynote Issue #74
| * | Bug 1346862 - Fix IteratorClose due to non-local jumps being catchable by ↵janekptacijarabaci2018-03-25-18/+113
| | | | | | | | | | | | | | | | | | try statements inside for-of Issue #74
| * | Bug 1342553 - Part 0.2: Support JSOP_CHECKISCALLABLE in JITjanekptacijarabaci2018-03-25-43/+189
| | | | | | | | | | | | Issue #74
| * | Bug 1342553, Bug 1343072, Bug 1344753 (details in the description)janekptacijarabaci2018-03-25-189/+378
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 1334314 - Fix debug mode OSR exception handling for IteratorClose trynotesjanekptacijarabaci2018-03-25-9/+48
| | | | | | | | | | | | Issue #74
| * | Bug 1331585 - Allow falsy "done" values for IteratorClose due to exception ↵janekptacijarabaci2018-03-25-8/+25
| | | | | | | | | | | | | | | | | | during array destructuring Issue #74
| * | Bug 1341339 - Check for duplicates in processIteratorsjanekptacijarabaci2018-03-25-3/+15
| | | | | | | | | | | | Issue #74
| * | Bug 1338796 - Do not call iterator.return if iterator.throw is present in yield*janekptacijarabaci2018-03-25-132/+197
| | | | | | | | | | | | Issue #74
| * | Bug 1335996 - Make test for bug 1333946 more reliablejanekptacijarabaci2018-03-25-3/+5
| | | | | | | | | | | | Issue #74
| * | Bug 1333946 - Make IonBuilder::processIterators transitivejanekptacijarabaci2018-03-25-24/+27
| | | | | | | | | | | | Issue #74
| * | Bug 1322069 - Add TryEmitterjanekptacijarabaci2018-03-25-169/+341
| | | | | | | | | | | | Issue #74
| * | Bug 1334799 - Handle stack value in correct order when leaving for-of loop ↵janekptacijarabaci2018-03-25-7/+31
| | | | | | | | | | | | | | | | | | from finally block Issue #74
| * | Bug 1332881 - Handle stack value in correct order when leaving loop and ↵janekptacijarabaci2018-03-25-0/+60
| | | | | | | | | | | | | | | | | | try-finally Issue #74
| * | Bug 1332155 - Skip non-try-related trynotes when asserting jump targetsjanekptacijarabaci2018-03-25-1/+2
| | | | | | | | | | | | Issue #74
| * | Bug 1331444 - Keep iterators alive in Ion in for-of loops for IteratorClose ↵janekptacijarabaci2018-03-25-6/+22
| | | | | | | | | | | | | | | | | | due to exceptions Issue #74
| * | Bug 1147371: Always decompile argument names in self-hosted code in the ↵janekptacijarabaci2018-03-24-4/+28
| | | | | | | | | | | | | | | | | | caller frame Issue #74
| * | Bug 1147371: Implement JSOP_PICK and JSOP_UNPICK in the expression decompilerjanekptacijarabaci2018-03-24-1/+31
| | | | | | | | | | | | Issue #74
| * | Bug 1147371: Implement calling IteratorClose and "return" on iterators in yield*janekptacijarabaci2018-03-24-45/+232
| | | | | | | | | | | | Issue #74
| * | Bug 1147371: Implement IteratorClose for array destructuringjanekptacijarabaci2018-03-24-135/+322
| | | | | | | | | | | | Issue #74
| * | Bug 1147371: Convert self-hosted code that need to call IteratorClose to use ↵janekptacijarabaci2018-03-24-192/+27
| | | | | | | | | | | | | | | | | | for-of Issue #74
| * | Bug 1147371: Rename allowContentSpread to allowContentIterjanekptacijarabaci2018-03-24-12/+22
| | | | | | | | | | | | Issue #74
| * | Bug 1147371: Implement IteratorClose for for-ofjanekptacijarabaci2018-03-24-203/+704
| | | | | | | | | | | | Issue #74
| * | Bug 1204028: Evaluate LHS reference before RHS in destructuringjanekptacijarabaci2018-03-20-97/+1743
| | | | | | | | | | | | | | | Issue #73 [Depends on] Bug 1147371: Implement IteratorClose
| * | Bug 1322314 - Do not emit ParseNode twice in ↵janekptacijarabaci2018-03-20-139/+144
| | | | | | | | | | | | | | | | | | | | | BytecodeEmitter::emitDestructuringOpsArray Issue #73 [Depends on] Bug 1147371: Implement IteratorClose
| * | Bug 1322314 - Disallow emitting ParseNode twicejanekptacijarabaci2018-03-20-31/+6
| |/ | | | | | | | | Issue #73 [Depends on] Bug 1147371: Implement IteratorClose
| * Add support for the function `name` property.wolfbeast2018-03-20-184/+1033
| |\ | | | | | | | | | | | | | | | This resolves #78. Merged remote-tracking branch 'janek/js_function_name_1'
| | * Follow up: A opening bracket { was added; Added "function()->explicitName()" ↵janekptacijarabaci2018-03-19-2/+2
| | | | | | | | | | | | | | | | | | instead of "function()->name()" Issue #78
| | * Part 4: Fix existing testsjanekptacijarabaci2018-03-19-38/+39
| | | | | | | | | | | | Issue #87
| | * Part 3: Support JSOP_SETFUNNAME in Baseline and Ionjanekptacijarabaci2018-03-19-0/+122
| | | | | | | | | | | | Issue #87
| | * Part 2: Call NameFunctions after emittingjanekptacijarabaci2018-03-19-14/+15
| | | | | | | | | | | | Issue #78
| | * Part 1: Implement ES6 function name property semanticsjanekptacijarabaci2018-03-19-81/+750
| | | | | | | | | | | | Issue #78
| | * Bug 1317309: Throw a TypeError when passing a Symbol value to ToAtomjanekptacijarabaci2018-03-19-3/+45
| | | | | | | | | | | | | | | | | | Issue #78 [Depends on] Bug 883377: Implement ES6 function "name" property semantics
| | * Bug 1320042: Rename BytecodeEmitter::emitConditionallyExecuted{SOMETHING} to ↵janekptacijarabaci2018-03-19-19/+18
| | | | | | | | | | | | | | | | | | | | | | | | BytecodeEmitter::emit{SOMETHING}InBranch Issue #78 [Depends on] Bug 883377: Implement ES6 function "name" property semantics
| | * Bug 1320388: Move JSFunction::HAS_REST to JSScript and LazyScriptjanekptacijarabaci2018-03-19-37/+52
| | | | | | | | | | | | | | | | | | Issue #78 [Depends on] Bug 883377: Implement ES6 function "name" property semantics
| * | Testsjanekptacijarabaci2018-03-19-5/+32
| | | | | | | | | | | | Issue #77
| * | Use ordinary object for RegExp prototypejanekptacijarabaci2018-03-19-59/+98
| | | | | | | | | | | | Issue #77