Commit graph

69 commits

Author SHA1 Message Date
Gaming4JC
10b93afff4 Bug 1331092 - Part 2: Implement Async Generator except yield*.
Tag #1287
2019-12-18 09:16:52 +08:00
Gaming4JC
c8d569d1b8 Bug 1331092 - Part 1: Add Symbol.asyncIterator.
Tag #1287
2019-12-18 09:16:06 +08:00
Gaming4JC
22cd310e82 Bug 1317389: Change property attributes for generator and async functions to match ES2015/2017.
Tag #1287
2019-12-18 09:16:03 +08:00
Gaming4JC
7eb5d46c11 Bug 1343481 - Part 1: Remove {JSFunction,JSScript,LazyScript}.isGenerator() method.
Tag #1287
2019-12-18 09:15:51 +08:00
Gaming4JC
70cbae88ea Bug 1317376 - Part 2: Detect Promise self-resolution when resolving through the Promise resolving fast path.
Tag #1287
2019-12-18 09:15:47 +08:00
wolfbeast
3d8d9f95df Issue #1257 - Part 3: Remove/update tests.
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.
2019-11-01 10:25:02 +08:00
wolfbeast
bca314ad02 No issue - Update TZ data to 2019c 2019-10-05 07:22:37 +08:00
Gaming4JC
5e6128d0a5 1353691 - Report SyntaxError when arrow function has await-identifier in async function context. 2019-07-22 19:52:57 +08:00
Gaming4JC
3a484431a0 1339395 - Part 5: Add Reflect.parse tests for object rest and spread properties. 2019-07-22 19:52:41 +08:00
Gaming4JC
bbb2447fb0 1357483 - Stop changing the end position of parenthesized expression ParseNodes. 2019-07-22 19:51:44 +08:00
Gaming4JC
c956643d36 1317387: The intrinsic %ThrowTypeError% function should be frozen. 2019-07-22 19:50:59 +08:00
Gaming4JC
e3244802ec 1340089 - Check the binding name in comprehensionFor. 2019-07-22 19:50:56 +08:00
Gaming4JC
c92b219172 1339137 - Don't do Annex B lexical function behavior when redeclaring a parameter name in a function with parameter expressions. 2019-07-22 19:49:28 +08:00
Gaming4JC
85df465355 1175823 - Import test262 mapped arguments tests. 2019-07-22 19:47:21 +08:00
Gaming4JC
ee1e2aba19 1317375 - Implement "Template Literals Revision / Lifting Template Literal Restriction" ECMAScript proposal 2019-07-22 19:47:00 +08:00
Gaming4JC
8350dfc515 1317374 - Don't do Annex B lexical function behavior when redeclaring a parameter name. 2019-07-22 19:46:55 +08:00
Gaming4JC
ff46e0c58c 1325606 - Return wrapped async function from caller property. 2019-07-22 19:46:47 +08:00
Gaming4JC
baab6a6ca9 1325473 - A TypeError should be thrown when accessing 'arguments' or 'caller' on any of the new function types. 2019-07-22 19:46:18 +08:00
Gaming4JC
7f7b0a029c 636635 - Do not create named lambda binding for a function created by Function constructor. 2019-07-22 19:46:11 +08:00
Gaming4JC
dd359c6105 1317379 - Disallow generator functions and async functions as direct children of if/else. 2019-07-22 19:46:07 +08:00
Gaming4JC
02761b7fc2 1317153 - Provide better error message when errornous syntax possibly match "await SOMETHING" outside async function. 2019-07-22 19:46:00 +08:00
Gaming4JC
578e96b2cc 1315815 - Don't treat async or await as a keyword when they contain escapes. 2019-07-22 19:45:53 +08:00
wolfbeast
9c6678a2d3 Update tzdata SpiderMonkey files 2019-06-18 15:19:23 +08:00
wolfbeast
f5923f0626 Add Atomics.notify instead of Atomics.wake according to revised spec.
- Keep .wake as an alias until we're certain it can be removed.
- Enable SAB memory
2019-06-15 06:27:46 +08:00
wolfbeast
3538814b92 Implement array.flat and array.flatMap
Self-hosted implementation that adds both functions and adds them to
@@unscopables as specced in ES2019.
Resolves #1095
2019-05-24 21:54:58 +08:00
wolfbeast
f1f8d377a9 Remove Parser::reportBadReturn
Report simpler errors that don't use the offset of a node as location.
2019-04-13 07:01:31 +08:00
Tooru Fujisawa
5676f63f41 Stage 1-4: Update tests 2019-04-13 07:00:27 +08:00
adeshkp
521c918660 Remove telemetry leftovers from JS engine. 2019-02-16 00:27:38 +08:00
wolfbeast
0795e50d87 Refactor structured clone JSAPI to prevent mismatched scopes.
Roll-up of bugs 1442722, 1455071, 1433642, 1456604 and 1458320.
2019-02-16 00:01:32 +08:00
André Bargull
dca3b936bf Update tzdata in ICU data files to 2018e. 2019-02-16 00:01:13 +08:00
wolfbeast
7e93e7170f Revert "Add pluralrules to JS Intl"
This reverts commit 7686bceecff17f91758c8c6547a78e71ff3a8c38.
2019-02-15 23:50:22 +08:00
André Bargull
f1e8f6742a Bug 1449574 - Update tzdata in ICU data files to 2018d. r=Waldo, a=RyanVM 2019-02-15 23:47:14 +08:00
janekptacijarabaci
5381ebe25c Bug 1287677 - Add mozIntl.getDisplayNames API 2019-02-15 23:44:41 +08:00
wolfbeast
ef6478af8c Revert "Enable Array.prototype.values"
This reverts commit 424ed1b165e50f2e71c082c0c70fcda2a2764d18.
2019-02-15 23:39:47 +08:00
wolfbeast
663b7836f5 Enable Array.prototype.values
This resolves #85
2019-02-15 23:39:40 +08:00
janekptacijarabaci
78ce3bf8ff Bug 1317397: Only set lastIndex for global or sticky RegExps in RegExpBuiltinExec per ES2017 2019-02-15 23:39:39 +08:00
janekptacijarabaci
401d677e47 Bug 1343375: Update RegExp.prototype.replace and .match to call ToLength(lastIndex) for non-global RegExp and handle recompilations
[Depends on] Bug 1317397: Implement RegExp.lastIndex changes from ES2017
2019-02-15 23:39:37 +08:00
janekptacijarabaci
76b099abb2 Bug 1360839 - Call IteratorClose due to abrupt completion from yield
Issue #74
2019-02-15 23:39:36 +08:00
janekptacijarabaci
8af5664922 Bug 1346862 - Fix IteratorClose due to non-local jumps being catchable by try statements inside for-of
Issue #74
2019-02-15 23:39:32 +08:00
janekptacijarabaci
4ac4296fce Bug 1331585 - Allow falsy "done" values for IteratorClose due to exception during array destructuring
Issue #74
2019-02-15 23:39:26 +08:00
janekptacijarabaci
24ea151662 Bug 1338796 - Do not call iterator.return if iterator.throw is present in yield*
Issue #74
2019-02-15 23:39:23 +08:00
janekptacijarabaci
62a9d049ec Bug 1334799 - Handle stack value in correct order when leaving for-of loop from finally block
Issue #74
2019-02-15 23:39:17 +08:00
janekptacijarabaci
ad8ad6e109 Bug 1332881 - Handle stack value in correct order when leaving loop and try-finally
Issue #74
2019-02-15 23:39:15 +08:00
janekptacijarabaci
95390009cc Bug 1147371: Implement calling IteratorClose and "return" on iterators in yield*
Issue #74
2019-02-15 23:39:07 +08:00
janekptacijarabaci
d36d40760a Bug 1147371: Implement IteratorClose for array destructuring
Issue #74
2019-02-15 23:39:05 +08:00
janekptacijarabaci
5f3e5dc3fb Bug 1147371: Implement IteratorClose for for-of
Issue #74
2019-02-15 23:39:00 +08:00
janekptacijarabaci
2f27d8433c Bug 1204028: Evaluate LHS reference before RHS in destructuring
Issue #73
[Depends on] Bug 1147371: Implement IteratorClose
2019-02-15 23:38:57 +08:00
janekptacijarabaci
078b9f3edc Bug 1322314 - Do not emit ParseNode twice in BytecodeEmitter::emitDestructuringOpsArray
Issue #73
[Depends on] Bug 1147371: Implement IteratorClose
2019-02-15 23:38:56 +08:00
janekptacijarabaci
f9950a2c9c Part 4: Fix existing tests
Issue #87
2019-02-15 23:38:48 +08:00
janekptacijarabaci
748c69d7fd Part 1: Implement ES6 function name property semantics
Issue #78
2019-02-15 23:38:44 +08:00