Commit Graph

11 Commits

Author SHA1 Message Date
roytam1 a99f5306ed ported from UXP: Issue #2142 - Handle fields in derived classes (235ca779) 2023-05-01 13:41:17 +08:00
roytam1 06bf205880 import from UXP: Issue #1691 - Part 7e: Dependencies for required to finish part 7d. M1331662 Reimplement EvaluateString using the ExecutionContext class. M1316078 Extract redudant code into StartOffThreadParseTask. Use an ExclusiveContext instead of a JSContext in XDR functions. Add a script decoder as a valid off-main-thread parse-task. M900784 Add nsJSUtils functions for encoding and decoding the bytecode. M1316081 Add XDRIncrementalEncoder to replace delazified LazyScript in the encoded XDR buffer. Add an XDRIncrementalEncoder instance on the ScriptSource. Expose a new JSAPI to incrementally encode bytecode when it is generated. M1334091 XDR function use the sourceObject instead of the enclosingScript as argument. (99347628) 2023-04-30 23:55:13 +08:00
roytam1 73ee4c0c4b import from UXP: Issue #1691 - Part 2: Implement call import and import meta in the parser. M1427610 M1484948 (a8ab41b4) 2023-04-30 22:24:45 +08:00
roytam1 f98526a86d ported from UXP: Issue #2173 - Separate CodeNode into FunctionNode and ModuleNode (0dac7918) 2023-04-05 08:52:46 +08:00
roytam1 4b0f0e6874 ported from UXP: Issue #2173 - Add accessors to NameNode, CodeNode, RegExpLiteral, and add NumericLiteral (ba730c48) 2023-04-05 08:28:47 +08:00
roytam1 26ce3af985 import from UXP: Issue #618 - Report source position information (line/column) (9201808e) 2022-04-15 12:49:41 +08:00
roytam1 a290a21b4d import from UXP:
- Bug 1331092 - Part 0: Define NOMINMAX to avoid compile error from min/max macro on windows. (e9ad9eab)
- Bug 1331092 - Part 1: Add Symbol.asyncIterator. (c8d569d1)
- Bug 1331092 - Part 2: Implement Async Generator except yield*. (10b93aff)
- Bug 1331092 - Part 2: Implement Async Generator except yield*. (b5bcbfe5)
2022-03-22 13:21:32 +08:00
roytam1 3f5c53b9fd import from UXP: Bug 1343481 - Part 2: Stop using StarGegerator for async function. (45337018) 2022-03-22 12:37:21 +08:00
roytam1 7a5823350a import from UXP:
- Bug 1216630 - Print class source when calling toString on the constructor. (f79ee2fd)
- Bug 1216630 - Rename preludeStart and postludeEnd to toStringStart and toStringEnd and misc fixes. (ab85510c)
2022-03-21 11:26:09 +08:00
roytam1 9bd574a280 import from UXP:
- Issue #960, Stage 1-1: Implement Function.prototype.toString revision proposal. (b68de773)
- Issue #960, Stage 1-2: Remove a space after comma in parameter list for generated function source. (90817221)
- Issue #960, Stage 1-3: Generate better source in Object.prototype.toSource. (f2622bd1)
- Issue #960, Stage 1-4: Update tests (5676f63f)
2022-03-16 11:14:06 +08:00
roytam1 89ff1ebc22 Initial import from https://github.com/MoonchildProductions/moebius/commit/16fa730b3332a750e047aac26ebe65ea8c513849 2018-03-03 17:47:54 +08:00