Commit Graph

6817 Commits

Author SHA1 Message Date
roytam1 2b0cdc7b62 Merge remote-tracking branch 'origin/tracking' into custom 2024-09-22 20:54:25 +08:00
Moonchild e1c64b1bb8 [Pale-Moon] Issue #1972 - Halt only closing tab activity before closing, not everything browser-wide. 2024-09-22 20:53:59 +08:00
Moonchild 03c56728d9 [Pale-Moon] Issue #1972 - Disable forcing GC on memory pressure. 2024-09-22 20:53:33 +08:00
Moonchild cf29319f78 [Pale-Moon] Issue #1972 - Make sure all tab activity is halted before removal. 2024-09-22 20:53:03 +08:00
Moonchild fa2fdbe24e [Pale-Moon] Issue #1972 - Implement ghostbuster 2024-09-22 20:52:34 +08:00
Moonchild d004b26d7f [Pale-Moon] Warn before using external handler for usenet protocols
We normally ask for confirmation before asking the operating system to
find an application to handle a scheme that the browser does not support.

It did not ask before doing so for the Usenet-related schemes news: snews:
and nntp:. Since most operating systems in 2024 don't have a trusted
newsreader installed by default, an unscrupulous program that the user
downloaded could register itself as a handler.
The website that served the application download could then launch that
application at will. Of course, all bets are off if a user runs such a
program to begin with, but in some situations (looking at you, MacOS!)
just downloading/unpacking could already result in registration as a
protocol handler without the user actually executing anything.
2024-09-22 20:50:49 +08:00
Moonchild 1d9b68afa8 [Pale-Moon] Issue #1967 - Enable prefetching and provide interface.
- Expose network.dns.disablePrefetch to UI.
- Set the pref to false by default (DNS prefetch enabled)

Resolves #1967
2024-09-22 20:50:12 +08:00
Martin Husemann b1fd3b72cf Make NetBSD/powerpc use the powerpc atomic ops.
NetBSD/powerpc gcc does not predefine __ppc__, but only __powerpc__,
so add that to the preprocessor ifdef cascade to select atomic
ops.
2024-09-22 20:45:12 +08:00
Martin Husemann 37f260bbd4 Make NetBSD use the same xptcall support as others.
These functions are only ELF ABI specific, not really OS specific.
Add powerpc, powerpc64 and sparc64 support for NetBSD
by using the same code as other ELF systems do.
2024-09-22 20:44:57 +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 814a769541 Issue #2251 - Expose unlink ghost windows to about:memory 2024-09-22 20:44:18 +08:00
FranklinDM 97a40adc75 Issue #2251 - Expose ghost window unlinking to release builds. 2024-09-22 20:43:48 +08:00
Moonchild 2b4e577d8e No issue - Fix asserts in debug.
Hashbang parser changes allow more than one EOL which screws up these
assertions' premise. Just remove them as the preconditions are no longer
valid.
2024-09-22 20:43:23 +08:00
Brian Smith 27e66e3f82 No Issue - Fix building for Apple Silicon Mac with Xcode 16. Due to the following LLVM change labels need to be outside .cfi_start/endprocs: https://reviews.llvm.org/D155245 Solution pointed out here is to move the label above .cfi_startproc: https://github.com/libffi/libffi/issues/807 2024-09-22 20:42:53 +08:00
Nia Alarie 4637e2319c media/libcubeb: Use Sun audio backend also on NetBSD 2024-09-22 20:40:46 +08:00
Nia Alarie 6627f8e932 Fix bashism in old-configure.in 2024-09-22 20:40:18 +08:00
roytam1 08feac8e97 ported from mozilla: Bug 1538409 - implement oAuth authentication for POP accounts r=benc a=mkmelin (f6219b04be) 2024-09-21 18:23:52 +08:00
roytam1 2dfde2a62e import from mozilla: Bug 1528136 - add details to enable OAuth2 for Office 365. r=aleca (6e1d492805) 2024-09-21 08:33:39 +08:00
roytam1 1b648cc1d8 Merge remote-tracking branch 'origin/tracking' into custom 2024-09-13 10:04:42 +08:00
FranklinDM 290489edda Issue #2578 - Part 3: Expose CORS and CORS bypass preflight requests preferences. 2024-09-13 10:04:22 +08:00
FranklinDM 2d60c54926 Issue #2578 - Part 2: Implement preference for disabling CORS preflight requests if CORS is disabled 2024-09-13 10:03:53 +08:00
FranklinDM 09b3c7a2d8 Issue #2578 - Part 1: Implement preference for controlling same-origin policy 2024-09-13 10:03:25 +08:00
Nia Alarie dd6526daae js: Support for the MPROTECT security feature (PaX and NetBSD)
On such platforms, remapping memory that was once writable
to executable is forbidden unless the initial mmap() is declared
to change in such a way using the PROT_MPROTECT macro.
2024-09-13 10:02:50 +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
Moonchild 8f31479968 [js] Simplify with-env handling in FetchName 2024-09-06 09:16:51 +08:00
Moonchild b9e7ecd8bc [DOM] Stop exposing NotifyPaintEvent to web content.
There's no reason this should be available to the web, as it's an
indicator of browser internals.
2024-09-06 09:16:23 +08:00
Moonchild 7cc9551e79 Issue #2559 - Implement hashbang grammar
This adds special-case #! comment handling at the top level, treating
any hashbang line as a single-line comment in the parser.
This only applies to Eval(), module script or global context.
2024-09-06 09:15:51 +08:00
roytam1 2dea274c15 Merge remote-tracking branch 'origin/tracking' into custom 2024-08-21 10:49:11 +08:00
Moonchild 9d6ffb5814 Issue #1810 - Add DOMMatrix {get|set}Transform WebIDL interfaces 2024-08-21 10:48:36 +08:00
Moonchild 18f039543a Issue #1810 - Allow superfluous [LenientFloat] extended attributes.
This changes the way the extended attribute [LenientFloat] behaves, so
that overloading functions can match extended attributes while not
having restricted float type arguments themselves.
2024-08-21 10:48:21 +08:00
Moonchild 71bd54891a Issue #1810 - Implement {get|set}Transform with DOMMatrix arguments.
We already had part of the plumbing for other canvas manipulations, so
this is somewhat simplified.

