Commit graph

1,281 commits

Author SHA1 Message Date
ownedbywuigi
dfe8698a6f Revamp SSE2 optimisations, moving them to one place so all of JS engine gets SSE2 optimizations 2026-03-27 11:49:03 +00:00
ownedbywuigi
81e2ff2fe2 Add SSE2 for memcpy and memuse. caching SVGs too cuz why not 2026-03-27 10:45:45 +00:00
Andy
501a90aad3 Support Unicode White Spaces in ParseDate() 2026-03-11 18:18:20 +00:00
Brian Smith
18eaf39766 Issue #2304 - Part 5 - Add cause property when a cause is present. I thought this was just to check whether it should be added, but is necessary. 2026-03-11 18:07:36 +00:00
Brian Smith
33c2fae0ba Issue #2304 - Part 4 - Add xray support for the Error cause property. https://bugzilla.mozilla.org/show_bug.cgi?id=1679653 2026-03-11 18:07:25 +00:00
Brian Smith
36285d0405 Issue #2304 - Part 3 - Implement the error cause proposal. https://bugzilla.mozilla.org/show_bug.cgi?id=1679653 2026-03-11 18:07:01 +00:00
Brian Smith
64dc722b28 Issue #2304 - Part 2 - Prerequisite: Teach GCPolicy about Maybe. https://bugzilla.mozilla.org/show_bug.cgi?id=1377008 2026-03-11 18:06:41 +00:00
Brian Smith
3c9bbc9665 Issue #2304 - Part 1 - Prerequisite: Make Handle<Maybe<>> more convenient. This is required to implement JS::NothingHandleValue. https://bugzilla.mozilla.org/show_bug.cgi?id=1631114 2026-03-11 18:01:01 +00:00
Basilisk-Dev
1489a6f8b5 Issue #2990 - implement object.GroupBy 2026-03-11 17:57:51 +00:00
Moonchild
6e4c40c648 Issue #2898 - Don't unroll to large stack probe loops.
Resolves #2898
2026-03-06 04:23:53 +00: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
K4sum1
8840299c26 Fix installer missing dlls 2025-09-27 19:36:49 -07:00
roytam1
e5ea29554a Merge remote-tracking branch 'origin/tracking' into custom 2025-08-21 16:07:53 +08:00
Moonchild
425f38ff84 [js] Error-check pthread calls
These calls return error states (int) that weren't checked for success.
Failures here are fatal, so using MOZ_RELEASE_ASSERT to safely crash.
2025-08-21 16:06:31 +08:00
roytam1
48ebf49357 Merge remote-tracking branch 'origin/tracking' into custom 2025-08-08 09:29:23 +08:00
Moonchild
fcc58bfbba Issue #2838 - Update tests 2025-08-08 09:28:58 +08:00
Moonchild
c07ea665ea Issue #2838 - Use ToIndex in TypedArray CTORs
Also adjusts index handling to be more accurate/spec compliant.
2025-08-08 09:28:38 +08:00
roytam1
be6796bb20 Merge remote-tracking branch 'origin/tracking' into custom 2025-07-25 07:33:44 +08:00
Moonchild
3f297457d8 [js] Align br_table limits with V8/Gecko. 2025-07-25 07:31:43 +08:00
roytam1
fbb39ce322 Merge remote-tracking branch 'origin/tracking' into custom 2025-07-08 10:02:11 +08:00
Andy
abb891ff26 Issue #2106 - Follow-up: Un-prefix DOM Attribute MozUserSelect 2025-07-08 10:00:32 +08:00
roytam1
7f3ccb5dc3 Merge remote-tracking branch 'origin/tracking' into custom 2025-05-27 23:22:51 +08:00
Moonchild
71ba67cfbe No issue - Don't support modulo math space in ExtractLinearSum. 2025-05-27 23:18:24 +08:00
Moonchild
01ebabde5b No issue - Fix promise combinator function state. 2025-05-27 23:18:09 +08:00
roytam1
e72f8a3a81 Merge remote-tracking branch 'origin/tracking' into custom 2025-05-14 14:36:05 +08:00
Brian Smith
e8b3077d4f No Issue - Fixes for building with LLVM 19 included with FreeBSD 13.5. Fix a conflict with libc++ 19 and the old Mozilla (re)alloc macros. LLVM 18+ does not allow std::char_traits<unsigned char> so avoid it. https://bugzilla.mozilla.org/show_bug.cgi?id=1849070 Partial NSS upgrade to replace ByteString with a class. https://bugzilla.mozilla.org/show_bug.cgi?id=1851092 2025-05-14 14:20:07 +08:00
roytam1
6792dc4b66 Merge remote-tracking branch 'origin/tracking' into custom 2025-04-30 23:06:47 +08:00
Moonchild
d7f01911b8 Issue #2731 - Fix crashes on unknown BigInt types in JIT
This only works around the unknown type crashes but doesn't actually fix
attempts at using 64-bit BigInts in Ion.
Resolves #2731
2025-04-30 22:58:27 +08:00
roytam1
42e13fd8bf Merge remote-tracking branch 'origin/tracking' into custom 2025-04-18 10:32:18 +08:00
Brian Smith
59977aa358 No issue - Various updates for Mac buildability with XCode 16.3 2025-04-18 10:30:02 +08:00
roytam1
79614a4216 js: use MOZ_MUST_USE instead of C++17 keyword 2025-03-27 09:15:28 +08:00
roytam1
e5a48f8565 Merge remote-tracking branch 'origin/tracking' into custom 2025-03-27 09:05:29 +08:00
Martok
7d3dc5a2f2 Issue #2692 - Follow-Up: fix compilation in debug 2025-03-27 09:04:21 +08:00
Moonchild
c31cda6c74 No issue - Fix incorrect js message ref in js shell. 2025-03-27 09:04:00 +08:00
Moonchild
788cc4acb2 No issue - Add range checking to SharedArrayBuffer references.
This avoids a potential crash when juggling SAB allocations.
2025-03-27 09:02:33 +08:00
roytam1
2a53c574f6 Merge remote-tracking branch 'origin/tracking' into custom 2025-03-13 23:05:24 +08:00
Moonchild
5fd304507d Issue #2692 - Part 7: De-globalize {*}CompileOptions.
Make all users of the various *CompileOptions classes #include "js/CompileOptions.h"
so that nothing but that file has to know about these classes having a
JS_PUBLIC_API on them, that would have to be present in forward-declarations.
2025-03-13 23:03:43 +08:00
Moonchild
2e4620b5af Issue #2692 - Part 6: Don't #include js/SourceBufferHolder.h in jsapi.h.
Instead, require users to do so. This is a minor translation-unit size
improvement for anyone who never has to use SourceBufferHolder other than
by reference.
2025-03-13 23:01:46 +08:00
Moonchild
40ed1b10f4 Issue #2692 - Part 5: Split out compilation and evaluation APIs into its own header. 2025-03-13 22:59:38 +08:00
Moonchild
307621db50 Issue #2692 - Part 4: Split out off-thread compilation API to its own header. 2025-03-13 22:59:23 +08:00
Moonchild
eca185aa79 Issue #2692 - Part 3: Split out JS compiled script transcoding to its own header. 2025-03-13 22:59:08 +08:00
Moonchild
565fb4b05a Issue #2692 - Part 2: Split out JS SourceBufferHolder to its own header. 2025-03-13 22:58:50 +08:00
Moonchild
9436bfa175 Issue #2692 - Part 1: Split out JS CompileOptions to its own header. 2025-03-13 22:58:36 +08:00
roytam1
8a35744175 Merge remote-tracking branch 'origin/tracking' into custom 2025-03-07 21:50:11 +08:00
Moonchild
43a2299480 Disable potentially unsafe attempts at recovering JIT operations. 2025-03-07 21:49:32 +08:00
Shadow
37dcef684a PR #2695 - Simplify block-value popping in Ion compilation 2025-03-07 21:43:39 +08:00
roytam1
d4f1c1faed Merge remote-tracking branch 'origin/tracking' into custom 2025-02-18 19:13:36 +08:00
Moonchild
3bac3ab0b5 No issue - avoid potential underflow in StructuredClone.
Prevents potential loop-around if there's bogus internal Map data.
2025-02-18 19:10:57 +08:00
roytam1
f7298813f9 Merge remote-tracking branch 'origin/tracking' into custom 2025-02-06 09:30:57 +08:00
Moonchild
7163430d1a Null-check inputs for String and BigInt
Crash fix for null crash when feeding bogus strings or BigInts to
StructuredClone.
2025-02-06 09:26:42 +08:00