Commit graph

81 commits

Author SHA1 Message Date
Basilisk-Dev
71c63cd70f Issue #3049 - loongarch64: drop inert minimal JIT path 2026-06-28 06:46:12 +01:00
Basilisk-Dev
2198d41700 Issue #3049 - Allow more LoongArch minimal JIT arguments 2026-06-28 06:39:08 +01:00
Basilisk-Dev
43a6d946f8 Issue #3049 - Support more LoongArch minimal JIT branch ops 2026-06-28 06:39:08 +01:00
Basilisk-Dev
460765fc80 Issue #3049 - Track LoongArch minimal JIT control flow state 2026-06-28 06:39:08 +01:00
Basilisk-Dev
76140342f6 Issue #3049 - Handle more LoongArch minimal JIT stack ops 2026-06-28 06:39:08 +01:00
Basilisk-Dev
5d3d0a1245 Issue #3049 - Add LoongArch minimal JIT div and mod 2026-06-28 06:39:08 +01:00
Basilisk-Dev
3faf2d1249 Issue #3049 - Add LoongArch minimal JIT multiply support 2026-06-28 06:39:08 +01:00
Basilisk-Dev
02eaa0dbc6 Issue #3049 - Add LoongArch minimal JIT shifts and negation 2026-06-28 06:39:08 +01:00
Basilisk-Dev
ff29f1f22c Issue #3049 - Extend LoongArch minimal JIT value handling 2026-06-28 06:39:07 +01:00
Basilisk-Dev
13a37bf023 Issue #3049 - Fix LoongArch minimal JIT return path 2026-06-28 06:39:07 +01:00
Basilisk-Dev
1466d0a2fa Issue #3049 - Add property-wrapper fast path to minimal LoongArch JIT 2026-06-28 06:39:07 +01:00
Basilisk-Dev
d98b015a09 Issue #3049 - Add minimal LoongArch JIT regression coverage 2026-06-28 06:36:11 +01:00
Basilisk-Dev
f8c46a0c10 Issue #2976 - Implement ES2018 Proxy ownKeys duplicate-key invariant and update affected conformance tests. 2026-03-06 03:46:52 +00:00
Moonchild
fcc58bfbba Issue #2838 - Update tests 2025-08-08 09:28:58 +08:00
Moonchild
3f297457d8 [js] Align br_table limits with V8/Gecko. 2025-07-25 07:31:43 +08:00
Andy
abb891ff26 Issue #2106 - Follow-up: Un-prefix DOM Attribute MozUserSelect 2025-07-08 10:00:32 +08:00
Brian Smith
61b73a894a Issue #2313 - Implement WebAssembly sign extension opcodes. https://bugzilla.mozilla.org/show_bug.cgi?id=1389461 2023-09-26 16:06:17 +08:00
Moonchild
50a4412750 Issue #2307 - Part 3: Remove SIMD.js support
This gets rid of the SIMD-specific scalar types in JS.
This considerably deviates from Mozilla's work because of our divergent
path.
2023-09-22 09:56:35 +08:00
Martok
30157344fe Issue #2259 - Update Intl.* Object-ness to ECMA-402, 4th edition
- turn each Intl object into a NativeObject subclass
- create them as PlainObject
- ensure correct type is passed in self-hosted code
- implement legacy constructor semantics for DateTime&NumberFormat
- store internals on object slot instead of JS WeakMap

Based-on: m-c 1328386, 1332604
2023-07-03 15:05:30 +08:00
FranklinDM
2d6c419661 Issue #2234 - Part 3: Update tests
Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1402649 and https://bugzilla.mozilla.org/show_bug.cgi?id=1382306
2023-05-09 11:39:39 +08:00
Martok
f75e9d9441 Issue #2089 - Implement the Promise.any combinator
Based-on: m-c 1568903/9,1560300
2023-02-02 09:32:17 +08:00
Martok
61c99bf6cd Issue #2089 - Implement AggregateError
Based-on: m-c 1568903/4,1641355(partial),1652148,1643397
2023-02-02 09:31:39 +08:00
Martok
ee395231dd Issue #2089 - Don't use BlockOnPromise fast path with non-default resolving functions, combine default resolving functions flags
Based-on: m-c 1474348
2023-02-01 07:39:25 +08:00
Martok
9744b0c2bc Issue #2089 - Optimize Promise.then and Promise.all/race with default resolving functions
Based-on: m-c 1401508,1412200,1473970/{1-4}
2023-02-01 07:39:01 +08:00
Martok
55eacd43a4 Issue #2089 - Turn AsyncGeneratorResumeNext recursion into iteration to avoid stack overflow
Based-on: m-c 1416809
2023-02-01 07:38:35 +08:00
Martok
887e6d0ab3 Issue #1952 - m-c 1440468: Proxied functions can't be passed to Function.prototype.toString.call() 2022-07-03 06:55:36 +08:00
Martok
1e753237e5 Issue #1952 - m-c 1380962/2: Remove unnecessary lambda function in FunctionToString 2022-07-03 06:54:52 +08:00
FranklinDM
f2cd5760ba Issue #1658 - Part 8: Update tests 2022-05-05 09:05:06 +08:00
Moonchild
34dc51690f Issue #1732 - Implement JSON superset proposal.
This change makes unicode line and paragraph separators allowed in JS strings,
removing the only quirk of the JS string definition that made JSON not a valid
subset of JS.

