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
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
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
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
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
Moonchild
314ba652f4
[DOM] Pass error up the chain in SetColorValue.
2024-08-09 15:16:03 +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
Moonchild
1730199755
Issue #1925 - Move NS_FOR_CSS_HALF_CORNER to gfx/2d/Types.h and rewrite it.
2024-08-05 10:34:47 +08:00
Moonchild
8dc8875db6
Issue #1925 - Convert half-corner index macros to an enum.
2024-08-05 10:34:31 +08:00
Moonchild
d73f8c2e84
Issue #1925 - Remove use of NS_CORNER_{TOP|BOTTOM}_{LEFT|RIGHT} macros.
2024-08-05 10:34:15 +08:00
Moonchild
0a7f42b452
Issue #1925 - Rewrite NS_FOR_CSS_CORNERS to be similar to *_SIDES
...
- Renames it to NS_CSS_FULL_CORNERS and uses the one macro for all full
corners. In preparation for giving half corners the same treatment.
- Swaps to prefix operator++
2024-08-05 10:33:54 +08:00
Moonchild
b3a51c2711
Issue #1925 - Move Corner enum from mozilla::css to mozilla namespace.
2024-08-05 10:33:38 +08:00
Moonchild
81f60b575a
Issue #1925 - Rename Corner to LogicalCorner and move it to nsStyleCoord.h.
...
To avoid confusion with mozilla::css::corner, rename ::Corner to
mozilla::LogicalCorner, and move it to nsStyleCoord.h from the illogical
nsCellMap.h location.
Also, append the LogicalCorner prefix to all the enum values, to match
the surrounding coding style.
2024-08-05 10:33:00 +08:00
Moonchild
bdb12f10e3
Issue #1925 - Move NS_FOR_CSS_CORNERS and enum to gfx/2d/Types.h.
2024-08-05 10:32:40 +08:00
Moonchild
3a153f32e3
Issue #1925 - Change Side's operator++ from postfix to prefix.
...
The postfix operator++ was actually incorrectly implemented (the
implementation is a prefix version). Since it's only used in the adjacent
macro, there's no risk with this change to correct that.
2024-08-05 10:32:24 +08:00
Moonchild
8bf61a2f5c
Issue #1925 - Remove use of SIDE_BIT{S}_* macros.
...
This already has an enum in gfx/Types.h
2024-08-05 10:32:05 +08:00
Moonchild
ec7351a5d4
Issue #1925 - Remove use of NS_SIDE_* macros.
2024-08-05 10:31:46 +08:00
Moonchild
e6e2796541
Issue #1925 - Remove mozilla::css::Side typedef.
2024-08-05 10:30:50 +08:00
Moonchild
5b0921df6e
Issue #1925 - Move NS_FOR_CSS_SIDES and operator++ to gfx/2d/Types.h
2024-08-05 10:30:33 +08:00
Moonchild
1fe474cf7b
No issue - Update Twemoji Mozilla to 15.1.1
...
This updates Lime and Watermelon emoji to slightly larger versions.
2024-08-05 10:30:15 +08:00
Moonchild
9b56867901
Issue #2515 - Guard devtools click handlers against non-primary clicks.
...
We only want clicks on HTML elements to respond to the primary button.
2024-08-05 10:30:00 +08:00
Moonchild
bd439689e1
Issue #2515 - Clarify only dispatching in chrome.
2024-08-05 10:29:41 +08:00
Moonchild
7e3f0d53a2
Issue #2515 - Remove mForceContentDispatch and mNoContentDispatch
2024-08-05 10:29:26 +08:00
Sergey Fedorov
2d4a8d7959
constants.py: fix powerpc arch detection
2024-08-05 10:28:53 +08:00