roytam1
500c2ab8d9
Revert "workaround of microtask cleanup to prevent a crash"
...
This reverts commit c75d50adde .
2024-01-18 10:16:55 +08:00
roytam1
c75d50adde
workaround of microtask cleanup to prevent a crash
2024-01-13 21:03:58 +08:00
roytam1
d4a80aa2c4
Merge remote-tracking branch 'origin/tracking' into custom
2024-01-09 12:01:14 +08:00
Martok
90eb83819c
Issue #2435 - Re-Implement rejected Promises events according to spec
...
Own implementation; upstream gets several things wrong.
2024-01-09 12:00:53 +08:00
Martok
9126a4836f
Issue #2435 - Implement notifying of rejected promises
...
Based-on: m-c 1362272
2024-01-09 12:00:33 +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
fa72b197d9
Merge remote-tracking branch 'origin/tracking' into custom
2024-01-05 10:11:42 +08:00
Moonchild
dc425fc3e8
Revert "[XPCOM] Compare return value of readlink in nsLocalFileUnix::GetNativeTarget"
...
This reverts commit 66b07ce6991160e768b5113f8adcd0b47be58791.
2024-01-05 10:06:34 +08:00
roytam1
a907bc3c17
Merge remote-tracking branch 'origin/tracking' into custom
2023-12-21 10:19:16 +08:00
Barret Rennie
8b5c0a9cd9
[XPCOM] Compare return value of readlink in nsLocalFileUnix::GetNativeTarget
2023-12-21 10:17:49 +08:00
roytam1
b47d46219f
Merge remote-tracking branch 'origin/tracking' into custom
2023-11-24 17:07:26 +08:00
Gerald Squelart
543e41f3ac
Bug 1332825 - Use move semantics in MozPromise::All() and AllPromiseHolder.
...
MozPromise::All sets up 'Then' lambdas on all sub-promises, each one
taking the resolve/reject object by value. Since this value will not be
used again in the lambda, it is safe to Move it, and from there
MozPromiseHolder::Resolve/Reject can also Move it again into the holder
storage, potentially saving two copies per Resolve/Reject. Also, once
all sub-promises have been resolved, the resolve-values can be Move'd
into the joining promise's Resolve function.
2023-11-24 17:02:54 +08:00
roytam1
bac9ec9a84
Merge remote-tracking branch 'origin/tracking' into custom
2023-10-26 10:55:31 +08:00
Moonchild
74a4260ecd
[XPCOM] Add several app/msi file types to the executables list (Win).
...
This errs on the side of caution for what are installer packages, but
people getting conned into thinking this is safe is a bit too common.
They are akin in danger to .exe files in that respect as it installs
software, and should be treated similarly, so, warn about the potential
danger.
2023-10-26 10:54:13 +08:00
roytam1
119feb053c
Revert "Issue #2301 - Make Gecko Media Plugins optional when not building EME or WebRTC"
...
This reverts commit 9e7d1492e6 .
2023-09-18 21:32:06 +08:00
roytam1
0c6e087291
Merge remote-tracking branch 'origin/tracking' into custom
2023-09-14 11:09:14 +08:00
Matheus Marinho
9e7d1492e6
Issue #2301 - Make Gecko Media Plugins optional when not building EME or WebRTC
...
Co-authored-by: Moonchild <moonchild@palemoon.org>
2023-09-14 10:22:47 +08:00
roytam1
92d9218cf1
Merge remote-tracking branch 'origin/tracking' into custom
2023-08-31 22:43:48 +08:00
Moonchild
d33ab5822f
[XPCOM] Add xll files to the executables list.
2023-08-31 22:40:45 +08:00
roytam1
56216e737f
Merge remote-tracking branch 'origin/tracking' into custom
2023-07-14 10:22:44 +08:00
Brian Smith
ffa0c4d864
No Issue - Fix debug builds on ARM Mac. mach_override used by the IO Poisoner used in debug mode is not support on ARM. https://bugzilla.mozilla.org/show_bug.cgi?id=1658385
2023-07-14 10:16:19 +08:00
roytam1
9f1550fb53
Merge remote-tracking branch 'origin/tracking' into custom
2023-07-06 10:39:29 +08:00
Moonchild
c292f9ffdc
[XPCOM] Win: Update executable extension list
2023-07-06 10:39:00 +08:00
roytam1
629eeda1f1
Merge remote-tracking branch 'origin/tracking' into custom
2023-06-23 16:08:10 +08:00
FranklinDM
fe7244c016
Issue #1691 - Follow-up: Print leaking class name and remove crash reporter dependency
2023-06-23 16:05:54 +08:00
roytam1
725b27a0f5
Merge remote-tracking branch 'origin/tracking' into custom
2023-05-05 23:02:05 +08:00
Moonchild
f1759b33ff
Issue #1656 - Remove more vim control lines.
...
Vim control lines were re-introduced or not entirely cleaned up.
This nukes them again.
Removing from accessible, [root], tools, uriloader, widget, xpcom and
xpfe.
Resolves #1656
2023-05-05 23:00:05 +08:00
roytam1
beb68187e5
Merge remote-tracking branch 'origin/tracking' into custom
2023-04-30 21:26:08 +08:00
FranklinDM
fa787f4a6a
Issue #2218 - Part 1: Add nsExpirationTracker::NotifyEndTransaction(Locked) callbacks for subclasses to know when an aging iteration is complete
...
Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1389479
2023-04-30 21:24:37 +08:00
Brian Smith
7e056a6f72
Issue #1691 - Part 10: Add and use method to annotate CC crashes with a class name. https://bugzilla.mozilla.org/show_bug.cgi?id=1277260 Make PtrInfo into a class and mark it final. Also fix an erroneous debug assert because mBaseURL not set in one code path.
...
(cherry picked from commit a1890054011adf0cf87be0d56047418c9f201420)
2023-04-30 21:21:31 +08:00
Brian Smith
993476283d
Issue #1691 - Part 7e: Dependencies for required to finish part 7d. https://bugzilla.mozilla.org/show_bug.cgi?id=1331662 Reimplement EvaluateString using the ExecutionContext class. https://bugzilla.mozilla.org/show_bug.cgi?id=1316078 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. https://bugzilla.mozilla.org/show_bug.cgi?id=900784 Add nsJSUtils functions for encoding and decoding the bytecode. https://bugzilla.mozilla.org/show_bug.cgi?id=1316081 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. https://bugzilla.mozilla.org/show_bug.cgi?id=1334091 XDR function use the sourceObject instead of the enclosingScript as argument.
...
(cherry picked from commit d6de9a669f4b2f5115670bd771cd53d7cfb3956a)
2023-04-30 21:20:33 +08:00
Brian Smith
1b811bd711
Issue #1691 - Part 6a: Support private values which contain pointers to cycle-collected C++ objects https://bugzilla.mozilla.org/show_bug.cgi?id=1342012
...
(cherry picked from commit 1286cca73d58332ba0becd0011f747713b8acfac)
2023-04-30 21:17:54 +08:00
roytam1
265490b550
Merge remote-tracking branch 'origin/tracking' into custom
2023-04-12 10:05:03 +08:00
FranklinDM
ef8e3b5419
Issue #2053 - Part 5: Throw a DOMException instead of a JS exception for some errors
2023-04-12 10:03:50 +08:00
roytam1
33981efb44
Merge remote-tracking branch 'origin/tracking' into custom
2023-03-02 14:52:54 +08:00
FranklinDM
53e2e5d8d6
Issue #1375 - Part 1: Allow moving a reference into nsInterfaceHashtable
2023-03-02 14:28:09 +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
Moonchild
8bf892d728
[xpcom] remove incorrect assertion.
...
See https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2095#issuecomment-33796
2023-01-30 12:56:44 +08:00
roytam1
120ac6d556
Merge remote-tracking branch 'origin/tracking' into custom
2022-12-30 09:29:56 +08:00
FranklinDM
558b83975c
Issue #2065 - Part 3: Process install manifests with --track in the recursive make backend
...
This excludes parts that remove support for building the Mozilla SDK.
Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1390916
2022-12-30 09:20:05 +08:00
roytam1
de0b4ac202
Merge remote-tracking branch 'origin/tracking' into custom
2022-11-25 11:46:08 +08:00
FranklinDM
eb0c06101f
Issue #2027 - Use reserved stack space instead of heap allocation in nsLocalFile
...
This should resolve the build bustage associated with c127f58ef3.
Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1371279
2022-11-25 11:44:36 +08:00
Moonchild
dc04d9f795
[XPCOM] Deal with lstat potentially lying in nsLocalFileUnix.
2022-11-25 11:44:00 +08:00
roytam1
a6338caef0
fill static_assert() message added in rev 3fccd404 to fix build
2022-10-27 10:20:18 +08:00
roytam1
5f18cf3bed
Merge remote-tracking branch 'origin/tracking' into custom
2022-10-27 09:04:51 +08:00
Moonchild
3fccd404fb
[XPCOM] Fix Base64 off-by-one issue and safeguard against this mistake in the future.
2022-10-27 09:03:59 +08:00
roytam1
34a7589a27
Merge remote-tracking branch 'origin/tracking' into custom
2022-08-04 14:26:42 +08:00
Job Bautista
b3e43f41a8
Issue #1980 - Fix build bustage for applications where WebRTC building is enabled.
...
Turns out we have a duplicate VoidFunction callback in the WebIDLs. Per
Mozilla bug 1324169, we should remove this callback from
RTCPeerConnection.webidl and let Function.webidl handle it instead.
The AttributeError faced by the new Basilisk dev wasn't helpful at all;
and turns out Mozilla had this exact same issue on bug 1505504. We're
also backporting that just in case we encounter another case of
callback duplication.
Also doing a minor fix in the MicroTaskRunnable class which Moonchild
forgot to do while working on Issue #1895 .
2022-08-04 14:26:21 +08:00
roytam1
206c9dcbbf
Merge remote-tracking branch 'origin/tracking' into custom
2022-07-05 17:28:42 +08:00