Resolves #1732
2021-02-12 10:49:19 +08:00
Moonchild
9305760571 Issue #1656 - Part 9: Single-line-comment style. 2020-09-25 22:07:00 +08:00
Moonchild
d5919942ff Issue #1656 - Part 8: Devtools and misc. 2020-09-25 22:06:55 +08:00
Moonchild
8c395520d9 Issue #1656 - Part 1: Nuke most vim config lines in the tree.
Since these are just interpreted comments, there's 0 impact on actual code.
This removes all lines that match /* vim: set(.*)tw=80: */ with S&R -- there are
a few others scattered around which will be removed manually in a second part.
2020-09-25 22:04:12 +08:00
Moonchild
0d874713ef Issue #618 - Align error handling for module scripts with the spec (again)
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
2020-08-29 08:07:00 +08:00
Moonchild
c7d195e633 Issue #618 - Align module instantiation/errors with the updated spec.
Store and re-throw module instantiation and evaluation errors.
Ref: BZ 1374239, 1394492
2020-07-10 22:17:41 +08:00
wolfbeast
47781d6165 Revert #1142 - Remove unboxed objects
- accounting for removal of watch()/unwatch()
2020-02-27 07:33:11 +08:00
Gaming4JC
c9f1fa2cda Bug 1316098 - Optimize out result object allocation for await/return in async function.
Tag #1287
2019-12-18 09:16:01 +08:00
janekptacijarabaci
67f5e5d20c Bug 1341298 - Relax expected module state when resolving modules and circular module dependencies are present 2019-11-11 21:57:58 +08:00
janekptacijarabaci
39a2b217b7 Bug 1341411 - Support circular module dependencies through export* per ES2017 2019-11-11 21:57:55 +08:00
janekptacijarabaci
eaf8fcd215 Bug 1341256 - Fix module namespace object get handler 2019-11-11 21:57:50 +08:00
janekptacijarabaci
e82ffc59bb Bug 1326453 - Part 5: Remove no longer used ListIterator implementation 2019-11-11 21:57:42 +08:00
janekptacijarabaci
184438aa10 Bug 1326453 - Part 4: Return @@toStringTag in [[OwnPropertyKeys]] trap for module namespace objects 2019-11-11 21:55:13 +08:00
janekptacijarabaci
50765b944e Bug 1326453 - Part 3: Don't throw a TypeError when SetPrototypeOf for module namespace objects is called with null 2019-11-11 21:55:10 +08:00
janekptacijarabaci
307c8cb570 Bug 1326453 - Part 2: Change @@toStringTag for module namespace objects to non-configurable 2019-11-11 21:55:08 +08:00
janekptacijarabaci
99f20bdc22 Bug 1326453 - Part 1: Remove @@iterator method from module namespace objects per ES2017 2019-11-11 21:55:05 +08:00
janekptacijarabaci
db68ce927e Bug 1320993 - Fix exporting default class expression 2019-11-11 21:48:39 +08:00
athenian200
7de03715a5 MoonchildProductions#1251 - Part 9: Look for hypot in the math library (libm).
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.
2019-11-04 11:52:26 +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
Gaming4JC
61235c7be1 1344334 - Make DoTypeUpdateFallback infallible. 2019-07-22 19:52:54 +08:00
Gaming4JC
3c9c84e2ac 1339395 - Part 8: Add separate variables for wasm debugger test. 2019-07-22 19:52:50 +08:00
Gaming4JC
f6b2c1d485 1339395 - Part 6: Update jit-tests now that object rest/spread properties are a thing. 2019-07-22 19:52:44 +08:00