summaryrefslogtreecommitdiffstats
path: root/js
Commit message (Collapse)AuthorAgeLines
* Issue #1382 - Remove invalid assertion.wolfbeast2020-02-03-8/+9
| | | | | | | | | | There is flexibility in exactly the value the initialized length must hold, i.e. if an array is completely empty, it is valid for the initialized length to be any value between zero and the length of the array, as long as the in-memory values below the initialized length have been initialized with a hole value. In the case of 0, the array is packed and the move operation would be a nop, so simply convert the assert to a condition to save some cycles.
* Issue #1342 - Remove support for system NSPR/NSSwolfbeast2020-01-30-1/+0
|
* Bug 1415761 - Catch the exception and rethrow it after invoking custom ↵Gaming4JC2020-01-26-3/+3
| | | | | | | | elements reactions; The spec was unclear on how CEReactions interact with thrown exceptions; see https://github.com/whatwg/html/issues/3217. The spec is now being clarified in https://github.com/whatwg/html/pull/3235. Tag UXP Issue #1344
* Issue #1362 - Revert "Implement regular expression lookbehind"wolfbeast2020-01-19-359/+157
| | | | This reverts commit fa473930f424bf17a9e545b601c84dd2e61364e3.
* Issue #1362 - Revert "Update js/src/builtin/TestingFunctions.cpp forwolfbeast2020-01-19-3/+3
| | | | | | regex lookbehind changes" This reverts commit e79607a7a694dc2d48d65697b48138fa585145c9.
* Simplify some alias sets in IonMonkey.wolfbeast2020-01-11-11/+2
|
* Simplify value setting.wolfbeast2020-01-09-66/+39
| | | | | This gets rid of unused boolean return values on setters and a level of indirection for calls to set values.
* Issue #1118 - Part 6: Fix various tests that are no longer correct.wolfbeast2019-12-22-1/+1
| | | | | The behavior change of document.open() requires these tests to be changed to account for the new spec behavior.
* Issue #1322 - Part 2: Remove --enable-sm-promise buildconfig switch.wolfbeast2019-12-19-13/+0
|
* Issue #1322 - Part 1: Remove the DOM Promise guts.wolfbeast2019-12-19-133/+3
| | | | This removes all the parts guarded by SPIDERMONKEY_PROMISE
* Bug 1454285 - Part 2: Disallow using innermostEmitterScope while the value ↵Gaming4JC2019-12-17-32/+76
| | | | | | does not match the bytecode environment. Tag #1287
* Bug 1454285 - Part 1: Specify the current scope when emitting await and ↵Gaming4JC2019-12-17-49/+81
| | | | | | .generator. Tag #1287
* Bug 1352312 - Enable Async Iteration.Gaming4JC2019-12-17-21/+0
| | | | Tag #1287
* Bug 1390082 - Implement AsyncGeneratorQueue with simpler array operations.Gaming4JC2019-12-17-10/+52
| | | | | | Tag #1287 Note: Without ReadableStream implementation
* Bug 1379525 - Part 2: Properly handle rejection in async-from-sync iteration.Gaming4JC2019-12-17-1/+5
| | | | Tag #1287
* Bug 1379525 - Part 1: Await on the value before yielding or returning inside ↵Gaming4JC2019-12-17-258/+344
| | | | | | async generator. Tag #1287
* Bug 1364608 - Stash rval in AsyncIteratorClose.Gaming4JC2019-12-17-2/+16
| | | | Tag #1287
* Bug 1355399 - Switch property retrieval in Async-from-Sync Iterator ↵Gaming4JC2019-12-17-5/+5
| | | | | | prototype methods. Tag #1287
* Bug 1331092 - Part 11: Await on the innerResult.value when innerResult.done ↵Gaming4JC2019-12-17-0/+9
| | | | | | is true in yield*. Tag #1287
* Bug 1331092 - Part 9: Implement for-await-of.Gaming4JC2019-12-17-11/+59
| | | | Tag #1287
* Bug 1331092 - Part 8: Support JSOP_TOASYNCITER in JIT.Gaming4JC2019-12-17-0/+92
| | | | Tag #1287
* Bug 1331092 - Part 7: Implement Async Generator yield*.Gaming4JC2019-12-17-43/+451
| | | | Tag #1287
* Bug 1331092 - Part 6: Support JSOP_TOASYNCGEN in JIT.Gaming4JC2019-12-17-0/+94
| | | | Tag #1287
* Bug 1331092 - Part 2: Implement Async Generator except yield*.Gaming4JC2019-12-17-2/+251
| | | | Tag #1287
* Bug 1331092 - Part 2: Implement Async Generator except yield*.Gaming4JC2019-12-17-55/+1014
| | | | Tag #1287
* Bug 1331092 - Part 1: Add Symbol.asyncIterator.Gaming4JC2019-12-17-1/+3
| | | | Tag #1287
* Bug 1331092 - Part 0: Define NOMINMAX to avoid compile error from min/max ↵Gaming4JC2019-12-17-0/+3
| | | | | | macro on windows. Tag #1287
* Bug 1317389: Change property attributes for generator and async functions to ↵Gaming4JC2019-12-17-12/+209
| | | | | | match ES2015/2017. Tag #1287
* Bug 1344753 - Update for-of stack depth in ↵Gaming4JC2019-12-17-1/+1
| | | | | | ControlFlowGenerator::processWhileOrForInLoop. Tag #1287
* Bug 1316098 - Optimize out result object allocation for await/return in ↵Gaming4JC2019-12-17-138/+39
| | | | | | async function. Tag #1287
* Bug 1343481 - Part 7: Add BytecodeEmitter::emitDotGenerator and make ↵Gaming4JC2019-12-17-112/+124
| | | | | | yield/await nodes unary. Tag #1287
* Bug 1343481 - Part 6: Add native functions wrapper for GetInternalError and ↵Gaming4JC2019-12-17-4/+24
| | | | | | GetTypeError. Tag #1287
* Bug 1343481 - Part 5: Rename AsyncFunction-related names in Promise.cpp to ↵Gaming4JC2019-12-17-18/+18
| | | | | | explicitly say Async Function. Tag #1287
* Bug 1343481 - Part 4: Add Add GeneratorObject.{isAfterYield,isAfterAwait}.Gaming4JC2019-12-17-0/+38
| | | | Tag #1287
* Bug 1343481 - Part 3: Add JSOP_AWAIT and rename {yieldIndex,yieldOffset} to ↵Gaming4JC2019-12-17-110/+142
| | | | | | {yieldAndAwaitIndex,yieldAndAwaitOffset}. Tag #1287
* Bug 1343481 - Part 2: Stop using StarGegerator for async function.Gaming4JC2019-12-17-55/+58
| | | | Tag #1287
* Bug 1343481 - Part 1: Remove {JSFunction,JSScript,LazyScript}.isGenerator() ↵Gaming4JC2019-12-17-64/+133
| | | | | | method. Tag #1287
* Bug 1336705 - Part 2: Add self-hosting intrinsics for resolving/rejecting ↵Gaming4JC2019-12-17-0/+108
| | | | | | Promises and adding reactions. Tag #1287
* Bug 336705 - Part 1: Support creating and resolving Promises without ↵Gaming4JC2019-12-17-34/+48
| | | | | | | | resolve/reject functions. Useful for internally-created Promises that'll only ever be resolved/rejected internally. Tag #1287
* Bug 1317376 - Part 2: Detect Promise self-resolution when resolving through ↵Gaming4JC2019-12-17-18/+34
| | | | | | the Promise resolving fast path. Tag #1287
* Bug 1317376 - Part 1: Remove unreachable code and remnants from the ↵Gaming4JC2019-12-17-52/+41
| | | | | | self-hosted implementation. Tag #1287
* Issue #1302 followup - Add spec-compliance checks/errorswolfbeast2019-11-30-2/+7
| | | | | | - Check for undefined/null regex flags (because...) - Make it throw a typeerror instead of syntax error on non-global - Generalize JS error messages for these checks.
* Issue #1302 - Add self-hosted implementation for string regex .matchAllwolfbeast2019-11-26-58/+287
| | | | This resolves #1302.
* Issue #1284 - Update js/src/builtin/TestingFunctions.cpp for /s (dotAll) ↵Gaming4JC2019-11-18-0/+1
| | | | | | regular expression changes This fixes debug builds
* Issue #1284 - Implement /s (dotAll) for regular expressions, v2.wolfbeast2019-11-18-23/+117
| | | | Resolves #1284.
* Revert "Issue #1284 - Implement /s (dotAll) for regular expressions."wolfbeast2019-11-18-88/+6
| | | | This reverts commit f31b04a303607cd82757e7c4f60bb536658c8a30.
* Issue #1284 - Implement /s (dotAll) for regular expressions.wolfbeast2019-11-18-6/+88
| | | | Resolves #1284.
* Issue #1279 - Update js/src/builtin/TestingFunctions.cpp for regex ↵Gaming4JC2019-11-14-3/+3
| | | | | | lookbehind changes This fixes debug builds
* Merge branch 'issue-1279'wolfbeast2019-11-12-157/+359
|\
| * Issue #1279 - Implement regular expression lookbehindwolfbeast2019-11-11-157/+359
| | | | | | | | Based on Tom Schuster's work, with extra minters for unicode.