summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests
Commit message (Collapse)AuthorAgeLines
* Issue #618 - Align error handling for module scripts with the spec (again)Moonchild2020-08-30-8/+67
| | | | | | | | This updates module implementation to match spec regarding handling of instantiation errors, after it was changed yet again, this time to not remember instantiation errors, but instead immediately rethrow applicable ones. Ref: BZ 1420420
* Issue #618 - Align module instantiation/errors with the updated spec.Moonchild2020-07-10-41/+89
| | | | | Store and re-throw module instantiation and evaluation errors. Ref: BZ 1374239, 1394492
* Revert #1142 - Remove unboxed objectswolfbeast2020-04-14-0/+187
| | | | - accounting for removal of watch()/unwatch()
* Bug 1316098 - Optimize out result object allocation for await/return in ↵Gaming4JC2019-12-17-97/+2
| | | | | | async function. Tag #1287
* Merge branch 'master' into js-moduleswolfbeast2019-11-10-783/+638
|\ | | | | | | | | # Conflicts: # modules/libpref/init/all.js
| * Merge pull request #1262 from athenian200/solaris-workMoonchild2019-11-02-1/+1
| |\ | | | | | | Support Modern Solaris
| | * MoonchildProductions#1251 - Part 9: Look for hypot in the math library (libm).athenian2002019-10-21-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://bugzilla.mozilla.org/show_bug.cgi?id=1351309 https://bugzilla.mozilla.org/show_bug.cgi?id=1309157 I assess this change to be low-risk for the following reasons: 1. It has been in Firefox since version 55 without issues. 2. It's nearly identical to the fix for bug 1309157 which is already in our tree, so that one would be causing problems if this one were going to. 3. Linux, Windows, and BSD are known to have a hypot function in their math libraries. 4. Even if it does break something, it should only break a test and not critical functionality.
| * | Issue #1257 - Part 3: Remove/update tests.wolfbeast2019-10-27-539/+1
| |/ | | | | | | | | | | | | This removes a ton of tests that are no longer relevant with (un)watch removed (e.g. testing stability/bugs in the watchpoint system itself which has never been the most stable), and updates others that would previously rely on watch/unwatch, so that they don't unexpectedly fail.
| * 1344334 - Make DoTypeUpdateFallback infallible.Gaming4JC2019-07-18-0/+14
| |
| * 1339395 - Part 8: Add separate variables for wasm debugger test.Gaming4JC2019-07-18-0/+26
| |
| * 1339395 - Part 6: Update jit-tests now that object rest/spread properties ↵Gaming4JC2019-07-18-3/+3
| | | | | | | | are a thing.
| * 420857 - Part 4: Report the position of opening bracket for missing bracket ↵Gaming4JC2019-07-18-3/+10
| | | | | | | | error in array literal.
| * 420857 - Part 3: Report the position of opening brace for missing brace ↵Gaming4JC2019-07-18-0/+7
| | | | | | | | error in object literal.
| * 420857 - Part 2: Report the position of opening brace for missing brace ↵Gaming4JC2019-07-18-0/+46
| | | | | | | | error in block.
| * 420857 - Part 1: Report the position of opening brace for missing brace ↵Gaming4JC2019-07-18-0/+30
| | | | | | | | error in function body.
| * 1357506 - Remove assert that constructorBox can only be set once when ↵Gaming4JC2019-07-18-0/+8
| | | | | | | | | | | | | | parsing classes. Both asm.js and syntax parsing can abort and rewind parsing of an inner function. The bookkeeping to make sure that a class's constructor FunctionBox is only set once is not worth it -- duplicate constructor definitions already throw an early error.
| * 1359622 - Fix assert for calling Function.toString on class constructors ↵Gaming4JC2019-07-18-0/+4
| | | | | | | | when the compartment has had source discarded.
| * 1340148 - Disallow function redeclarations at module top level.Gaming4JC2019-07-18-0/+94
| |
| * 104442 - Part 1: Report the position and the kind of previous declaration ↵Gaming4JC2019-07-18-0/+230
| | | | | | | | for redeclaration error.
| * 1339963 - Part 3: Check IdentifierName in ExportClause without from.Gaming4JC2019-07-18-2/+44
| |
| * 1336783 - Part 1: Rework on reserved word and remove TokenStream::KeywordIsName.Gaming4JC2019-07-18-3/+1
| |
| * 1333143 - Self-host Object.prototype.valueOf.Gaming4JC2019-07-18-2/+2
| |
| * 903389 - Fix uses of ClassMethodIsNative.Gaming4JC2019-07-18-0/+47
| |
| * 1317374 - Don't do Annex B lexical function behavior when redeclaring a ↵Gaming4JC2019-07-18-1/+3
| | | | | | | | parameter name.
| * Remove unboxed object tests.wolfbeast2019-06-25-187/+0
| |
| * Stage 1-4: Update testsTooru Fujisawa2019-02-03-48/+49
| |
| * Improve graph edge resolution code.wolfbeast2018-10-23-0/+24
| | | | | | | | This is a follow-up to ca7ecd37c94e268972697a37eec4e46771c6e6f2 further improving the DiD resolution for CVE-2018-12386.
* | Bug 1341298 - Relax expected module state when resolving modules and ↵janekptacijarabaci2018-04-14-0/+3
| | | | | | | | circular module dependencies are present
* | Bug 1341411 - Support circular module dependencies through export* per ES2017janekptacijarabaci2018-04-14-0/+10
| |
* | Bug 1341256 - Fix module namespace object get handlerjanekptacijarabaci2018-04-14-0/+3
| |
* | Bug 1326453 - Part 5: Remove no longer used ListIterator implementationjanekptacijarabaci2018-04-14-3/+0
| |
* | Bug 1326453 - Part 4: Return @@toStringTag in [[OwnPropertyKeys]] trap for ↵janekptacijarabaci2018-04-14-2/+17
| | | | | | | | module namespace objects
* | Bug 1326453 - Part 3: Don't throw a TypeError when SetPrototypeOf for module ↵janekptacijarabaci2018-04-14-1/+3
| | | | | | | | namespace objects is called with null
* | Bug 1326453 - Part 2: Change @@toStringTag for module namespace objects to ↵janekptacijarabaci2018-04-14-1/+1
| | | | | | | | non-configurable
* | Bug 1326453 - Part 1: Remove @@iterator method from module namespace objects ↵janekptacijarabaci2018-04-14-19/+0
| | | | | | | | per ES2017
* | Bug 1320993 - Fix exporting default class expressionjanekptacijarabaci2018-04-14-0/+2
|/
* Merge remote-tracking branch 'janek/js_regexp_lastindex_1'wolfbeast2018-03-27-2/+2
|\
| * Bug 1317397: Only set lastIndex for global or sticky RegExps in ↵janekptacijarabaci2018-03-24-2/+2
| | | | | | | | RegExpBuiltinExec per ES2017
* | Bug 1357075 - Pad a nop to unwind to the scope just before a destructuring ↵janekptacijarabaci2018-03-25-0/+10
| | | | | | | | | | | | iterator close trynote Issue #74
* | Bug 1342553, Bug 1343072, Bug 1344753 (details in the description)janekptacijarabaci2018-03-25-0/+15
| | | | | | | | | | | | | | | | | | | | 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-0/+16
| | | | | | | | Issue #74
* | Bug 1341339 - Check for duplicates in processIteratorsjanekptacijarabaci2018-03-25-0/+9
| | | | | | | | 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-0/+6
| | | | | | | | Issue #74
* | Bug 1331444 - Keep iterators alive in Ion in for-of loops for IteratorClose ↵janekptacijarabaci2018-03-25-0/+7
|/ | | | | | due to exceptions Issue #74
* Add support for the function `name` property.wolfbeast2018-03-20-22/+22
|\ | | | | | | | | | | This resolves #78. Merged remote-tracking branch 'janek/js_function_name_1'
| * Part 4: Fix existing testsjanekptacijarabaci2018-03-19-22/+22
| | | | | | | | Issue #87
* | Bug 1323868: Report object allocation failure when running off-main-threadjanekptacijarabaci2018-03-19-0/+5
|/ | | | | Issue #77 [Depends on] Bug 1192038: RegExp.prototype should be an ordinary object
* Support ES6's "new function" constructwolfbeast2018-03-18-12/+8
|\ | | | | | | | | | | This resolves #75. Merged remote-tracking branch 'janek/js_function_new_1'
| * Bug 755821: Function() should use the parser's argument parsing codejanekptacijarabaci2018-03-16-12/+8
| |