Commit graph

102 commits

Author SHA1 Message Date
ownedbywuigi
6f4da14ee2 Add JIT warm-up threshold preferences for baseline and ion compilation 2026-03-28 07:34:59 +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
roytam1
2a53c574f6 Merge remote-tracking branch 'origin/tracking' into custom 2025-03-13 23:05:24 +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
roytam1
904406a497 Merge remote-tracking branch 'origin/tracking' into custom 2025-01-20 21:13:46 +08:00
Moonchild
38daeffb9b Issue #2678 - Avoid QIing for NoteXPCOMRoot.
This callback is only used in very limited ways, so just require that the
caller passes in the canonical supports pointer plus the participant.

This probably won't affect performance much.
2025-01-20 21:07:45 +08:00
Moonchild
32da3f4de4 Issue #2678 - Remove the DOM proxy expando object hashtable in xpconnect. 2025-01-20 21:06:59 +08:00
roytam1
310c05b97a Merge remote-tracking branch 'origin/tracking' into custom 2024-11-21 21:09:29 +08:00
Moonchild
7f086f216c Issue #2653 - Part 3: Remove support for packaged apps from asmjscache 2024-11-21 21:02:19 +08:00
roytam1
2b0cdc7b62 Merge remote-tracking branch 'origin/tracking' into custom 2024-09-22 20:54:25 +08:00
Moonchild
efad094b02 Make inaccurate GC stats reporting non-fatal in debug builds.
Not sure why this was fatal as it only hinders being able to report memory
issues to a debugging dev :P
2024-09-22 20:44:32 +08:00
FranklinDM
97a40adc75 Issue #2251 - Expose ghost window unlinking to release builds. 2024-09-22 20:43:48 +08:00
roytam1
a088e79f72 js/xpconnect: pre-C++17 fix 2024-09-06 09:30:05 +08:00
roytam1
8a8546f49f Merge remote-tracking branch 'origin/tracking' into custom 2024-09-06 09:18:37 +08:00
Moonchild
ec8793a094 [js xpconnect] Fix error handling in xpc::CreateSandboxObject 2024-09-06 09:17:32 +08:00
roytam1
4f792793c2 Merge remote-tracking branch 'origin/tracking' into custom 2024-04-08 11:13:25 +08:00
Moonchild
6176bd62d9 Issue #2490 - Part 12: Convert CSSStyleRule to WebIDL.
The .style PutForwards bit is coming along for the ride here, aligning us with
the behavior of Blink and Gecko.
2024-04-08 11:01:02 +08:00
Moonchild
525606c15d Issue #2490 - Part 11: Convert CSSImportRule to WebIDL.
Note that the .media PutForwards is a new feature coming along for the ride, now
that we're using the spec IDL.
2024-04-08 10:59:42 +08:00
roytam1
d4a80aa2c4 Merge remote-tracking branch 'origin/tracking' into custom 2024-01-09 12:01:14 +08:00
Martok
f059bb0a59 Issue #2240 - Align Microtasks and promises scheduling with spec
Microtasks, resolved Promises and Observers are handled after the sync
task that caused them, in the order they were generated.
Also simplifies reentrancy handling.

Based-on: m-c 1193394
2024-01-09 11:59:32 +08:00
roytam1
a55674f653 Merge remote-tracking branch 'origin/tracking' into custom 2023-10-04 10:06:04 +08:00
Brian Smith
62467428a3 Issue #1442 - Part 2: Add a run-time preference for toggling the streams API. https://bugzilla.mozilla.org/show_bug.cgi?id=1272697 2023-10-04 09:53:12 +08:00
roytam1
1977864a3a Merge remote-tracking branch 'origin/tracking' into custom 2023-07-25 09:16:25 +08:00
Brian Smith
4a3f1b7570 Issue #1240 - Part 7 - Handle BigInt values in XPCVariant code. https://bugzilla.mozilla.org/show_bug.cgi?id=1603055 2023-07-25 09:14:25 +08:00
roytam1
6235ca420d Merge remote-tracking branch 'origin/tracking' into custom 2023-05-04 10:47:54 +08:00
Moonchild
d388e478a0 Issue #1656 - Remove more vim control lines.
Vim control lines were re-introduced or not entirely cleaned up.
This nukes them again.
Removing from the rest of js, caps, chrome, config, devtools, docshell,
image, intl. More to come.
2023-05-04 10:46:38 +08:00
roytam1
20b787a4df Merge remote-tracking branch 'origin/tracking' into custom 2023-04-10 07:27:58 +08:00
FranklinDM
8e6d730463 Issue #2197 - Follow-up: Remove GC debug assertion on sandbox
There's no way to access GC from here.
2023-04-10 07:27:22 +08:00
FranklinDM
bbcfb62753 Issue #2197 - Part 4: Expose structuredClone in Sandbox
Partially based on https://bugzilla.mozilla.org/show_bug.cgi?id=1734320
2023-04-10 07:27:03 +08:00
roytam1
60e7987621 Merge remote-tracking branch 'origin/tracking' into custom 2023-03-14 22:12:29 +08:00
Job Bautista
0b039ff7a6 Issue #80 - Fix deprot in js/xpconnect.
I think we never deunified js/xpconnect before. But if we're going to ever build
this tree deunified in the future, there's nothing stopping us now!
2023-03-14 22:11:28 +08:00
roytam1
ea9d00f005 Merge remote-tracking branch 'origin/tracking' into custom 2023-02-02 09:32:40 +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
roytam1
5ee6b84d50 Merge remote-tracking branch 'origin/tracking' into custom 2023-02-01 07:43:04 +08:00
Job Bautista
3796c7c1e1 Issue #2083 - Part 1: Make RegExpShared a GC thing.
Based on Mozilla bug 1345177.
Changes from the original bug's patch:

- We don't have JS::CurrentThreadIsHeapCollecting, so let's use
  trc->runtime()->isHeapCollecting() instead.
- Mozilla bug 1337117 renamed runtimeFromMainThread to
  runtimeFromActiveCooperatingThread for Firefox 54, so let's use the former
2023-02-01 07:35:50 +08:00
roytam1
fd45d63241 Merge remote-tracking branch 'origin/tracking' into custom 2023-01-26 11:42:02 +08:00
Martok
6b50dd5d06 Issue #2089 - Use JS engine stack if necessary when reporting errors
Based-on: m-c 996060
2023-01-26 11:39:57 +08:00
roytam1
591552c5bb partly import changes from tenfourfox:
- #651: M1767365+backbugs M1757604 M1771774 M1776658 (bc6daa0ae)
2022-09-19 16:18:37 +08:00
roytam1
1822f2031e Merge remote-tracking branch 'origin/tracking' into custom 2022-07-30 08:49:22 +08:00
Moonchild
065e8bc77b Issue #1805 - Follow-up: Include the same headers for Solaris as well to future-proof gcc versions. 2022-07-26 22:27:50 +08:00
Moonchild
3571cc8de0 Issue #1805 - Follow-up: provide for Linux builds using rlimit and min/max. 2022-07-26 22:27:12 +08:00
Moonchild
5ed7e7d56d Issue #1805 - Improve stack size limits for all targets.
This allows us to use a greater rendering depth for exceedingly-deep DOM trees
in layout, better matching what mainstream browsers are capable of. Note that
for 32-bit Windows the stack size MUST be set to larger than the default or Bad
Things Will Happen™ - we use 1.5 MB for this as a carefully-tuned value.

This needs to be capped specifically for JS use because some JavaScript
obfuscators deliberately trigger stack overflows and would lock up the browser
otherwise as long as there's still stack space to abuse. For web compatibility
we therefore limit this to 2MB in JS only (3x for ASAN) while still allowing
a greater depth for the layout engine.
2022-07-26 22:26:38 +08:00
roytam1
2cedfc1adf Merge remote-tracking branch 'origin/tracking' into custom 2022-05-31 10:17:22 +08:00
Jeremy Andrews
e632fc1e8c Issue #1742 - Part 4: Don't trigger read barriers when comparing wrapped pointers types
This is actually an undocumented dependency of Bug 1325406 for Linux and
SunOS.

Ref: BZ 1308236
2022-05-31 09:12:45 +08:00
roytam1
7f068ecce3 Merge remote-tracking branch 'origin/tracking' into custom 2022-05-04 10:14:24 +08:00
Brian Smith
13fcc4a046 Issue #1829 - Revert "Issue #1751" 2022-05-04 09:40:24 +08:00
roytam1
6de07653b9 Merge remote-tracking branch 'origin/tracking' into custom 2022-04-28 10:45:19 +08:00
Moonchild
eaf9e756a0 Issue #21 - Remove remaining telemetry structs, callers and flags. 2022-04-28 10:33:44 +08:00
roytam1
34231f343b partly import changes from tenfourfox:
- #482: better bidi M1358275 M1392181 M1428774 + backbugs (e88a717ab)
- M1739352 M1732572(partial) M1717318(partial) M1586061 (03ffdeadb)
- M1737515 M1737470(no tests) +TLDs, tzdata (fd2b82f13)
2022-01-07 09:05:32 +08:00
Moonchild
ba00d14c12 Issue #1751 - Remove Mac code behind MOZ_WIDGET_TOOLKIT == 'cocoa' 2021-06-24 11:09:47 +08:00