This excludes the interface as that is breaking the build at this stage.
Some more research is required.
2024-08-21 10:48:06 +08:00
roytam1 e5ac12c311 Merge remote-tracking branch 'origin/tracking' into custom 2024-08-15 09:42:08 +08:00
Moonchild 5bd7896c05 Issue #1925 - Follow-up: Fix debug builds (namespace) 2024-08-15 09:40:19 +08:00
Moonchild 8e3c07960d No issue - Update TwemojiMozilla to 15.1.2
Fixes out-of-bounds watermelon emoji size.
2024-08-15 09:39:55 +08:00
Moonchild dd4e060135 Issue #2554 - Follow-up: Also block [::] and [::0.0.0.0] IPv6 addresses. 2024-08-15 09:39:33 +08:00
Moonchild fad481b612 Issue #2554 - Follow-up: Correct code comment (no functional changes) 2024-08-15 09:39:06 +08:00
Moonchild d44b309966 Issue #2554 - Block access to 0.0.0.0 on non-Windows OSes.
Resolves #2554.
2024-08-15 09:38:35 +08:00
roytam1 fde09c8b49 Merge remote-tracking branch 'origin/tracking' into custom 2024-08-09 15:16:24 +08:00
Moonchild 314ba652f4 [DOM] Pass error up the chain in SetColorValue. 2024-08-09 15:16:03 +08:00
roytam1 d27ddaffd7 Merge remote-tracking branch 'origin/tracking' into custom 2024-08-05 10:39:53 +08:00
Nia Alarie a023a81fef Fix loading libGL on NetBSD
The unversioned libGL is preferred on OpenBSD and NetBSD because
both (a) always install it (b) have forks of X11 with different
ABI versions.  However, many Linux distributions do not ship
unversioned .so symlinks unless you install -dev packages.

Unfortunately also needs to be fixed in ANGLE which has the same
problem.
2024-08-05 10:39:06 +08:00
Moonchild 5c509ea6ce Issue #1925 - Replace RectCorner with Corner. 2024-08-05 10:38:49 +08:00
Moonchild c096b46278 Issue #1925 - Convert NS_SIDE_TO_HALF_CORNER to a constexpr function. 2024-08-05 10:38:32 +08:00
Moonchild 2a399b60a1 Issue #1925 - Convert NS_SIDE_TO_FULL_CORNER to a constexpr function. 2024-08-05 10:38:17 +08:00
Moonchild b0b13b8719 Issue #1925 - Convert NS_SIDE_IS_VERTICAL to a constexpr function. 2024-08-05 10:38:00 +08:00
Moonchild 8a2bc8ef4d Issue #1925 - Convert NS_FULL_TO_HALF_CORNER to a constexpr function.
Note: Because the new function checks types, we need to change the
fullCorner type in `nsComputedDOMStyle::GetEllipseRadii()` and
`StyleAnimationValue::ExtractComputedValue()` to `Corner` instead of the
underlying base type.
2024-08-05 10:35:50 +08:00
Moonchild 31badb0f2e Issue #1925 - Convert NS_HALF_TO_FULL_CORNER to a constexpr function. 2024-08-05 10:35:29 +08:00
Moonchild f507d2cdbc Issue #1925 - Convert NS_HALF_CORNER_IS_X to a constexpr function. 2024-08-05 10:35:13 +08:00