Moonchild
c597f4de77
[NSS] Restore dropped 'S' :P
2026-04-26 17:06:16 +02:00
Moonchild
fe4b55154b
[NSS] Update NSS version for release.
...
Add (UXP) to the version display string to signify this is our variant of
NSS 3.90 to avoid confusion with the 3.90 branch used in Firefox 115 ESR.
This version has backported considerably more fixes than Mozilla's NSS.
2026-04-26 15:56:47 +02:00
Moonchild
d9f4319bfd
[parser] Handle foster parenting properly.
2026-04-26 15:56:36 +02:00
Moonchild
ec7baced6c
[media] Spot-fix for ffvpx handling of bad video data.
2026-04-26 15:56:28 +02:00
Moonchild
5ed591c3d7
[image] Don't do unnecessary work if the image is being destroyed.
2026-04-26 15:56:21 +02:00
Iain Ireland
32859868d6
Bug 2029727: Update RegExpStatics data after realloc
2026-04-26 15:56:09 +02:00
Moonchild
4ab80fceb4
[gfx] OTS/HB: Correct bounds checks.
2026-04-26 15:56:00 +02:00
Moonchild
4e25cc130f
[js] Use isElement in UnmappedArgSetter to check if the argument was marked as deleted.
...
This is more consistent with `UnmappedArgGetter` and better handles the
case where the property was marked deleted in `RareArgumentsData` but not
actually deleted from the object due to OOM. Unfortunately this scenario
is hard to prevent because the property is marked as deleted in the
`ArgumentsObject::obj_delProperty` class hook and after that
`NativeDeleteProperty` tries to remove the property and this can fail.
2026-04-26 15:55:52 +02:00
Dennis Jackson
f1b56f6512
Bug 2029323 - Improve size calculations in CMS content buffering
2026-04-26 15:55:38 +02:00
John Schanck
b5d6c427ad
Bug 2029425 - Heap use-after-free in cert_VerifyCertChainOld via dangling certsList[] entry on NameConstraints violation.
2026-04-26 15:55:29 +02:00
Moonchild
9a900503ea
[image] Hold a strong ref on mInnerImage when requesting a refresh.
2026-04-26 15:55:22 +02:00
Moonchild
f6296891bf
[DOM] Add some death grips to TextTrackManager.
2026-04-26 15:55:17 +02:00
Moonchild
bbd16ed644
[DOM/media] Use extended channel data as-appropriate.
2026-04-26 15:55:11 +02:00
John Schanck
8f6cd1cfcd
Bug 2030135 - improve error handling in PK11_ImportPrivateKeyInfoAndReturnKey
2026-04-26 15:55:06 +02:00
Moonchild
70a3532f49
Revert "[gfx] Use local statics for harfbuzz callback pointers"
...
This reverts commit 60a96d9cd2 .
2026-04-26 15:54:57 +02:00
Moonchild
c160edb49b
No issue - Update our in-tree brotli library to 1.2.0+
...
This includes a minor patch to encode.c to work around the "static init"
check that actually doesn't do anything in its default state, but, due to
compiler subtleties in handling duplicate object names, would not be able
to link brotli.exe because it would refuse to expose all symbols for
duplicate objects (a later one would just be ignored).
Unsure how clang does this but it's not portable across compilers.
(we need the brotli.exe tool for resource package compression)
2026-04-26 15:54:50 +02:00
John Schanck
32f0e6d1e6
Bug 2029462 - store email on subject cache_entry in NSS trust domain.
...
remove_email_entry used cert->email of the last-destroyed cert to locate
the hash entry to clean up. If that cert had no email, the entry was
silently skipped, leaving a dangling subjectList pointer after the arena
was freed. Store the registration-time email on the subject cache_entry
(mirroring ce->nickname) and thread it through remove_subject_entry so
removal always uses the correct email regardless of destruction order.
2026-04-26 15:54:36 +02:00
Moonchild
8c6098ed9e
[security] Ensure DispatchToMainThreadAndWait isn't interrupted.
...
In some cases, `lock.wait()` can be interrupted by spurious wake-ups
before processing is done. To ensure things are, in fact, synchronous,
loop over `wait()` until it is actually done.
2026-04-26 15:54:26 +02:00
Timothy Nikkel
5f70302bfc
Bug 2029291.
2026-04-26 15:54:16 +02:00
Jan de Mooij
f1cc25409a
Bug 2029317 - Create RareArgumentsData before mutating the arguments object in MappedArgumentsObject::obj_defineProperty.
2026-04-26 15:54:10 +02:00
Jan-Ivar Bruaroey
1bb67f87d1
Bug 2029423 - Reset post_proc state.
2026-04-26 15:53:55 +02:00
Andy Leiserson
6f89be191d
Bug 2029427 - Fix format string
2026-04-26 15:53:50 +02:00
Moonchild
f453aac0eb
[gfx] Explicitly cast calculation to int32.
2026-04-26 15:53:42 +02:00
Moonchild
abc2e56e6a
[gfx] Port libyuv upstream bounds check.
2026-04-26 15:53:31 +02:00
Simon Farre
2f2c86599f
Bug 2025973 - Use value-semantics for txExecutionState::TemplateRule
...
TemplateRule is a wrapper around references mostly and can for the
purposes of this function be copied to the stack, given that
TemplateRule::mModeNsId is not mutated there.
2026-04-26 15:53:24 +02:00
Dennis Jackson
a52e68f04d
[NSS] Clarify extension negotiation mechanism for TLS Handshakes.
2026-04-26 15:53:16 +02:00
Moonchild
ee256eda09
[js] Only allow strings as function name.
2026-04-26 15:53:07 +02:00
Olli Pettay
adbedd87a3
Bug 2025370 - Properly handle error case in EventListenerManager::GetTypedEventHandler
2026-04-26 15:52:46 +02:00
Moonchild
4f94981ad9
[DOM/XSLT] Don't use txXPathNode by reference.
...
Follow-up to previous XSLT fixes.
2026-04-26 15:52:36 +02:00
Moonchild
fb15e11ef3
[gfx] Stop using binary arithmetic in software filtering.
...
There was some weird binary arithmetic to artificially clamp values in
calculations for dot products. (multiply by (x >= 0)...)
Switch to `std::clamp()` on the initial value instead.
2026-04-26 15:52:31 +02:00
Tom Schuster
b0e1570535
Bug 2025332 - ErrorResult should call ClearUnionData more.
2026-04-26 15:52:26 +02:00
Karl Tomlinson
b370042040
Bug 2025483 update mBeginProcessing even on speex_resampler_set_rate() error
2026-04-26 15:52:20 +02:00
Moonchild
60daf77274
[NSS] Deep copy profile data in CERT_FindSMimeProfile.
2026-04-26 15:52:15 +02:00
Moonchild
4f9ed77789
[DOM/XSLT] Prevent circular indexing
...
Added additional flag to txIndexedKeyHashEntry to signal whether or not
this entry is already in the process of indexing.
The XSL specs 3.0 talk about recursion being fine, but circularity not
being ok, which is the case when a key is already being looked up.
2026-04-26 15:52:04 +02:00
Moonchild
c819a0b3c8
No issue - Deduplicate HTMLAllCollection::GetSupportedNames code.
...
This was duplicated with a minor difference from the code present in
nsContentList::GetSupportedNames.
2026-04-26 15:51:57 +02:00
Moonchild
104f493044
[NSS] Reject excessively large ASN.1 SEQUENCE OF in quickder.
2026-04-26 15:51:14 +02:00
Moonchild
ccfb3fc5db
[DOM] Avoid leaks in nsXMLPrettyPrinter.
2026-04-26 15:51:05 +02:00
Moonchild
9fa543c9f4
[DOM/WebCrypto] Reject absurdly large salt values.
2026-04-26 15:51:00 +02:00
Moonchild
1d18178eda
[DOM] Add a death grip and use locals in BaseMediaResource::ModifyLoadFlags.
2026-04-26 15:50:54 +02:00
Moonchild
8a6b1f309b
[DOM] Add a SequenceRooter to ConsoleProfile.
2026-04-26 15:50:48 +02:00
Moonchild
a60ab0def7
[widget] Improve clearing of data during clipboard operations.
2026-04-26 15:50:40 +02:00
Daniel Holbert
6276177e20
Bug 2026293: Block scripts when initiating async scrollbar activity.
2026-04-26 15:50:33 +02:00
Moonchild
6c4e8f1466
[accessibility] Hold a strong ref to mParent in AccIterator.
2026-04-26 15:50:22 +02:00
Moonchild
19a4ae248b
[gfx] Don't return dummy surfaces.
2026-04-26 15:50:16 +02:00
Moonchild
744212dbf3
[webrtc] Fix off-by-one comparison.
2026-04-26 15:50:10 +02:00
Simon Farre
a46fbd6ead
Bug 2025971 - Use txSingleNodeContext getter of owned txXPathNode.
...
eContext gets a copy of aNode. The function should use that one's member
as it's not a shared reference, which we can't know the life time of.
2026-04-26 15:50:04 +02:00
Moonchild
bb39100caf
Bug 2025976 - Follow-up: Make txXPathNode() a public class member.
2026-04-26 15:49:51 +02:00
Moonchild
a27a4e4b60
[DOM/XSLT] Re-fetch index entry.
2026-04-26 15:49:45 +02:00
Simon Farre
490cf03fba
Bug 2025976 - Make txxPathNode be a value instead of reference.
...
txxPathNode has value semantics (it's a smart pointer + uint32_t index;
two different objects of this instance with the same contents are the same
thing).
Increase correctness by making a copy instead of a reference.
2026-04-26 15:49:40 +02:00
Moonchild
e93191409e
[NSS] Improve input validation in DSAU signature decoding
2026-04-26 15:49:33 +02:00
Moonchild
5cfdaf4ad4
[image] Hold a strong ref on error.
2026-04-26 15:49:28 +02:00
Moonchild
7664a83451
[DOM] Ensure the GC sees consistent states while adopting DOM nodes.
...
This should prevent some intermittent CC crashes when the wrapper cache
has an incorrect state.
2026-04-26 15:49:22 +02:00
Moonchild
f449e1fd7d
[DOM] Improve CC/WrapperCache for nursery objects.
2026-04-26 15:49:16 +02:00
Moonchild
bbd4a99be2
[network] Ensure UDPSocket remains alive during CloseWithReason.
2026-04-26 15:49:11 +02:00
Moonchild
4ae471baf9
[network] Hold strong ref in nsSyncStreamListener::Available.
2026-04-26 15:49:01 +02:00
Moonchild
4d41b5df11
[network] Force NUL termination in ToStringBuffer AF_LOCAL.
...
Also reject AF_LOCAL in IPC reader (just in case).
2026-04-26 15:48:54 +02:00
Moonchild
01188c1465
[webrtc] Hold a self-ref on behalf of sigslot, just in case.
...
Also, stop using these PC_AUTO_ENTER_API_CALL... macros
in functions that aren't actually JS API.
2026-04-26 15:48:41 +02:00
Moonchild
7eac3090a5
[DOM] Fix access to shared RuntimeService::mNavigatorProperties.
2026-04-26 15:48:28 +02:00
Moonchild
e9bb602131
Issue #3060 - Align cookie magic prefix handling with the updated spec.
...
This adds `__Http-` and `__Host-Http-` magic prefixes, and aligns
our checks with RFC6265bis.
Resolves #3060
2026-04-26 15:48:16 +02:00
Moonchild
ddc8b21705
[network] Handle WebSocketChannel::IsPersistentFramePtr correctly.
2026-04-26 15:47:59 +02:00
Moonchild
6209d33f4e
[network] Hold strong ref in nsDownloader::OnDataAvailable.
2026-04-26 15:47:50 +02:00
Moonchild
cbaace24c0
[DOM] Add a death grip.
2026-04-26 15:47:44 +02:00
Moonchild
051951ef00
[network] Use locals for VisitHeader
2026-04-26 15:47:38 +02:00
Moonchild
a9062b8710
[DOM] Update some DOM canvas checks.
2026-04-26 15:47:14 +02:00
Moonchild
18c656ebba
Issue #3058 - Part 1: Fix arithmetic issue in ConvertYCbCrToRGB32
...
The more complex part can be landed later.
2026-04-26 15:46:58 +02:00
Moonchild
9220d05de2
[NSS] Fix memory leak in NSC_GenerateKey error path.
2026-04-26 15:46:43 +02:00
Moonchild
fdd286d190
[NSS] Protect rwSessionCount with slotLock.
...
Previously, SFTKSlot.rwSessionCount was incremented and decremented
atomically, which meant that there was no way to synchronize reads from it
in NSC_GetTokenInfo. This patch removes the atomic operations but protects
rwSessionCount with SFTKSlot.slotLock.
SFTKSlot.sessionCount is already protected in this way, so this should
have no performance impact.
2026-04-26 15:46:29 +02:00
Moonchild
4fa8a8ce1d
[NSS] Fix potential integer underflow in tls 1.3.
...
Fix integer underflow in tls13_AEAD when ciphertext is shorter than tag.
2026-04-26 15:46:24 +02:00
Moonchild
d5e853a25b
[media] Check alpha data pointer instead of length.
...
`nestegg_packet_additional_data()` can return a non-zero length with a
null-pointer after failure to parse an ID_BLOCK_ADDITIONAL element.
See upstream bug https://github.com/mozilla/nestegg/issues/76
2026-04-26 15:46:18 +02:00
Moonchild
6ea3635847
[network] use nsCOMPtr for mRequest in Base Channel's ScopedRequestSuspender
2026-04-26 15:46:09 +02:00
Moonchild
0ea3d42a38
Issue #2946 - Follow-up: Sanity-check WMF video properties.
...
Not sure where else to put this under, but it's a WMF HWA related check,
so filing it as a follow-up here to recent work.
Also tag #2949
2026-04-26 15:45:50 +02:00
Moonchild
a024df6124
[DOM] More consistently use already-calculated image properties.
2026-04-26 15:45:33 +02:00
Moonchild
11a80021f4
[layout] Minor frame scroll improvements.
2026-04-26 15:45:26 +02:00
Moonchild
301873c751
[XPCOM] Update list of executable extensions on Windows.
2026-04-26 15:45:18 +02:00
Moonchild
90986caee8
[NSS] ensure permittedSubtrees don't match wildcards that could be outside
...
the permitted tree.
2026-04-26 15:45:12 +02:00
Moonchild
778d93ac49
[network] Ignore non-compliant http server header.
2026-04-03 07:38:32 +02:00
Moonchild
f9ba08fa11
[NSS] Update NSS to 3.90.9.1 (custom)
2026-04-03 07:38:24 +02:00
Moonchild
95911aa2ce
[gfx] Use local statics for harfbuzz callback pointers
...
This ensures thread-safe initialization.
2026-04-03 07:38:10 +02:00
Moonchild
ccbea05142
[XPCOM] Add more validation to SnappyUncompressInputStream
2026-04-03 07:37:56 +02:00
Moonchild
867c957ceb
No issue - Add convolver sanity check
2026-04-03 07:37:41 +02:00
Moonchild
0d2ff3ee65
Merge branch 'master' into release
2026-03-28 19:02:37 +01:00
Moonchild
5871ce0b85
Merge pull request 'Implement TypedArray.prototype.toSorted' ( #3025 ) from Basilisk-Dev/UXP-contrib:typedarray-tosorted into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/3025
2026-03-28 15:07:05 +00:00
Moonchild
6237c680ca
Merge pull request 'Cleanup obsolete XPCOM Support' ( #3026 ) from Basilisk-Dev/UXP-contrib:cleanup-xpcom into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/3026
2026-03-28 15:05:35 +00:00
Basilisk-Dev
facdbf7bc0
Issue #3007 - remove VERY obsolete HTML files in XPCOM
2026-03-28 09:08:54 -04:00
Basilisk-Dev
8f54050907
Issue #3007 - remove 32-bit SPARC OpenBSD support in XPCOM
2026-03-28 08:50:38 -04:00
Basilisk-Dev
2fbe032ee9
Issue #3007 - remove some obsolete HTML files in xpcom
2026-03-28 08:46:49 -04:00
Basilisk-Dev
a8a68383cb
Issue #3007 - Remove bitrig support from XPCOM.
2026-03-28 08:44:21 -04:00
Basilisk-Dev
e3f67c01a2
Issue #3007 - remove remaining HP-UX references in XPCOM
2026-03-28 08:39:01 -04:00
Moonchild
a1fe345c98
No issue - Add 10.4 and 26.* SDK versions to KNOWN_SDK_VERSIONS
...
For Mac builds as requested by dbsoft.
Sorted the entries by major version for readability.
2026-03-28 08:37:42 +01:00
Basilisk-Dev
a1caa316a7
Issue #2551 - implement TypedArray.prototype.toSorted
2026-03-27 13:35:04 -04:00
Moonchild
1011058248
Merge pull request 'Update document.currentScript implementation to align with current spec' ( #3021 ) from currentScript-work into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/3021
2026-03-26 14:59:30 +00:00
Moonchild
dc9a5cd350
Merge pull request 'Implement window.MathMLElement global.' ( #3022 ) from dbsoft/UXP:mathmldom-work6 into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/3022
Reviewed-by: Moonchild <moonchild@palemoon.org >
2026-03-25 21:52:41 +00:00
Brian Smith
80c7d08eee
Issue #2548 - Part 5 - Implement the HTMLOrForeignElement mixin.
...
https://bugzilla.mozilla.org/show_bug.cgi?id=1577660
Add 'preventScroll' option to HTMLElement's, SVGElement's and XULElement's 'focus' method.
https://bugzilla.mozilla.org/show_bug.cgi?id=1374045
2026-03-24 19:38:41 -05:00
Brian Smith
a8c59c38d4
Issue #2548 - Part 4 - Fix some missed changes for ElementCSSInlineStyle.
...
Introduce GlobalEventHandlers/DocumentAndElementEventHandlers/ElementCSSInlineStyle mixin.
https://bugzilla.mozilla.org/show_bug.cgi?id=1579457
2026-03-24 19:38:41 -05:00
Brian Smith
9bf46d80f1
Issue #2548 - Part 3 - Fix some MathML issues encountered since WebIDL works.
...
Add an nsContentUtils API for getting the CallerType of a JSContext.
https://bugzilla.mozilla.org/show_bug.cgi?id=1316616
Also added a Fetch() change that was not in the Mozilla patch.
2026-03-24 19:38:41 -05:00
Brian Smith
638c7f07f7
Issue #2548 - Part 2 - Collection of WebIDL parsing updates in an attempt to fix partial interface mixin error.
...
We should ensure, at build-time, that partial interfaces are defined in the same file as the interface they extend.
Since our build system doesn't really support correct dep builds if they're placed in a different file.
https://bugzilla.mozilla.org/show_bug.cgi?id=1333117
WebIDL: Better error message for trying to inherit from a mixin.
https://bugzilla.mozilla.org/show_bug.cgi?id=1575384
Fix webidl identifier conflicts involving typedefs to produce saner exceptions.
https://bugzilla.mozilla.org/show_bug.cgi?id=1531623
Disallow nullable types for WebIDL constants.
https://bugzilla.mozilla.org/show_bug.cgi?id=1535647
Add support for extended attributes on types in Web IDL
https://bugzilla.mozilla.org/show_bug.cgi?id=1359269
Allow LenientFloat to be only in a specific overload
https://bugzilla.mozilla.org/show_bug.cgi?id=1020975
2026-03-24 19:38:41 -05:00
Brian Smith
8e01b2d181
Issue #2548 - Part 1 - Implement MathML DOM and pre-requisites.
...
https://bugzilla.mozilla.org/show_bug.cgi?id=1571487
Introduce interface mixins.
https://bugzilla.mozilla.org/show_bug.cgi?id=1414372
Switch XPathEvaluator to using IDL mixins and remaining users of IDL "implements" over to mixin syntax.
https://bugzilla.mozilla.org/show_bug.cgi?id=1574195
Introduce GlobalEventHandlers/DocumentAndElementEventHandlers/ElementCSSInlineStyle mixin.
https://bugzilla.mozilla.org/show_bug.cgi?id=1579457
Introduce DocumentAndElementEventHandlers to more closely align with the HTML spec.
https://bugzilla.mozilla.org/show_bug.cgi?id=1330457
Remove the use of IsCallerChrome in FetchRequest.
https://bugzilla.mozilla.org/show_bug.cgi?id=1335368
2026-03-24 19:38:41 -05:00
Moonchild
3a4dc8de41
Issue #3020 - Clear currentScript after running microtasks
...
Per HTML spec:
`document.currentScript` Returns null if the Document is not currently
executing a script or SVG script element (e.g., because the running
script is an event handler, or a timeout), or if the currently executing
script or SVG script element represents a module script.
---
It's ambiguous about whether, for micro tasks, it should return null.
(This section is labelled as "non-normative", as well.)
However, mainstream browsers handle this differently and don't return
null after running microtasks, so we need to clear this and not assume
null persistently, and run the auto-updater for it, regardless if
it's a module or not.
2026-03-24 20:44:13 +01:00
Moonchild
18595b01b6
Issue #3020 - Update currentScript when dealing with shadow DOM.
...
`currentScript` should be null when evaluating scripts from shadow DOM.
2026-03-24 15:53:04 +01:00
Moonchild
f7215fc685
Issue #3020 - document.currentScript should be null in modules
...
This is done correctly in `EvaluateScript`, but `CreateModuleScript` was
still setting currentScript to an element.
2026-03-24 15:50:34 +01:00
Moonchild
08521d4651
Merge pull request 'Remove Itanium/ia64 support from xpcom' ( #3018 ) from Basilisk-Dev/UXP-contrib:xpcom-itanium-cleanup into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/3018
2026-03-24 11:18:04 +00:00
Moonchild
00b177d75f
Merge pull request 'Fix Shadow DOM spellchecker crash' ( #3014 ) from spellcheck-shadowdom-work into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/3014
2026-03-23 23:48:49 +00:00
Moonchild
a89a071049
Merge pull request 'implement TypedArray.prototype.with' ( #3019 ) from Basilisk-Dev/UXP-contrib:typedarray-with into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/3019
2026-03-23 15:18:47 +00:00
Basilisk-Dev
f9dc8a091a
Issue #2551 - implement TypedArray.prototype.with
2026-03-23 08:50:01 -04:00
Basilisk-Dev
944299ed6c
Issue #3007 - Remove Itanium/ia64 support from xpcom
2026-03-23 08:15:51 -04:00
Moonchild
0e1441155c
Merge pull request 'Issue #3016 - allow url.CanParse to use custom-scheme bases to match current spec' ( #3017 ) from Basilisk-Dev/UXP-contrib:url-canparse-spec-compliance into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/3017
2026-03-23 05:23:18 +00:00
Moonchild
7bf5dfe4e4
Merge pull request 'Modify valgrind logging in libavutil to require MOZ_VALGRIND' ( #3010 ) from Basilisk-Dev/UXP-contrib:ffvpx-valgrind into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/3010
Reviewed-by: Moonchild <moonchild@palemoon.org >
2026-03-22 21:23:00 +00:00
Basilisk-Dev
d4c34fc9f7
Issue #3009 - updated libavutil to keep HAVE_VALGRIND_VALGRIND_H as the primary gate, with MOZ_VALGRIND added inside it
2026-03-22 16:57:34 -04:00
Basilisk-Dev
6811005551
Issue #3016 - allow url.CanParse to use custom-scheme bases to match current spec
2026-03-22 16:48:43 -04:00
Moonchild
464cefa127
Merge pull request 'Attempt to fix Cloudflare image resizing' ( #3012 ) from wuggy/UXP:master into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/3012
Reviewed-by: Moonchild <moonchild@palemoon.org >
2026-03-22 14:42:51 +00:00
Moonchild
c94a1ab5d3
Merge pull request 'Issue #3007 - remove itanium support and references from webrtc' ( #3015 ) from Basilisk-Dev/UXP-contrib:webrtc-itanium-cleanup into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/3015
2026-03-22 14:40:10 +00:00
Basilisk-Dev
8aa5b35605
Issue #3007 - remove itanium support and references from webrtc
2026-03-22 01:05:18 -04:00
Basilisk-Dev
25dd1fb31a
Issue #3009 - restore valgrind functionality in libavutil and hide behind MOZ_VALGRIND instead
2026-03-21 22:52:25 -04:00
wuggy
d8cf2c8b44
Cloudflare Image Resizing fix take 3 part 2 (all.js)
2026-03-21 13:28:57 +00:00
wuggy
938c5d08d4
Cloudflare Image Resizing fix take 3 part 1 (main fixup)
2026-03-21 13:26:34 +00:00
Moonchild
7fca2b8de3
Issue #2739 - Follow-up: remove missed configure bits.
...
We still accepted {en|dis}able-jxl as a valid old-configure option and
there were a few leftover pref conditionals.
2026-03-21 11:57:15 +01:00
wuggy
ef19ad3ffd
Cloudflare Image Resizing fix take 2
...
Better documentation and about:config pref controlled (network.url.cloudflare_image_resizing.enabled)
2026-03-20 19:02:52 +00:00
Moonchild
ab88527fe6
Issue #3011 - Part 3: Handle edge case for spellchecking.
...
Make spellchecking work in Shadow DOM after anchor navigates away from it.
2026-03-20 17:07:55 +01:00
Moonchild
6c0ff1881a
Issue #3011 - Part 2: Switch spellchecker root to Shadow DOM.
...
Set the root for spelling checker to shadow root if the contenteditable
nodes are in the shadow DOM. Bail if the position can't be set properly.
2026-03-20 14:45:11 +01:00
Moonchild
1e7f4c8474
Issue #3011 - Part 1: Add As{Text|Html}Editor() and AsEditorBase()
...
This adds helper functions to get specific types of content editors (if
possible) through the nsIEditor interface, as opposed to doing manual
casting and the ad hoc `GetHTMLEditor()` function.
Helper functions are spread out over multiple headers due to the
circular dependency issues that would be triggered otherwise.
2026-03-20 13:26:18 +01:00
wuggy
fdf491d4ec
Cloudflare Image Resizing fix
2026-03-20 10:18:45 +00:00
Basilisk-Dev
1f4cceca43
Issue #3009 - Remove valgrind logging in libavutil so that valgrind is no longer required at build time
2026-03-18 19:44:28 -04:00
Moonchild
542eaca577
Merge pull request 'LoongArch Support Followup - Do not hardcode jemalloc page size on LoongArch' ( #3006 ) from Basilisk-Dev/UXP-contrib:loongarchpagesize into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/3006
2026-03-18 23:02:13 +00:00
Basilisk-Dev
1cb6f56418
Issue #2897 followup - Do not hardcode jemalloc page size on LoongArch
...
Loongarch can run on either a 4k or 16k page size
2026-03-18 18:14:27 -04:00
Moonchild
a503e883d9
Merge pull request 'Don't attempt on-stack replacement for TLA modules when interpreter loop encounters JSOP_LOOPENTRY' ( #3002 ) from jobbautista9/UXP:2229-jsop_loopentry into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/3002
2026-03-18 15:21:31 +00:00
Moonchild
347681c219
Merge pull request 'Implement array.prototype.toSpliced and array.prototype.with' ( #3005 ) from Basilisk-Dev/UXP-contrib:arraybycopy into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/3005
2026-03-17 20:31:34 +00:00
Basilisk-Dev
2984237f4f
Issue #2551 - implement array.prototype.toSpliced
2026-03-16 14:33:50 -04:00
Basilisk-Dev
1c4a73de71
Issue #2551 - implement array.prototype.with
2026-03-16 14:27:02 -04:00
Job Bautista
d27df4d88f
Issue #2229 - Follow-up: Don't attempt on-stack replacement for TLA modules
...
When interpreter loop encounters JSOP_LOOPENTRY, we should not let TLA modules
enter baseline JIT.
2026-03-16 11:28:25 +08:00
Moonchild
9562888e77
Merge pull request 'Flatten nested CSS to standard CSS before parsing (fix sites using nested CSS)' ( #2999 ) from Basilisk-Dev/UXP-contrib:nested-css into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2999
Reviewed-by: Moonchild <moonchild@palemoon.org >
2026-03-14 18:24:58 +00:00
Moonchild
5536b38401
Merge pull request 'Add AudioNode constructors' ( #2988 ) from audionode-constructors-pr into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2988
2026-03-14 18:19:08 +00:00
Moonchild
c011b271a1
Issue #3001 - Restore table reference frame call.
...
While the result value was only used for debug purposes, the function
`FindReferenceFrameFor` also updates the reference frame for use
outside of debug builds. The opaque double use of this function
was not clear from code inspection and it was erroneously removed.
Resolves #3001
2026-03-14 19:16:41 +01:00
Basilisk-Dev
c21fb81d3e
Issue #2862 - css nesting pref true by default
2026-03-14 13:23:54 -04:00
Basilisk-Dev
5a3dcf5939
Issue #2862 - Remove unused vars in CSS flattener
2026-03-14 13:22:59 -04:00
Moonchild
1d709fe942
Merge pull request 'Update expat source to 2.7.4 and apply local patches' ( #2998 ) from jobbautista9/UXP:expat-2.7.4 into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2998
2026-03-13 17:06:21 +00:00
Moonchild
e55c16146f
Issue #2993 - Follow-up: Clobber.
2026-03-13 16:19:56 +01:00
Basilisk-Dev
997a9a3e13
Issue #2862 - Change tests from lowering to flattening
2026-03-13 09:01:56 -04:00
Basilisk-Dev
008f38579c
Issue #2862 - Change code references from CSS lowering to CSS flattening
2026-03-13 08:58:18 -04:00
Basilisk-Dev
d943e86b28
Issue #2862 - handle more edge cases in css lowering
2026-03-12 08:44:03 -04:00
Basilisk-Dev
3f2d707a83
Issue #2862 - more tests files for nested css
2026-03-12 08:43:58 -04:00
Basilisk-Dev
b145a93ad6
Issue #2862 - Split the css lowering functionality out to a separate file for easier maintenance
2026-03-12 08:43:53 -04:00
Basilisk-Dev
3056028db4
Issue #2862 - Fix a few nested selectors
2026-03-12 08:43:48 -04:00
Basilisk-Dev
b4dac14720
Issue #2862 - Modify the css lowerer so that the lowering pass now recognizes bare type-selector nested rules and combinator-led cases
2026-03-12 08:43:42 -04:00
Basilisk-Dev
76694b956f
Issue #2862 - add initial nested css test file
2026-03-12 08:43:33 -04:00
Basilisk-Dev
9fab5b3e3c
Issue #2862 - Initial attempt at a css lowering
2026-03-12 08:43:23 -04:00
Job Bautista
d54491fdd0
Issue #2997 - Update expat source to 2.7.4 and apply local patches.
2026-03-12 13:50:10 +08:00
Moonchild
00c3c3a546
Merge pull request 'Only use SVE instructions on Apple Silicon (disable on aarch64 Linux)' ( #2994 ) from Basilisk-Dev/UXP-contrib:vpx-sve into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2994
2026-03-11 20:50:08 +00:00
Moonchild
1da5c344be
Merge pull request 'Implement TypedArray.prototype.toReversed()' ( #2996 ) from Basilisk-Dev/UXP-contrib:typed-toReversed into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2996
2026-03-11 20:28:21 +00:00
Moonchild
76d66b5dad
Merge pull request 'Work around macOS WebGL crash on unconsumed vertex attrib arrays' ( #2995 ) from Basilisk-Dev/UXP-contrib:webgl-crash into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2995
2026-03-11 20:23:20 +00:00
Basilisk-Dev
e502735eb2
Issue #2993 - only use SVE instructions on Apple Silicon (disable on aarch64 Linux)
2026-03-11 15:07:09 -04:00
Basilisk-Dev
edfebe1b99
Issue #2551 - Implement TypedArray.prototype.toReversed()
2026-03-11 15:04:16 -04:00
Moonchild
250e4f75da
Merge pull request 'Avoid empty replacements in macro expansion.' ( #2986 ) from 2978 into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2986
2026-03-11 19:03:59 +00:00
Basilisk-Dev
53f1bdd9c2
Issue #2978 - Work around macOS WebGL crash on unconsumed vertex attrib arrays
2026-03-11 14:25:20 -04:00
Moonchild
ade298d0a7
Merge pull request 'Issue #2990 - implement object.GroupBy' ( #2991 ) from Basilisk-Dev/UXP-contrib:objectgroupby into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2991
2026-03-10 15:24:08 +00:00
Basilisk-Dev
387b01ce14
Issue #2990 - implement object.GroupBy
2026-03-10 10:45:54 -04:00
Moonchild
47d2094329
Merge pull request 'Issue #2926 - Tweak mimalloc performance tunables' ( #2989 ) from Basilisk-Dev/UXP-contrib:mimalloc-tweaks into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2989
2026-03-10 13:48:48 +00:00
Basilisk-Dev
43f9a8e1f0
Issue #2926 - Tweak mimalloc performance tunables:
...
MI_DEFAULT_PURGE_DECOMMITS=0 - fewer costly kernel operations and fewer immediate recommit/zero-fill penalties on reuse.
MI_DEFAULT_PURGE_DELAY=500 - short-lived allocation bursts can reuse pages directly, avoiding purge/reclaim ping-pong.
MI_DEFAULT_GENERIC_COLLECT=50000 - lower background allocator housekeeping overhead on hot allocation paths.
2026-03-10 09:08:14 -04:00
Moonchild
30e287371f
Issue #2987 - Part 19: Add MediaStreamAudioDestinationNode constructor.
2026-03-10 11:19:11 +01:00
Moonchild
a9246d7b28
Issue #2987 - Part 18: Add MediaStreamAudioSourceNode constructor.
2026-03-10 11:19:05 +01:00
Moonchild
db1d73f05d
Issue #2987 - Part 17: Add MediaElementAudioSourceNode constructor.
2026-03-10 11:18:39 +01:00
Moonchild
72b14ea177
Issue #2987 - Part 16: Add AudioBuffer constructor.
2026-03-10 11:18:02 +01:00
Moonchild
430c4a3f79
Issue #2987 - Part 15: Add PeriodicWave constructor.
2026-03-10 11:17:57 +01:00
Moonchild
93ed92f63b
Issue #2987 - Part 14: Add OscillatorNode constructor.
2026-03-10 11:17:53 +01:00
Moonchild
4a1312c060
Issue #2987 - Part 13: Add DynamicsCompressorNode constructor.
2026-03-10 11:17:47 +01:00
Moonchild
303e1ecf34
Issue #2987 - Part 12: Add ChannelMergerNode constructor.
2026-03-10 11:17:42 +01:00
Moonchild
57b0e4a65b
Issue #2987 - Part 11: Add ChannelSplitterNode constructor.
2026-03-10 11:17:38 +01:00
Moonchild
804a301068
Issue #2987 - Part 10: Add ConvolverNode constructor.
2026-03-10 11:17:32 +01:00
Moonchild
aedb8a4d08
Issue #2987 - Part 9: Add StereoPannerNode constructor.
2026-03-10 11:17:27 +01:00
Moonchild
93072ab51e
Issue #2987 - Part 8: Add PannerNode constructor.
2026-03-10 11:17:22 +01:00
Moonchild
ca11a325bd
Issue #2987 - Part 7: Add WaveShaperNode constructor.
2026-03-10 11:17:17 +01:00
Moonchild
3b088af0b1
Issue #2987 - Part 6: Add IIRFilterNode constructor.
2026-03-10 11:17:12 +01:00
Moonchild
09e52646e9
Issue #2987 - Part 5: Add BiQuadFilterNode constructor.
2026-03-10 11:17:07 +01:00
Moonchild
26ca6f4fcc
Issue #2987 - Part 4: Add DelayNode constructor.
2026-03-10 11:17:02 +01:00
Moonchild
b467d710ac
Issue #2987 - Part 3: Add GainNode constructor.
2026-03-10 11:16:56 +01:00
Moonchild
f4f11fada8
Issue #2987 - Part 2: Add AudioBufferSourceNode constructor.
2026-03-10 11:16:49 +01:00
Moonchild
43b3b47426
Issue #2987 - Part 1: Add AnalyserNode constructor.
2026-03-10 11:16:43 +01:00
Moonchild
77f8cae06e
Issue #2978 - Avoid empty replacements in macro expansion.
...
If the replacements array is empty, don't attempt to do any work on the
existing macro, and return. This should prevent infinite recursion in
some cases.
Order matters here: we're relying on the `if` statement shortcut so
`collectMacroArgs()` doesn't get called.
2026-03-09 16:04:57 +01:00
Moonchild
14122475be
Issue #2981 - Add nullcheck in GetPointerCapabilities (uplift)
...
Uplift to release.
2026-03-09 11:32:39 +01:00
Moonchild
daa31cfd59
No issue - Fix some fatal printing assertions.
...
- Turn a fatal assert into a warning if we can't guarantee a drawTarget.
This should not be fatal since the DrawTarget is checked later.
- Remove a fatal assertion if a display table background is cross-document
since non-display iframes may cause this situation without it being an
error.
2026-03-09 11:30:38 +01:00
Moonchild
b4ad4b7293
Issue #2981 - Add nullcheck in GetPointerCapabilities
...
Resolves #2981
2026-03-09 11:27:25 +01:00
Moonchild
a2947909e8
Merge pull request 'Issue #2982 - Implement oklab/oklch' ( #2983 ) from Basilisk-Dev/UXP-contrib:oklab-oklch into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2983
2026-03-08 07:27:26 +00:00
Moonchild
bc2d0521e7
Merge pull request 'Implement ES2022 error.cause property' ( #2984 ) from dbsoft/UXP:error-cause-2304 into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2984
2026-03-07 21:17:22 +00:00
Moonchild
95ca42dd06
Merge pull request 'Handle special cases for certain MacOS system fonts.' ( #2985 ) from dbsoft/UXP:mac-variation-fonts into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2985
2026-03-07 21:00:44 +00:00
Brian Smith
0c0dfca015
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-07 01:41:07 -06:00
Brian Smith
17cd2e4d07
Issue #2304 - Part 4 - Add xray support for the Error cause property.
...
https://bugzilla.mozilla.org/show_bug.cgi?id=1679653
2026-03-07 01:17:18 -06:00
Brian Smith
f305547835
Issue #2304 - Part 3 - Implement the error cause proposal.
...
https://bugzilla.mozilla.org/show_bug.cgi?id=1679653
2026-03-07 00:41:42 -06:00
Brian Smith
5ee86104a8
Issue #2304 - Part 2 - Prerequisite: Teach GCPolicy about Maybe.
...
https://bugzilla.mozilla.org/show_bug.cgi?id=1377008
2026-03-06 23:47:55 -06:00
Basilisk-Dev
0ab247bee9
Issue #2982 - Fix regressions in the previous regression fix commit.
2026-03-06 16:27:12 -05:00
Basilisk-Dev
5370edc560
Issue #2982 - Fix regression in previous commit by handling possible floating point issues
2026-03-06 16:27:12 -05:00
Basilisk-Dev
f27b6cbd21
Issue #2982 - clamp oklab/oklch to [0,1] before conversion to closer match spec
2026-03-06 16:27:12 -05:00
Basilisk-Dev
de3485ed67
Issue #2982 - Make gradients work in oklch
2026-03-06 16:27:12 -05:00
Basilisk-Dev
7f8489bc11
Issue #2982 - Initial oklch test implementation
2026-03-06 16:27:07 -05:00
Brian Smith
8c1cf4cc02
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-06 13:13:21 -06:00
Moonchild
b8fbac6365
Merge pull request 'Futureproof Internal ICU Whitespace' ( #2980 ) from RealityRipple/UXP:alt-space-ex into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2980
2026-03-06 12:53:00 +00:00
Andy
c7cc4ef650
Support All White Spaces in ICU Replacement from PR #2921
...
In case Unicode adds additional alternate spaces to formats in the future, the wsCompat argument will be ready.
I also switched over to the `u_isUWhiteSpace` alias, which is functionally identical to `UCHAR_WHITE_SPACE` at present, just in case the alias ever expands beyond the const.
2026-03-06 03:36:27 -08:00
Moonchild
9d1789b62f
Merge pull request 'Stop exposing plugin preferences if support isn't built' ( #2975 ) from 2879 into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2975
2026-03-06 09:52:50 +00:00
Moonchild
9a1c99e1a2
Issue #2879 - Stop exposing additional prefs
...
This stops exposing some additional preferences that are NPAPI-only.
2026-03-06 09:44:41 +01:00
Moonchild
abc435f18e
Merge pull request 'Futureproof ParseDate Whitespace' ( #2979 ) from RealityRipple/UXP:alt-space into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2979
2026-03-06 08:38:44 +00:00
Andy
2e6dab8672
Support Unicode White Spaces in ParseDate()
2026-03-05 17:32:10 -08:00
Moonchild
e0b95b12da
Merge pull request 'Implement ES2018 Proxy ownKeys duplicate-key invariant and update affected conformance tests.' ( #2977 ) from Basilisk-Dev/UXP-contrib:es2018-proxy-updates into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2977
2026-03-04 17:19:08 +00:00
Basilisk-Dev
722ecd0d97
Issue #2976 - Implement ES2018 Proxy ownKeys duplicate-key invariant and update affected conformance tests.
2026-03-04 10:37:58 -05:00
Moonchild
e72cc38641
Issue #2879 - Remove obsolete crash reporter prefs.
2026-03-04 15:31:41 +01:00
Moonchild
ae227b8743
Issue #2879 - Do not expose plugin-specific prefs if support isn't built.
...
- Puts prefs behind conditional defines
- Removes obsolete plugin finder pref
- Removes obsolete unrestricted xpconnect plugin pref
2026-03-04 14:54:13 +01:00
Moonchild
a268e57967
Merge pull request 'Issue #2957 - make WeakRefObject finalize on main thread (no background finalize)' ( #2973 ) from Basilisk-Dev/UXP-contrib:weakref-crash into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2973
2026-03-04 11:11:57 +00:00
Moonchild
9f05dad78c
Merge pull request 'Fix clang builds on 32-bit ARM Linux.' ( #2972 ) from dbsoft/UXP:clang-arm-linux into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2972
2026-03-04 11:10:57 +00:00
Basilisk-Dev
ba0112d574
Issue #2957 - make WeakRefObject finalize on main thread (no background finalize)
2026-03-02 00:01:39 -05:00
Moonchild
d881e7ed56
Merge branch 'master' into release
2026-03-01 23:37:59 +01:00
Moonchild
5b449bc031
Merge pull request 'Issue #2551 - toSorted followup to be 100% ECMA compliant' ( #2971 ) from Basilisk-Dev/UXP-contrib:toSortedSpec into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2971
2026-03-01 21:54:23 +00:00
Basilisk-Dev
b823c130c1
Issue #2551 - toSorted followup to be 100% ECMA compliant
2026-03-01 16:33:09 -05:00
Moonchild
437d9da605
Merge pull request 'Implement ES2023 array.Prototype.toReversed()' ( #2970 ) from Basilisk-Dev/UXP-contrib:toReversed into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2970
2026-03-01 19:07:21 +00:00
Basilisk-Dev
f49a57006f
Issue #2551 - Implement ES2023 array.Prototype.toReversed()
2026-02-28 16:34:04 -05:00
Brian Smith
18096194f5
No Issue - Fix clang builds on 32-bit ARM Linux.
...
The clang integrated assembler can't handle these files.
2026-02-28 11:45:35 +00:00
Moonchild
9b0054c55f
Merge branch 'master' into release
2026-02-27 19:28:35 +01:00
Job Bautista
8ca0f22841
Issue #2903 - Follow-up: Make types consistent with method used.
...
Fixes inconsistent use of XML_Error, uint32_t and int32_t.
2026-02-27 18:48:06 +01:00
Moonchild
baeae97784
Merge branch 'master' into release
2026-02-27 07:08:35 +01:00
Brian Smith
b4e9888d91
No Issue - Handle special cases for MacOS system fonts.
...
Work done by Jazzzny based on the following bugs:
https://bugzilla.mozilla.org/show_bug.cgi?id=1321031
https://bugzilla.mozilla.org/show_bug.cgi?id=1349308
Example page:
http://codepen.io/dangayle/pen/RpMVqY
2026-02-26 19:14:46 -06:00
Moonchild
30b01396b4
Merge pull request 'Update libtheora to 1.2.0' ( #2966 ) from jobbautista9/UXP:theora-1.2.0 into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2966
2026-02-26 21:29:17 +00:00
Moonchild
9343129fbb
Merge pull request 'Follow up to address libvpx issues on older MacOS and PowerPC platforms.' ( #2969 ) from dbsoft/UXP:libvpx-mac-fixes into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2969
2026-02-26 20:34:19 +00:00
Moonchild
e79ddda9de
No issue - Fix build issue.
...
Unified build deprot on some targets causing issues with the recently
added `mozilla:KnownNotNull` without this header.
2026-02-26 20:15:45 +01:00
Moonchild
f84c92881d
[parser] Account for some corner-case structural document issues.
2026-02-26 09:48:23 +01:00
Moonchild
aeafa7fef8
[MFBT] Reduce size() calls in subspan.
2026-02-26 08:21:45 +01:00
Moonchild
ff3db332fe
[libjar] Throw when we know a file was truncated.
2026-02-26 07:51:57 +01:00
Brian Smith
68d53612af
Issue #2925 - Follow-up: Fix Mac Intel and PowerPC 10.5-10.11 builds.
...
clock_gettime() is not available prior to 10.12, so use Mach's clock_get_time().
pthread_setname_np() is not available prior to MacOS 10.6, so guard that.
libvpx does not support big endian, so only use VPX acceleration on ppc64le.
2026-02-25 23:35:33 -06:00
Moonchild
0fb9b4abbf
[WebAudio] Gracefully handle mid-stream audio changes.
2026-02-26 00:03:19 +01:00
Moonchild
ab442f72b9
Merge pull request 'Issue #2925 followup 2 - Restore previous GlobalFree behavior from before SCTP upgrade in sctp_bsd_addr.c' ( #2968 ) from Basilisk-Dev/UXP-contrib:sctp-followup-2 into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2968
2026-02-25 19:49:05 +00:00
Moonchild
b85d16b615
[WebRTC] Ensure valid image size.
...
Extremely small encoded image sizes should be considered corrupt data.
Drive-by improvement: make sure to cast the encoded image data length
to uint32_t for use with `CreateEmptyFrame`
2026-02-25 20:01:52 +01:00
Moonchild
cc7d9550bc
No issue - Modernize nsWindowWatcher
...
Get rid of old hacky conditional code and use weak references.
2026-02-25 18:48:56 +01:00
Basilisk-Dev
bc2d2edbef
Issue #2925 followup 2 - Restore previous GlobalFree behavior from before SCTP upgrade in sctp_bsd_addr.c
2026-02-25 12:29:13 -05:00
Moonchild
bc5c6c7563
[WASM] Make sure to assign module
2026-02-25 17:13:33 +01:00
Moonchild
0d971f0c5a
[WASM] Improve WasmModuleObject handling in WasmJS.cpp
2026-02-25 16:45:20 +01:00
Moonchild
99d225ae7f
Merge pull request 'Issue #2925 followup - Fix intermittent Windows crashes after SCTP upgrade' ( #2967 ) from Basilisk-Dev/UXP-contrib:2925-sctp-followup into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2967
2026-02-25 13:59:07 +00:00
Moonchild
4bb7951324
No issue - Don't assign non-live hash table entry.
...
The problem here is that we use move assignment on a hash table entry that
is not live. Although all entries are constructed by
`HashTable::createTable`, they may subsequently be destroyed by
`HashTableEntry::destroyStoredT()`.
Therefore it is not safe to call any methods on a non live entry.
This causes a problem for GC barrier wrappers which assume that the object
state is valid (and presumably anything that does more than just write the
assigned data into memory).
The fix is to construct a new entry in-place.
Based on work by Jon Coppeard <jcoppeard@mozilla.com > in Bug 2009608
2026-02-25 14:53:42 +01:00
Basilisk-Dev
20c29f74b4
Issue #2925 followup - Fix intermittent Windows crashes after SCTP upgrade
2026-02-25 08:30:18 -05:00
Job Bautista
d9a4414ef0
Issue #2965 - Update libtheora to 1.2.0.
2026-02-25 20:55:00 +08:00
Moonchild
56be1ceaef
Merge branch 'master' of https://repo.palemoon.org/MoonchildProductions/UXP
2026-02-24 20:28:44 +01:00
Moonchild
fd0ddefa03
Merge pull request 'Issue #2925 - Uprade libvpx to 1.16.0' ( #2963 ) from Basilisk-Dev/UXP-contrib:libvpx-upgrade into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2963
2026-02-24 19:27:39 +00:00
Brad Werth
00e3d12e1d
[gfx] Use gzip stream total_out for SVG document parsing.
...
With this change, the assert is no longer necessary, because the stream
tells us how many elements to process.
2026-02-24 19:15:41 +01:00
Moonchild
0324bfa219
Re-sync master to release.
...
Post-merge synchronization to bypass rebase-shenanigans after backouts.
2026-02-24 17:25:53 +01:00
Basilisk-Dev
3a81d02c0f
Issue #2925 - Fix Windows x64
2026-02-24 09:34:18 -05:00
Basilisk-Dev
5fbb929250
Issue #2925 - Work around x86 bug in libvpx
2026-02-24 09:33:16 -05:00
Moonchild
b279fd025b
Merge branch 'master' into release
...
# Conflicts:
# js/src/jit/CodeGenerator.cpp
# js/src/jit/arm/Lowering-arm.cpp
# js/src/jit/arm64/Lowering-arm64.cpp
# js/src/jit/mips32/Lowering-mips32.cpp
# js/src/jit/mips64/Lowering-mips64.cpp
# js/src/jit/shared/LIR-shared.h
# js/src/jit/x64/Lowering-x64.cpp
# js/src/jit/x86/Lowering-x86.cpp
# mfbt/Xoroshiro128PlusPlusRNG.h
# parser/expat/lib/xmlparse.c
2026-02-24 14:37:42 +01:00
Moonchild
4cb28647fe
Merge pull request 'Text Cluster Optimization' ( #2962 ) from RealityRipple/UXP:better-grapheme into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2962
2026-02-24 09:45:51 +00:00
Basilisk-Dev
002240592a
Issue #2925 - Upgrade libvpx to 1.16.0
2026-02-23 16:10:38 -05:00
Andy
8f95d938d5
Optimize ClusterIterator::Next
...
This is based on BZ 1820504, which notes that running `GetEmojiPresentation()` before checking `prevWasZwj` adds load time to all text, as opposed to more efficiently making `prevWasZwj` the precursor to categorizing the character.
The original patch uses an enum for `baseIsEmojiStatus`; I figured I'd simplify things with numeric values (0 = unset, 1 = yes, 2 = no).
2026-02-23 11:02:02 -08:00
Moonchild
c66294c51a
Merge pull request 'Issue #2925 - Upgrade usrsctp library to latest version' ( #2948 ) from Basilisk-Dev/UXP-contrib:sctp-upgrade into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2948
2026-02-22 15:50:40 +00:00
Moonchild
abc96cf444
No issue - Fix cairo warnings
...
This fixes warning spew because warnings are thrown in case of mixed use
of cairo_status_t and cairo_int_status_t, which is a hack in cairo
because C99 doesn't support real enums (it's mapped to uint8 internally).
The "register" storage type is no longer a thing in C++17, which would
also warn; just letting the compiler decide is best, so just removing
the keyword is the proper solution in cairoint.h
2026-02-22 14:20:37 +01:00
Moonchild
a3019dddc1
Merge pull request 'Implement HTMLFormElement.requestSubmit(element)' ( #2956 ) from 2955 into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2956
2026-02-22 09:46:55 +00:00
Moonchild
bd03f965a3
Issue #186 - Follow-up: Remove AIX references from moz.build.
...
This should not be kept around because AIX is not a valid OS_TARGET.
2026-02-22 07:06:12 +01:00
Moonchild
358d39d4bf
Merge pull request 'Remove remaining AIX specific code' ( #2960 ) from 186 into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2960
2026-02-22 05:59:51 +00:00
Moonchild
77571794a3
Merge pull request 'Remove iOS support' ( #2959 ) from 190 into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2959
2026-02-22 05:58:29 +00:00
Jeremy Andrews
a935ef810c
Issue #186 - Remove AIX references from moz.build.
...
This should not be kept around because AIX is not a valid OS_TARGET and I've seen mach fail at least once because of these. Meant to clean them up years ago.
2026-02-21 15:43:48 -06:00
Moonchild
eb731d1377
Issue #186 - Remove various AIX leftovers in 1st party code.
2026-02-21 21:30:08 +01:00
Moonchild
c275325fbf
Issue #186 - Remove an ancient workaround for AIX.
...
This was missed before in a rather typical "do it 3/4 of the way" fashion.
2026-02-21 21:11:38 +01:00
Moonchild
84da3d4817
Issue #190 - Fix incorrectly applied patch.
...
For some reason the rebase removed the endif in the wrong place...
2026-02-21 19:23:42 +01:00
Jeremy Andrews
c868ea1f58
Issue #190 - Remove MOZ_IOS conditional code and ios.m4
2026-02-21 18:58:35 +01:00
Jeremy Andrews
d5e385dc73
Issue #190 - Remove UIKit conditional code.
2026-02-21 18:55:44 +01:00
Moonchild
d49758ace1
Issue #2955 - Implement form.requestSubmit(element)
2026-02-20 09:57:46 +01:00
Moonchild
f3ee6e294f
Merge pull request 'Ensure decoding the first frame of a video always succeeds' ( #2954 ) from jobbautista9/UXP:mFirstFrameTime into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2954
Reviewed-by: Moonchild <moonchild@palemoon.org >
2026-02-19 16:54:03 +00:00
Job Bautista
dea96fe9d3
Issue #2949 - Part 2 Follow-up: Check if first frame has been decoded for software fallback.
...
Now that we can check if the first frame has been decoded thanks to Issue #2953
we should ensure that the first frame actually has not been decoded before
checking if the media errored out.
2026-02-20 00:23:31 +08:00
Job Bautista
29a5e8df12
Issue #2953 - Part 4: Don't attempt to skip to next keyframe if there are none.
...
Demuxers don't typically return an error when they don't have a future
keyframe, they return infinity.
2026-02-20 00:23:27 +08:00
Job Bautista
51941fd085
Issue #2953 - Part 3: Assert that no error can occur while an internal seek is pending.
...
An internal seek occurs when we've reached a data gap, EOS or a previous error got skipped.
During this time, the decoder has been either flushed or shut down.
2026-02-20 00:23:21 +08:00
Job Bautista
64ea5dd93a
Issue #2953 - Part 2: Don't attempt to continue decoding if no next keyframe.
...
When we have no future keyframe and an error occurred, we can't skip over
anything and we shouldn't try to simply decode the next video frame; so we
abort early.
2026-02-20 00:23:15 +08:00
Job Bautista
a42d420ee5
Issue #2953 - Part 1: Attempt to decode the first frame again if error occurred.
2026-02-20 00:23:00 +08:00
Basilisk-Dev
060995dfff
Issue #2925 - Incorporate FreeBSD patch from dbsoft after usrsctp upgrade
2026-02-19 07:46:37 -05:00
Moonchild
991bd7b460
Merge pull request 'Update libjxl to 0.11.2 for security fixes and spot fix for Big Endian issue.' ( #2951 ) from dbsoft/UXP:jxl-updates into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2951
2026-02-19 12:00:19 +00:00
Moonchild
db503078d0
Merge pull request 'Allow fallback to software decoding when WMF VP9 hardware decoding fails' ( #2950 ) from jobbautista9/UXP:wmf-vp9-blank-hwa-fix into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2950
2026-02-19 08:42:52 +00:00
Job Bautista
8ee58d2591
Issue #2949 - Part 4: Don't attempt to use WMF VP9 decoder for profiles 1 and 3.
...
The Windows VP9 hardware decoder currently does not support anything else than
profiles 0 and 2 (YUV420) and return garbage when decoding.
We error on those streams allowing to fall back on the ffvp9 software decoder.
2026-02-19 14:31:47 +08:00
Job Bautista
c340a1dcd2
Issue #2949 - Part 3: Add method to read a VP9 profile from a VP9 bitstream
...
We haven't moved BitReader out of stagefright yet (BZ 1417011), but the reader
there works.
2026-02-19 14:27:10 +08:00
Job Bautista
774a6aa4dd
Issue #2949 - Part 2: When hardware decoding fails, fall back to software
...
Unlike the original patch we don't have the infrastructure provided by Mozilla
BZ 1363668 yet to determine if we've decoded the first frame. This is not
required for checking whether we've errored out on hardware decoding though.
2026-02-19 14:22:39 +08:00
Job Bautista
b2566429fc
Issue #2949 - Part 1: Add option to disable hardware decoding.
2026-02-19 14:20:23 +08:00
Basilisk-Dev
f66bcb4f23
Issue #2925 - Upgrade usrsctp library to latest version
2026-02-18 18:34:59 -05:00
Brian Smith
0e7430735e
Issue #2697 & #2051 - Follow-up: Spot fix a JPEG-XL big endian issue.
...
Rewrote the patch from the main branch because it requires newer Highway versions.
Original patch needs Highway Endian and ARM64 MulOdd() Vec128<int32_t> support.
2026-02-18 17:08:33 -06:00
Brian Smith
905c7e8785
Issue #2697 - Follow-up: Update libjxl to 0.11.2 for security updates.
...
Fix tile dimension in low memory rendering pipeline.
CVE-2025-12474 - https://www.cve.org/cverecord?id=CVE-2025-12474
Fix number of channels for gray-to-gray color transform.
CVE-2026-1837 - https://www.cve.org/cverecord?id=CVE-2026-1837
And one security fix without a CVE.
2026-02-18 15:33:19 -06:00
Moonchild
9d91a43142
Merge pull request 'Fix WMF hardware decoding for VP9 and enable it by default' ( #2947 ) from jobbautista9/UXP:wmf-vp9-videomft-fix into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2947
2026-02-17 08:23:02 +00:00
Job Bautista
53bac56f36
Issue #2946 - Enable WMF VP9 decoder by default.
2026-02-17 16:07:14 +08:00
Job Bautista
e85fff2f10
Issue #2946 - Override sample duration if unknown.
...
Based on Mozilla bug 1371290's part 2.
The VP9 decoder doesn't properly set the sample duration, leading to all
samples being marked as having a zero duration. The compositor drops those
frames incorrectly.
2026-02-17 16:03:44 +08:00
Moonchild
839236c912
Merge pull request 'Manual Tibetan Word Wrap' ( #2945 ) from RealityRipple/UXP:tibetan-wrap into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2945
Reviewed-by: Moonchild <moonchild@palemoon.org >
2026-02-17 07:57:34 +00:00
Moonchild
1e3fddbe14
Merge pull request 'Add Special Lithuanian Casing' ( #2943 ) from RealityRipple/UXP:lithuanian-1322992 into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2943
2026-02-17 07:56:04 +00:00
Andy
b5576d1485
Remove Android from Mozilla Import
2026-02-16 14:55:34 -08:00
Andy
524b466197
Nit: Drop clang-format
2026-02-16 14:49:47 -08:00
Moonchild
7d1b245754
Merge pull request 'CLDR Pluralities' ( #2944 ) from RealityRipple/UXP:plural-forms into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2944
Reviewed-by: Moonchild <moonchild@palemoon.org >
2026-02-16 22:31:37 +00:00
Andy
64a0846a1c
Add Manual Tibetan Line Breaking
...
https://bugzilla.mozilla.org/show_bug.cgi?id=1647377
and
https://bugzilla.mozilla.org/show_bug.cgi?id=1736393
2026-02-16 12:57:03 -08:00
Andy
118bd414d4
Add Special Lithuanian Casing
...
https://bugzilla.mozilla.org/show_bug.cgi?id=1322992
2026-02-16 11:10:31 -08:00
Andy
3f319c5f29
Update CLDR Plural Forms
...
Move Macedonian to 15 - https://bugzilla.mozilla.org/show_bug.cgi?id=1415906
Add Shuar (17) - https://bugzilla.mozilla.org/show_bug.cgi?id=1396724
Add Welsh (18) - https://bugzilla.mozilla.org/show_bug.cgi?id=1428366
Add Slavic (19) - https://bugzilla.mozilla.org/show_bug.cgi?id=1533435
2026-02-16 00:58:32 -08:00
Jazzzny
8b06eaa8fc
Issue #2051 - Follow-up: Reverse filter channel order on big-endian.
2026-02-15 17:58:31 +01:00
Moonchild
e62bd7c533
Merge pull request 'Fix for runtime problems with Pale Moon and others on FreeBSD 15.' ( #2942 ) from dbsoft/UXP:freebsd15-rpath-fix3 into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2942
2026-02-14 19:58:49 +00:00
Brian Smith
0839a82f80
Issue Pale-Moon#2009 - Add $ORIGIN to the runtime path on FreeBSD.
...
Following what we do on Solaris, add $ORIGIN using MOZ_FIX_LINK_PATHS.
Also change the mode to copy from symbolic links so it finds the libs.
2026-02-14 11:40:45 -06:00
Moonchild
4cbaf927d9
Bump goanna version
2026-02-14 12:14:29 +01:00
Moonchild
b4f364c385
Merge pull request 'Issue #2229 - Fix assertions in top-level await on x86_64' ( #2941 ) from Basilisk-Dev/UXP-contrib:2229-x86-assert-fix into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2941
2026-02-13 14:50:21 +00:00
Basilisk-Dev
6ede629146
Issue #2229 - Fix assertions in top-level await on x86_64
2026-02-13 09:06:59 -05:00
Moonchild
c684599599
Merge pull request 'Restore MacOS 10.6 32-bit support, WebRTC support on 10.5 and other (Snow) Leopard fixes.' ( #2940 ) from dbsoft/UXP:mac-leopard-fixes2 into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2940
2026-02-13 11:15:22 +00:00
Moonchild
c9bfd79ae0
Merge pull request 'Issue #2229 - Fix debug builds when visiting pages that utilize top-level await' ( #2939 ) from Basilisk-Dev/UXP-contrib:2229-fix-debug into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2939
2026-02-12 19:52:44 +00:00
Basilisk-Dev
6d3f71d200
Issue #2229 - Fix debug builds when visiting pages that utilize top-level await
...
Fix JSOP_AWAIT stack modeling for top‑level await in modules.
Ensure yield/await offsets are emitted for TLA scripts.
Allow interpreter prologue for resumed TLA module frames.
Fix MediaQueryList invariant for onchange handler.
2026-02-12 14:38:25 -05:00
Brian Smith
620e391be7
Issue #1829 - Follow-up Part 8: Add a pref to enable the resize grip/thumb.
...
MacOS prior to Lion 10.7 had an area in the bottom right of the window used for resizing.
With the resize indicator enabled, a grip or thumb is drawn in the corner over the contents.
This may or may not be desirable based on the application. So this preference allows the
application to choose the default which the user can override in about:config using the pref:
ui.mouse.resize_grip
2026-02-11 23:58:12 -06:00
Brian Smith
532a1355ce
Issue #1829 - Follow-up Part 7: Restore support for scrollbar arrows on Leopard and Snow Leopard.
2026-02-11 18:02:20 -06:00
Brian Smith
03367d9c41
Issue #2051 - Follow-up Part 3: Fix ycbcr display issues on Big Endian.
2026-02-11 15:35:55 -06:00
Brian Smith
6ebd205c8e
Issue #1829 - Follow-up Part 6: Fix font recursion problems on Leopard and Snow Leopard.
2026-02-11 15:35:55 -06:00
Brian Smith
7276ea00a7
Issue #1829 - Follow-up Part 5b: Remove Radeon X1000 from the block list.
...
This is reported working.
2026-02-11 15:35:55 -06:00
Brian Smith
7a5c56bc58
Issue #1829 - Follow-up Part 5a: Add Getforce FX to the MacOS block list.
2026-02-11 15:35:55 -06:00
Brian Smith
9e064c7045
Issue #1829 - Follow-up Part 5: Update driver blocklist handling for Leopard.
...
Disable WebGL on 10.5.
2026-02-11 15:35:55 -06:00
Brian Smith
6933bfe783
Issue #1829 - Follow-up Part 4: Restore draw in titlebar support for Leopard.
2026-02-11 15:35:55 -06:00
Brian Smith
5e81fb065a
Issue #1829 - Follow-up Part 3: Restore WebRTC support for Leopard.
...
Restore QTKit based video capture for 10.5 which does not have AVFoundation.
Add -fpermissive to CXXFLAGS in the build system for Mac 32-bit PowerPC.
This works around a type issue with Atomic32 and AtomicWord.
These two types should be interchangeable.
2026-02-11 15:35:54 -06:00
Brian Smith
f08b4276ea
Issue #1829 - Follow-up Part 2: Restore 32-bit Intel Mac builds.
...
Add ffvpx configuration for 32-bit Intel Mac.
Replace PPC checks with 10.5 or 10.6 checks.
2026-02-11 15:11:10 -06:00
Brian Smith
45d7dda330
Issue #1829 - Follow-up Part 1: Restore MacOS 10.6 support.
...
Also update Leopard and Snow Leopard scrollbar handling.
Fixes menu icon scaling.
Hide the resize thumb on Leopard and Snow Leopard so it looks the same as Lion.
Fixes from Jazzzny.
2026-02-11 15:11:10 -06:00
Moonchild
a8f1878ff3
Merge pull request 'Issue #2229 Followup - Handle re-entrant module instantiation/evaluation during async module loads' ( #2938 ) from Basilisk-Dev/UXP-contrib:2229-top-level-await-followup into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2938
2026-02-11 16:30:22 +00:00
Basilisk-Dev
d0ec80aa86
Issue #2229 Followup - Handle re-entrant module instantiation/evaluation during async module loads
2026-02-11 09:46:46 -05:00
Moonchild
a9257dea7d
Merge pull request 'Implement pointer and hover @media queries' ( #2935 ) from pointer-hover-mediaqueries into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2935
2026-02-10 21:19:31 +00:00
Moonchild
af5d12a154
Merge pull request 'Implement top level await functionality' ( #2937 ) from Basilisk-Dev/UXP-contrib:2229-top-level-await into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2937
2026-02-10 21:17:11 +00:00
Basilisk-Dev
fb4ebd7838
Issue #2229 - Add top level await tests
2026-02-10 14:59:26 -05:00
Basilisk-Dev
7ace23060a
Issue #2229 - Add comment regarding JIT to top level await code
2026-02-10 14:59:26 -05:00
Basilisk-Dev
19504eed91
Issue #2229 - add better comments on top level await code
2026-02-10 14:59:26 -05:00
Basilisk-Dev
7c72b41e2c
Issue #2229 - Initial implementation of top level await functionality
2026-02-10 14:59:04 -05:00
Moonchild
6fc971d8c0
Issue #2909 - Fix build issues when targeting Windows 7.
...
Despite Windows 7 supporting Tablet Mode and screen orientation just fine
(I had a Win 7 tablet PC back when), Microsoft decided that starting with
the Windows SDK 10.0.22621.0, the enum and types for auto-rotation should
no longer be defined, so we have to define them ourselves.
2026-02-07 13:27:39 +01:00
Moonchild
a410f9e553
Issue #2909 - Base implementation of media interaction features.
...
This implements `hover`, `pointer`, `any-hover` and `any-pointer` and
the values `course`/`fine` (pointer) and `hover`.
A best effort is made to get capabilities from the system but if unknown
always falls back to assuming a mouse is present.
2026-02-07 13:24:34 +01:00
Moonchild
a00f48f894
Merge pull request 'Solve imgLoader crashes' ( #2929 ) from imgLoader-crash-work into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2929
2026-02-07 08:31:08 +00:00
Moonchild
699d64c8f3
Merge pull request 'Ensure that CancelAndForgetObserver removes itself from the cache validator' ( #2933 ) from mittorn/UXP:2932 into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2933
2026-02-07 08:00:05 +00:00
mittorn
c6bc9d5a8c
Issue #2932 - Ensure that imgRequestProxy::CancelAndForgetObserver removes itself from the cache validator
...
https://hg-edge.mozilla.org/releases/mozilla-beta/rev/af82d0c33427
2026-02-06 23:14:54 +00:00
Moonchild
e96431e1c1
Merge pull request 'Issue #2551 Part 1 - Implement ES2023 array.prototype.toSorted()' ( #2931 ) from Basilisk-Dev/UXP-contrib:array-to-sorted into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2931
Reviewed-by: Moonchild <moonchild@palemoon.org >
2026-02-06 14:20:36 +00:00
Basilisk-Dev
773aa9dcc3
Issue #2551 - comment toSorted implementation
2026-02-06 06:54:54 -05:00
Moonchild
998086ca31
No Issue - Remove redundant OS check for toolkit/fonts
...
This is already guarded by MOZ_BUNDLED_FONTS one level higher and blocks
--enable-bundled-fonts from working on other OSes
2026-02-06 10:44:03 +01:00
Basilisk-Dev
7abbbc6cf4
Issue #2551 - Add toSorted test and do some final tweaks to toSorted to be compliant
2026-02-05 10:33:42 -05:00
Basilisk-Dev
1873f5df88
Issue #2551 - Ensure toSorted is 100% spec compliant per multiple tests
2026-02-05 09:53:39 -05:00
Moonchild
f39980b4c7
Issue #2928 - Add extra checks to nsExpirationTracker.
...
Turn some asserts into early exits and add sanity checks.
Also check main thread access for the fake mutex and report.
2026-02-05 13:44:21 +01:00
Basilisk-Dev
40ac200988
Issue #2551 - Initial attempt at toSorted implementation
2026-02-04 09:55:14 -05:00
Moonchild
4344b62a3a
Issue #2928 - Improve imgLoader cache queue handling.
...
- Convert the imgCacheQueue to nsTArray from Vector
- Avoid marking the queue dirty when element operations are performed
that don't upset the sort order. This should improve performance as well.
2026-02-04 09:40:22 +01:00
Moonchild
3267ae2ef7
Issue #2928 - Avoid searching the image cache queue for an entry after we just popped it off the queue.
2026-02-04 09:07:23 +01:00
Moonchild
1eb24b9f9c
Issue #2928 - Always refresh dirty queue.
2026-02-03 10:17:19 +01:00
Moonchild
a9e11bdca7
Issue #2928 - Re-order imgLoader::RemoveFromCache
...
Remove from tracker first before removing from cache, and if the cache
queue is dirty, refresh it (causes a re-heap) before manipulating further.
2026-02-03 08:51:06 +01:00
Moonchild
02fb8a4ca3
Issue #2928 - Check mCacheQueue size before removing entries.
...
Resolves #2928
2026-02-03 08:10:37 +01:00
Moonchild
d62f6b37bf
Revert "Issue #2928 - Check mCacheQueue size before removing entries."
...
This reverts commit aaae14d111 .
2026-02-03 07:52:14 +01:00
Moonchild
aaae14d111
Issue #2928 - Check mCacheQueue size before removing entries.
...
Resolves #2928
2026-02-02 18:43:28 +01:00
Moonchild
672c153d73
No issue - Enable performance observers by default in the platform.
...
Performance observers have shown to be stable in daily use, so we should
enable this by default. Any applications building on UXP can decide for
themselves whether to explicitly enable or disable this API.
2026-02-01 19:26:11 +01:00
Basilisk-Dev
a1a2a6f9ce
Issue #2403 - Implement SubmitEvent functionality ( #2919 )
...
# Summary
Added SubmitEvent support (constructor, submitter attribute) and wired form submit events to produce SubmitEvent instances.
Implemented SubmitEvent DOM class, WebIDL, and build hooks.
Added a test file (logs to console).
# Notes
Form submissions already carry the originating control in `InternalFormEvent::mOriginator`, so `SubmitEvent.submitter` can be populated directly from the existing event data without invasive changes to form submission logic.
`EventDispatcher` now returns `SubmitEvent` specifically for `eFormSubmit`, keeping other form events (e.g., reset) unchanged.
`event.submitter` is set for user-initiated submits via the originating submit control.
`new SubmitEvent("submit", { submitter })` returns the provided submitter (or `null` if omitted).
# Ways to test
Go to repo.palemoon.org. You will no longer see the message `This browser doesn't have "SubmitEvent" support, use a tricky method to polyfill` in the console. The site will work as expected without loading this polyfill anymore.
Go to GitHub. You will now be able to mark notifications as read.
Open the test file submitted in this PR. You will see the results of the test in the browser console.
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2919
Co-authored-by: Basilisk-Dev <basiliskdev@protonmail.com >
Co-committed-by: Basilisk-Dev <basiliskdev@protonmail.com >
2026-01-29 00:40:09 +00:00
Moonchild
006caf963a
Merge pull request 'More fixes for MacOS 10.5 and PowerPC' ( #2907 ) from WolfReiser/UXP:master into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2907
2026-01-28 22:35:33 +00:00
Moonchild
b314539aa8
Merge pull request 'Issue #2351 - Fix WebRTC video encode/decode on MacOS/Linux/Windows' ( #2920 ) from Basilisk-Dev/UXP-contrib:webrtc-fix-video into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2920
2026-01-28 22:32:54 +00:00
Moonchild
aac26aa7fa
Merge pull request 'Return Standard Space to Formatted Times with Day Periods' ( #2921 ) from RealityRipple/UXP:space-time into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2921
2026-01-28 22:24:32 +00:00
Andy
aefe484468
Whitespace Compatibility for ICU 72+
...
ICU replaced the space prefixing the period with a narrow, non-breaking space, and occasionally, a thin space.
Until the rest of the world's scripts are ready to support this new convention, we un-replace these two whitespace characters with spaces again, but only in formatted dates and times.
This is not an ideal solution, as it could be possible that a custom format using one or both of these characters may be requested intentionally elsewhere in the string, but for now, this appears to be what other browsers do, so we're at least in parity with their edge case behavior.
2026-01-28 13:49:42 -08:00
Basilisk-Dev
f9b633adcd
MoonchildProductions/UXP#2351 - Fix webrtc for Windows and Linux based on MacOS fix
2026-01-28 09:15:19 -05:00
Basilisk-Dev
a5f3d76fda
MoonchildProductions/UXP#2351 - Fix webrtc video encoding on macos
2026-01-28 00:58:06 -05:00
Moonchild
2098629f2d
Issue #2895 - Follow-up: Fix whitespace. (no code changes)
...
The Xoroshgiro128++ MFBT header file was initially committed with CRLF.
2026-01-27 11:45:55 +01:00
Moonchild
c67dc90bb8
Issue #2895 - Implement 32-bit compatible Xoroshiro128++
...
This puts in a reduced-register version of Xoroshiro128++ which /just/
fits in our x86 7-register space by making use of an extra mState to
temporarily store the result to be passed back.
Resolves #2895
2026-01-27 11:43:43 +01:00
Moonchild
69945a779c
Merge pull request 'Update eventPtr/eventEndPtr for XML_ParseBuffer' ( #2918 ) from FranklinDM/UXP-contrib:work_expat-2_7_3-xmlparse-fix into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2918
2026-01-27 07:28:31 +00:00
Francis Dominic Fajardo
f8de26bf0c
Issue #2889 - Follow-up: Add patch for XML_ParseBuffer.
2026-01-26 23:43:21 +08:00
Francis Dominic Fajardo
603cc43e14
Issue #2889 - Follow-up: Update eventPtr/eventEndPtr for XML_ParseBuffer
2026-01-26 23:43:21 +08:00
Moonchild
4b4d734897
Merge pull request 'Restore the ability to set a default log level when using MOZ_LOG' ( #2917 ) from FranklinDM/UXP-contrib:work_log-restore-default-log-level-support into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2917
2026-01-26 12:14:40 +00:00
Moonchild
cb629d38aa
Merge pull request 'Issue #2911 - Add optional mimalloc allocator support (build-time)' ( #2910 ) from Basilisk-Dev/UXP-mimalloc:master into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2910
2026-01-26 12:14:04 +00:00
Francis Dominic Fajardo
07b05ebc21
Issue #2916 - Restore the ability to set a default log level when using MOZ_LOG
2026-01-26 19:04:37 +08:00
Francis Dominic Fajardo
f31546817a
Issue #2828 - Follow-up: Simplify rule node tracking and ensure rule walker state isn't reset for the first child processor (uplift)
...
Styles contained in NAC shouldn't be tracked with their own rule node (as opposed to what was done in https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2859 ) because it causes precedence issues. This should now more closely imitate the original behavior where NAC and regular document styles (at least, the "unlayered" layer) are grouped together.
This also gets rid of the manual last rule node checks against null, since they are now consistently handled by the separate function.
2026-01-25 14:44:49 +01:00
Moonchild
6debbcd228
Merge pull request 'Follow-up: Simplify rule node tracking and ensure rule walker state isn't reset for the first child processor' ( #2915 ) from FranklinDM/UXP-contrib:work_css-simplify-rn-tracking-no-reset into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2915
2026-01-25 10:30:32 +00:00
Francis Dominic Fajardo
6258c24c8c
Issue #2828 - Follow-up: Simplify rule node tracking and ensure rule walker state isn't reset for the first child processor
...
Styles contained in NAC shouldn't be tracked with their own rule node (as opposed to what was done in https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2859 ) because it causes precedence issues. This should now more closely imitate the original behavior where NAC and regular document styles (at least, the "unlayered" layer) are grouped together.
This also gets rid of the manual last rule node checks against null, since they are now consistently handled by the separate function.
2026-01-25 16:49:55 +08:00
Moonchild
b5a5ea161a
Issue #2895 - Follow-up: adjust jit on 32-bit platforms to use Xorshift
...
The jit assembly implementation of Xoroshiro128++ on 64-bit platforms is
unsuitable for 32-bit because it requires more registers than our jit
can reasonably provide (7 usable/8 total), causing run-time issues.
As a workaround for this, this commit splits the jit version of PRNG up
into Xorshift128+ for 32-bit targets and Xoroshiro128++ everywhere else.
The C++ version in MFBT remains Xoroshiro128++ on all platforms.
While not ideal, the PRNG on 32-bit will still be suitably performant and
with small enough deviations for all practical purposes in Math.random()
in JavaScript. Since this is a PRNG, there are no concerns about
reproducibility of results, only proper statistical distribution of values.
Also some drive-by corrections to comments in MFBT:
- Incorrect statement that the period is 2^256-1. It is 2^128-1
- More readable comments by using standard operator characters for power.
Resolves #2895 (again)
2026-01-24 14:50:57 +01:00
Moonchild
1462612e3c
Issue #2914 - Explicitly allow mixed content websockets on localhost.
...
This carves out an exception for hard-coded loopback addresses to allow
`ws:` connections from `https:` to allow mixed-mode from secure pages.
Resolves #2914
2026-01-23 23:09:58 +01:00
Basilisk-Dev
75d0cedb1a
Incorporate patch by dbsoft to fix mimalloc build on freebsd
2026-01-21 16:41:08 -05:00
Moonchild
f272382a9c
Revert "Issue #2895 - Part 1: Replace XorShift128+ with Xoroshiro128++"
...
This reverts commit c90df0c332 .
2026-01-21 10:18:46 +01:00
Moonchild
aa8af9d7f8
Revert "Issue #2895 - Part 2: Remove incorrect debug asserts."
...
This reverts commit 97786271f9 .
2026-01-21 10:18:38 +01:00
Moonchild
e1f03ae019
Revert "Issue #2895 - Part 1b: Update license block."
...
This reverts commit 12821ae90a .
2026-01-21 10:18:08 +01:00
Moonchild
f316bc6535
Revert "Issue #2895 - Follow-up: Fix JIT code generator for 32-bit targets."
...
This reverts commit 8112ed2e6c .
2026-01-21 10:17:51 +01:00
Moonchild
82e4c66520
Revert "Issue #2889 - Part 0: Relocate Mozilla-specific files from Expat source."
...
This reverts commit f93d0fadf2 .
2026-01-21 10:04:52 +01:00
Moonchild
3c923e0467
Revert "Issue #2889 - Part 1: Prepare Mozilla's changes and extensions for Expat 2.6.4."
...
This reverts commit 6c7850482f .
2026-01-21 10:04:44 +01:00
Moonchild
866985ac88
Revert "Issue #2889 - Part 2: Import Expat 2.6.4 source."
...
This reverts commit e7cacf4642 .
2026-01-21 10:04:37 +01:00
Moonchild
ba772b40ad
Revert "Issue #2889 - Part 3: Apply Mozilla's patches to Expat 2.6.4."
...
This reverts commit 2ae8833092 .
2026-01-21 10:04:29 +01:00
Moonchild
7a86f0e1b7
Revert "Issue #2889 - Part 4: Fix build and runtime issues."
...
This reverts commit ef1532cab2 .
2026-01-21 10:04:22 +01:00
Moonchild
7e9286f2d8
Revert "Issue #2889 - Follow-up: Avoid conflicts with system version of libexpat"
...
This reverts commit e284ffab6c .
2026-01-21 10:04:14 +01:00
Moonchild
b0d1e365ec
Revert "Issue #2889 - Follow-up: void methods shouldn't return a value."
...
This reverts commit 647a1ab5f0 .
2026-01-21 10:04:07 +01:00
Moonchild
dbd5a2cbf4
Revert "Issue #2889 - Part 5: Rewrite patches for Expat 2.7.3."
...
This reverts commit 0f1faad9a3 .
2026-01-21 10:03:58 +01:00
Moonchild
d60fb1d5c0
Revert "Issue #2889 - Part 6: Import Expat 2.7.3 source."
...
This reverts commit 627fdf8fe4 .
2026-01-21 10:03:49 +01:00
Moonchild
29c91fcdba
Revert "Issue #2889 - Part 7: Apply patches to Expat 2.7.3."
...
This reverts commit 112abdc25a .
2026-01-21 10:03:40 +01:00
Moonchild
fe65674f3f
Revert "Issue #2889 - Follow-up: Allow generate_hash_secret_salt to be used."
2026-01-21 10:03:24 +01:00
Moonchild
a3a6b5ed7e
Revert "Issue #2889 - Follow-up: Adjust Expat 2.7.3 local patches for removal of 3rd patch."
...
This reverts commit 073378ec92 .
2026-01-21 10:01:44 +01:00
Moonchild
d2de8658a7
Revert "Issue #2889 - Follow-up: Remove fix for BZ 569229."
...
This reverts commit a22613d3e0 .
2026-01-21 10:01:37 +01:00
Basilisk-Dev
f660e617a3
Fix issues with Windows segfaulting when building with mimalloc
2026-01-19 00:15:52 -05:00
Basilisk-Dev
a454e08683
Define MI_WIN_NOREDIRECT on Windows to avoid linker error
2026-01-16 22:08:13 -05:00
Basilisk-Dev
5bbc63d590
Update mimalloc readme
2026-01-16 22:06:14 -05:00
Moonchild
be785b4783
Merge branch 'master' into release
...
This resyncs platform to master, overwriting more recent backouts from
the release branch.
2026-01-16 23:16:32 +01:00
Basilisk-Dev
b514d09a14
Fix segfaults when running with mimalloc on Linux
2026-01-16 16:42:19 -05:00
Basilisk-Dev
d828b69cd1
Fix building mimalloc in Linux
2026-01-16 14:40:22 -05:00
Basilisk-Dev
067ec2edd4
Add mimalloc as optional allocator
...
Vendors mimalloc sources and adds --enable-mimalloc as a mutually exclusive alternative to jemalloc, wiring it through mozalloc/mozglue and build config.
2026-01-16 11:42:28 -05:00
Sergey Larin
01719ee5c5
Fix crash in nsContainerFrame::GetChildLists on 32-bit Big Endian platforms
...
Happens when going into fullscreen when playing a video.
There is a conflict between reinterpret_cast and memcpy
when using uint64_t as a storage. When memcpy'ing a pointer
into uint64_t value, and then reinterpret_cast'ing it back
on Big Endian, you'll get a null pointer value because
pointer was stored in top uint64_t bits, and reinterpret_cast
works on lower bits. Fix makes ReinterpretHelper public -
this is not a good practice to make implementation detail
accessible, but ForEach is already bad anyway providing raw
uint64_t value to the user. I don't think that
std::visit-like interface is possible because there's no
direct link between property and parameter stored. Also
upstream Firefox has this bug too.
2026-01-16 12:37:45 +02:00
Sergey Larin
5e4e7df657
Fix assertion failure in audiounit_close_stream on PPC MacOS
...
Happens when audiostream is destroyed, i.e. when sound
playback stops. This is because stm->mutex should be locked,
as this is checked inside audiounit_close_stream.
2026-01-16 12:37:42 +02:00
Sergey Larin
0c1671073e
Fix crash in trackingAreaView on MacOS 10.5
...
Happens on exit when deallocating trackingAreaView.
Possibly after playing a video.
Fix from Mozilla upstream:
https://phabricator.services.mozilla.com/D212949
https://bugzilla.mozilla.org/show_bug.cgi?id=1880582
2026-01-16 12:37:40 +02:00
Sergey Larin
3a42d26c36
Use CoreGraphics backend on Big Endian MacOS
2026-01-16 12:37:20 +02:00
Moonchild
fb1a7e64b5
[gfx] Add some additional sanity checks to cairo surface creation.
2026-01-15 11:20:10 +01:00
Moonchild
fa7638a731
[XPCOM] Add hashkey helper classes for future use.
...
These aren't currently used but will be good to have in case we need them
for future porting from Mozilla.
2026-01-15 10:27:53 +01:00
Moonchild
d9228b5517
Merge pull request 'MacOS PowerPC Support Fixes' ( #2905 ) from dbsoft/UXP:macppc-fixes10 into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2905
2026-01-14 22:04:29 +00:00
Moonchild
b9e6492480
[NSS] Update NSS to 3.90.9
2026-01-14 22:30:19 +01:00
Moonchild
28e6fad462
[Auth] Only set GSS_C_DELEG_FLAG flag when we confirm server supports delegation.
2026-01-14 21:50:24 +01:00
Moonchild
c2ae3266c2
[DOM] Check worker script size
...
Abort loading worker scripts if they are ridiculously huge.
2026-01-14 19:50:08 +01:00
Moonchild
195251fc12
[gfx] Fix typo in 9b52703451
2026-01-14 19:46:11 +01:00
Moonchild
9b52703451
[gfx] Use better types for cairo image surface manipulations.
2026-01-14 16:15:09 +01:00
Moonchild
84d42d8177
[gfx] Be more explicit when converting to cairo formats.
2026-01-14 15:01:37 +01:00
Brian Smith
5de43abff5
Issue #2051 - Follow-up Part 2j: Fix VPx rendering on Big Endian.
2026-01-13 22:30:11 -06:00
Moonchild
8112ed2e6c
Issue #2895 - Follow-up: Fix JIT code generator for 32-bit targets.
...
Register64 isn't natively supported on 32-bit targets (ARM, MIPS32, x86)
so they require initializers with 2 32-bit register components.
Also, `rotateLeft64()` requires a temp register on 32-bit targets.
2026-01-13 20:24:41 +01:00
Brian Smith
25daa465a4
Issue #2051 - Follow-up Part 2i: Fix font problems with more TenFourFox code.
...
Add Phony Core Text header, and an old qcms function required by the older code.
Thank you Sergey Larin for doing this work.
2026-01-13 11:58:50 -06:00
Moonchild
4302ad6302
Merge pull request 'Remove Support for Gconf' ( #2904 ) from trav90/UXP-contrib:remove-gconf into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2904
2026-01-13 13:49:28 +00:00
Brian Smith
9d1148e322
Issue #2051 - Follow-up Part 2h: Various MacPPC fixes.
...
Fix builing with optimization level 2 or higher.
Fix some mouse handling, in particular with the scollbars.
Fix keyboard input of normal characters. Thank you Sergey Larin.
2026-01-13 07:34:24 -06:00
Moonchild
42bb4f8ec8
Merge pull request 'Switch JavaScript PRNG to Xoroshiro128++' ( #2901 ) from Xoroshiro128++ into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2901
2026-01-13 09:27:01 +00:00
Brian Smith
bc4751b2e9
Issue #2051 - Follow-up Part 2g: Readd CoreGraphics support to native rendering.
...
This support was removed when SKIA was added, so it just bailed out.
Also add scrollbar drawing code from TenFourFox to support the old style.
2026-01-12 15:52:05 -06:00
Brian Smith
046b73ad98
Issue #2051 - Follow-up Part 2f: Miscellaneous fixes.
...
Fix compile issue with MacPorts GCC 14.
Fix null pointer dereference in OpenGL compositor.
Fix recurcursive font loading due to TenFourFox code drift.
Fix LazyScript size mismatch in debug builds.
Fix crash due to missing auto release pool in debug builds.
Fix keyboard input crash due to incorrect code disabling.
Fix mouse events never having button pressed state.
2026-01-12 15:52:04 -06:00
Brian Smith
f12b423797
Issue #2051 & #2777 - Follow-up Part 3: Add MacOS PPC config.h file.
2026-01-12 15:52:03 -06:00
Brian Smith
81767f49a9
Issue #2051 - Follow-up Part 2e: Force fallback to raster with CoreGraphics.
2026-01-12 15:52:02 -06:00
Brian Smith
cb7d1bff90
Issue #2051 - Follow-up Part 2d: Fix missing or misplaced #ifdefs.
...
Also handle missing modifierFlags selector on 10.5.
2026-01-12 15:52:01 -06:00
Brian Smith
65655a7ac6
Issue #2051 - Follow-up Part 2c: No IOSurface support on 10.5 so disable for PPC.
2026-01-12 15:52:00 -06:00
Brian Smith
e61da23175
Issue #2051 - Follow-up Part 2b: Even more safety checks in the older font code.
2026-01-12 15:51:59 -06:00
Brian Smith
0065d53b4d
Issue #2051 - Follow-up Part 2: Add additional safety checks in the older font code.
2026-01-12 15:51:58 -06:00
Brian Smith
179c73c90c
Issue #2051 - Follow-up Part 1b: Fix building on later MacOS versions.
...
Clang complains about duplicate definition of GfxMatrixToCGAffineTransform().
CGFontGetGlyphPath() is non-public and removed in later MacOS versions.
CTFontCreatePathForGlyph() is the CoreText replacement in 10.5 and later.
2026-01-12 15:51:57 -06:00
Brian Smith
1653009fe5
Issue #2051 - Follow-up Part 1: Various fixes for Mac PowerPC support.
...
This commit gets Mac PowerPC to initialize and shows the menubar.
Hangs in font code before showing the window, but this is progress.
Remove workaround for a GCC structure packing bug, use fixed GCCs.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110044
Fix linking altivec code with some compiler versions.
Restore the old "CoreGraphics" GFX backend; SKIA unsupported 10.5.
https://bugzilla.mozilla.org/show_bug.cgi?id=1258751
Similarly restore code to display popups/panels with "CoreGraphics"
https://bugzilla.mozilla.org/show_bug.cgi?id=1274720
2026-01-12 15:51:56 -06:00
Moonchild
753dffd122
Merge branch 'master' into Xoroshiro128++
2026-01-12 21:48:31 +01:00
Moonchild
c05e5e4373
Merge pull request 'Properly vendor and update Expat to 2.7.3' ( #2903 ) from jobbautista9/UXP:expat-2.7.3 into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2903
2026-01-12 15:22:01 +00:00
trav90
93883d5823
Issue #1636 - Part 3 - Remove Gconf
2026-01-12 08:01:44 -06:00
Job Bautista
a22613d3e0
Issue #2889 - Follow-up: Remove fix for BZ 569229.
...
Seems this workaround is no longer relevant for Expat 2.7.x, with upstream's
elimination of recursion.
2026-01-12 08:34:34 +08:00
Job Bautista
073378ec92
Issue #2889 - Follow-up: Adjust Expat 2.7.3 local patches for removal of 3rd patch.
2026-01-12 08:33:33 +08:00
Job Bautista
a00c890a9d
Merge branch 'expat-2.6.4' into expat-2.7.3
2026-01-12 08:31:49 +08:00
Job Bautista
8f57a215b5
Issue #2889 - Follow-up: Allow generate_hash_secret_salt to be used.
...
Part 1 erroneously imported the 3rd patch from Mozilla assuming that we're also
already generating our salt with XML_SetHashSalt in our nsExpatDriver. Turns out
this is not the case.
2026-01-12 07:53:34 +08:00
Moonchild
12821ae90a
Issue #2895 - Part 1b: Update license block.
...
Adjust the BSD 2-clause license in `ExecutableAllocator.h` to reflect
multiple authors.
2026-01-11 21:24:53 +01:00
Job Bautista
112abdc25a
Issue #2889 - Part 7: Apply patches to Expat 2.7.3.
2026-01-11 21:34:24 +08:00
Job Bautista
627fdf8fe4
Issue #2889 - Part 6: Import Expat 2.7.3 source.
2026-01-11 21:33:28 +08:00
Job Bautista
0f1faad9a3
Issue #2889 - Part 5: Rewrite patches for Expat 2.7.3.
...
- Skipped the fix for BZ 569229 because I don't know where to apply that; the
processInternalEntity method no longer exists. Hopefully the bug doesn't re-
appear.
- Previous fixes for 3rd and 13th patches have been merged to their respective
patches as well.
- 15th patch is now a fix for the 13th and 14th since somewhere between 2.6.4
and 2.7.3 has made use of a debugging method we don't want to use as well as
a new boolean method called parserBusy which got mistakenly excluded as an
unused API while rewriting the 14th patch.
2026-01-11 21:26:25 +08:00
Moonchild
66dbfca54a
Issue #2895 - Part 3: Add manual test.
...
To visually verify random uniformity and make a quick check on performance.
2026-01-11 10:35:37 +01:00
Job Bautista
647a1ab5f0
Issue #2889 - Follow-up: void methods shouldn't return a value.
2026-01-11 16:10:10 +08:00
Job Bautista
e284ffab6c
Issue #2889 - Follow-up: Avoid conflicts with system version of libexpat
2026-01-11 16:04:00 +08:00
Job Bautista
ef1532cab2
Issue #2889 - Part 4: Fix build and runtime issues.
...
- The 3rd patch causes MSVC to error out on an empty typedef struct.
- The 13th patch is causing the application to abort on startup.
- Fixed header issues as well as resolved the necessary symbols for gkmedias.
2026-01-11 15:07:33 +08:00
Job Bautista
2ae8833092
Issue #2889 - Part 3: Apply Mozilla's patches to Expat 2.6.4.
2026-01-11 14:47:35 +08:00
Job Bautista
e7cacf4642
Issue #2889 - Part 2: Import Expat 2.6.4 source.
2026-01-11 14:47:18 +08:00
Job Bautista
6c7850482f
Issue #2889 - Part 1: Prepare Mozilla's changes and extensions for Expat 2.6.4.
2026-01-11 13:47:55 +08:00
Job Bautista
f93d0fadf2
Issue #2889 - Part 0: Relocate Mozilla-specific files from Expat source.
2026-01-11 11:40:13 +08:00
Moonchild
7ec3c640e7
Merge pull request 'Disable Gconf by default and always build gio with GTK' ( #2900 ) from trav90/UXP-contrib:disable-gconf into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2900
2026-01-10 19:28:45 +00:00
Moonchild
97786271f9
Issue #2895 - Part 2: Remove incorrect debug asserts.
...
x86/x64 MacroAssembler front-end rotate functions had comparison asserts
that do not seem to be correct; values being the same doesn't mean the
same regs were used.
2026-01-10 15:37:34 +01:00
Moonchild
c90df0c332
Issue #2895 - Part 1: Replace XorShift128+ with Xoroshiro128++
...
Surrounding structures remain the same because the bit width remains 128.
The more complicated algorithm requires more temp registers in LRandom
to account for intermediate result placeholders in the JITed version of
this algorithm.
2026-01-10 15:32:22 +01:00
trav90
f5a3099344
Issue #1636 - Part 2 - Disable Gconf by default
2026-01-09 10:31:53 -06:00
trav90
fe7ca5276f
Issue #1636 - Part 1 - Decouple Gio from GConf and always build it with GTK
...
Also removes the ancient and unused --enable-gnomeui option.
2026-01-09 10:30:54 -06:00
Moonchild
b439067975
Issue #2898 - Don't unroll to large stack probe loops.
...
Resolves #2898
2026-01-09 15:08:10 +01:00
Moonchild
b2f2e54167
Merge pull request 'Implement Loongarch64 CPU Architecture Support' ( #2899 ) from Basilisk-Dev/UXP-loongarch:master into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2899
2026-01-08 23:38:44 +00:00
Basilisk-Dev
55285b1c50
MoonchildProductions/UXP#2897 : Undo mistakenly overwritten file in libavutil
2026-01-08 13:09:08 -05:00
Basilisk-Dev
af96fc79e1
MoonchildProductions/UXP#2897 : Import upstream libyuv fixes to fix Clang compilation on Loongarch64
2026-01-08 13:01:25 -05:00
Basilisk-Dev
1c9c79ef24
MoonchildProductions/UXP#2897 : Modify webrtc to compile on loongarch64
2026-01-08 12:30:36 -05:00
Basilisk-Dev
741604f78d
MoonchildProductions/UXP#2897 : Specify 16k pagesize for loongarch64 in jemalloc
2026-01-08 11:49:17 -05:00
Basilisk-Dev
5cb08bb658
MoonchildProductions/UXP#2897 : Added a loongarch atomic-ops implementation
2026-01-08 11:12:24 -05:00
Basilisk-Dev
969217dc2f
MoonchildProductions/UXP#2897 : backport upstream xptcinvoke and xptcstubs for Loongarch64
2026-01-08 10:27:45 -05:00
Basilisk-Dev
fb438829b5
MoonchildProductions/UXP#2897 : Fix ffvpx build on loongarch64
2026-01-07 17:49:32 -05:00
Basilisk-Dev
d7c1f4a6b4
MoonchildProductions/UXP#2897 : Add LA64 to webrtc build config
2026-01-07 14:46:33 -05:00
Basilisk-Dev
e35267d62c
MoonchildProductions/UXP#2897 : Allow mfbt/double-conversion to compile on LA64
2026-01-07 14:46:15 -05:00
Basilisk-Dev
1779669120
MoonchildProductions/UXP#2897 : Fix IPC to compile on LA64
2026-01-07 14:32:31 -05:00
Basilisk-Dev
97a4baf4bf
MoonchildProductions/UXP#2897 : Allow mach configure to pass on loongarch64
2026-01-07 14:22:05 -05:00
Moonchild
4aadf14fb0
Issue #2858 - keep type in line with definition.
...
Depending on target platform, `AddRef()` returns either `unsigned long` or
`uint32_t`. Make the resulting type match for better optimization.
2026-01-06 10:01:16 +01:00
Moonchild
64509fb557
Issue #2858 - Hack around the circular calls to nsPrincipal::Write()
...
This employs an ugly refcounting hack as a stop-gap measure. This isn't a
fix, but we avoid appcrashes in the meantime.
2026-01-05 23:44:11 +01:00
Moonchild
91c979623c
Merge pull request 'Improve Extended_Pictographic Support in Clusters' ( #2894 ) from RealityRipple/UXP:2871 into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2894
2026-01-04 22:01:51 +00:00
Andy
95240de023
Issue #2871 - Addendum - Code Comments
...
https://www.unicode.org/reports/tr51/#Emoji_Properties_and_Data_Files
2026-01-04 13:54:15 -08:00
Andy
7f3970cc2d
Issue #2871 - Restructure GetEmojiPresentation() for Extended_Pictographic clusters
2026-01-03 16:14:47 -08:00
Moonchild
fa40bd3d05
Merge pull request 'Convert use of -moz-appearance to appearance in platform code' ( #2892 ) from 2887 into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2892
2026-01-02 19:24:06 +00:00
Moonchild
87ddc5d6bb
Issue #2887 - Convert use of -moz-appearance to appearance
2026-01-02 19:46:40 +01:00
Moonchild
d4fcc2899c
Merge pull request 'Make clearing of passwords prefable, and disable by default.' ( #2891 ) from 2856 into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2891
2026-01-02 16:43:44 +00:00
Moonchild
95279d8e20
Issue #2856 - Make clearing of passwords prefable, and disable by default.
...
New pref to control clearing of domain passwords for "Forget about site"
privacy function.
Resolves #2856
2026-01-02 17:32:12 +01:00
Moonchild
fc231d8c29
Merge pull request 'Leverage viewport-only logic to ensure overflow propagation.' ( #2890 ) from 2853 into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2890
2026-01-02 16:08:24 +00:00
Moonchild
f8f288b1c6
Merge pull request 'Un-prefix -moz-appearance' ( #2886 ) from unprefix-appearance into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2886
2026-01-02 16:08:03 +00:00
Moonchild
f6b5a81bcf
Merge pull request 'Minor CLDR Update Process Improvements' ( #2888 ) from RealityRipple/UXP:auto-cldr into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2888
2025-12-30 15:22:46 +00:00
Moonchild
75cc3b1766
Issue #2853 - Leverage viewport-only logic to ensure overflow propagation.
...
Resolves #2853
2025-12-30 16:19:40 +01:00
Andy
2f4b425613
Sort replacements per language and per script to ensure the generated file has stable contents.
...
From BZ 1651032
2025-12-27 18:19:02 -08:00
Andy
97d35566cd
Automatically determine current CLDR version when updating langtags.
...
From BZ 1642934
2025-12-27 18:05:54 -08:00
Moonchild
ee673e2a51
Issue #1791 - Part 3: Add manual test for unprefixed appearance.
2025-12-25 16:27:41 +01:00
Moonchild
a66233d638
Issue #1791 - Part 2: Stop force-styling checkboxes/radio buttons.
...
Unclear why this was done. Let websites choose their own style overrides
if they want to, in combination with `appearance: none`
2025-12-25 16:27:41 +01:00
Moonchild
a208d718cf
Issue #1791 - Part 1: Un-prefix -moz-appearance
...
Keep an alias (preffed) `-moz-appearance` for `appearance`
This should keep all previous behaviour intact.
2025-12-25 16:27:40 +01:00
Moonchild
9dae73cd9d
Merge pull request 'Allow build on NetBSD/alpha' ( #2885 ) from nia/UXP:alpha into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2885
2025-12-24 11:48:52 +00:00
nia
fac94604c4
ffvpx: Add pregenerated config for Alpha.
2025-12-24 12:39:24 +01:00
Moonchild
c64aa83a09
Issue #2857 - Implement inset-block and inset-inline CSS shorthand
...
Resolves #2857
2025-12-23 11:09:23 +01:00
Moonchild
55db23f665
Merge pull request 'Emoji 17.0 Support' ( #2884 ) from RealityRipple/UXP:emoji-17.0 into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2884
2025-12-22 18:03:44 +00:00
Andy
6d7da863a9
emoji-17.0 - Update Twemoji font to unicode 17.0.0
2025-12-22 09:50:51 -08:00
Moonchild
a559de3cc6
Merge pull request 'Update ICU to v78.1' ( #2878 ) from RealityRipple/UXP:icu-78 into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2878
2025-12-22 14:22:41 +00:00
nia
f48fc9774d
Teach mozbuild that Alpha is 64-bit.
2025-12-22 00:41:21 +01:00
Andy
0d1a0a4460
Issue #2863 - Part 25 - Clobber
2025-12-20 01:41:20 -08:00
Andy
48310b0921
Issue #2863 - Part 24 - Remove special-casing for Etc/UCT
...
From BZ 1543641 Part 3
2025-12-20 01:07:52 -08:00
Andy
5a6008ba14
Issue #2863 - Part 23 - Update tzdata in Spidermonkey
2025-12-20 01:07:24 -08:00
Andy
19832cc0dd
Issue #2863 - Part 22 - Update tzdata source to 2025c
2025-12-20 01:05:17 -08:00
Andy
70cb6fad3b
Issue #2863 - Part 21 - Update Unicode property data in Gecko
2025-12-20 01:01:45 -08:00
Andy
1c12932f17
Issue #2863 - Part 20 - Update special casing in Gecko
2025-12-20 00:57:03 -08:00
Andy
b8073ff355
Issue #2863 - Part 19 - Update CLDR to 48
2025-12-20 00:54:46 -08:00
Andy
ad45885155
Issue #2863 - Part 18 - Update Unicode in Spidermonkey
2025-12-20 00:51:31 -08:00
Andy
7a3da8cc91
Issue #2863 - Part 17 - Update ICU source to 78.1
2025-12-20 00:43:40 -08:00
Andy
c88f57529b
Issue #2863 - Part 16 - Update locale canonicalization algorithm for changes from CLDR 39
...
From BZ 1718198
2025-12-19 02:18:04 -08:00
Andy
e140607d40
Issue #2863 - Part 15 - Update special casing script
2025-12-19 02:17:50 -08:00
Andy
c7d76b16e1
Issue #2863 - Part 14 - Update switch to handle new UNumberFormatFields entries.
2025-12-19 02:17:39 -08:00
Andy
42bd942380
Issue #2863 - Part 13 - Remove non-IANA Zones
...
Adapted from BZ 1673027
2025-12-19 02:17:32 -08:00
Andy
b3f7187493
Issue #2863 - Part 12 - Filter SCRIPT_CODE extensions from CLDR
2025-12-19 02:17:26 -08:00
Andy
1e4d492d18
Issue #2863 - Part 11 - Remove no longer needed locale maximization when removing likely subtags.
...
Adapted from BZ 1686052 Part 9
2025-12-19 02:16:37 -08:00
Andy
186f1531c7
Issue #2863 - Part 10 - Add New Line Breaker Entries
2025-12-19 02:16:21 -08:00
Andy
513fc2034b
Issue #2863 - Part 9 - Retain util_props.cpp
2025-12-19 02:16:11 -08:00
Andy
b126de3dcd
Issue #2863 - Part 8 - Add note to run make_intl_data.py langtags
2025-12-19 02:16:04 -08:00
Andy
6aad65b27a
Issue #2863 - Part 7 - Don't delete files now that they're filtered
2025-12-19 02:15:49 -08:00
Andy
7ac730f424
Issue #2863 - Part 6 - Make ICU with multiple jobs for faster rebuilds.
...
Adapted from BZ 1533481
2025-12-19 02:15:37 -08:00
Andy
1c6748286c
Issue #2863 - Part 5 - Update reading source objects
...
Adapted from BZ 1645779
2025-12-19 02:15:23 -08:00
Andy
a3fea2c220
Issue #2863 - Part 4 - Use recommended ICU build options flags.
...
Adapted from BZ 1429776 and 1672353.
2025-12-19 02:15:05 -08:00
Andy
99691ee61a
Issue #2863 - Part 3 - Patch in non-dll suppression
...
This is stupid, but more specific than a broad silencing directive.
2025-12-19 02:14:42 -08:00
Andy
44e1b7c01b
Issue #2863 - Part 2 - Filter ICU data for build
2025-12-19 02:14:01 -08:00
Andy
db4b354d9b
Issue #2863 - Part 1 - Update patches for ICU 78.1
2025-12-19 02:13:38 -08:00
Moonchild
105d703629
Merge pull request 'Issue MoonchildProductions/UXP#2306: Implement WeakRef functionality' ( #2881 ) from Basilisk-Dev/UXP-weakref:master into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2881
2025-12-19 08:51:44 +00:00
Basilisk-Dev
6ce83ee1f0
Issue MoonchildProductions/UXP#2306 : Add test js
2025-12-18 21:13:06 -05:00
Basilisk-Dev
d4c1ffda76
Issue MoonchildProductions/UXP#2306 : Remove unneeded addition of streams_ in ContextOptions()
2025-12-17 18:40:39 -05:00
Basilisk-Dev
0ec21adf21
Issue MoonchildProductions/UXP#2306 : Fix spacing
2025-12-17 16:56:25 -05:00
Basilisk-Dev
7533c4ede0
Issue MoonchildProductions/UXP#2306 : Add pref-gated WeakRef with safe stub when disabled
...
* Add javascript.options.weakrefs and plumb it through context options, XPConnect, and workers
* Keep referents alive via strong tracing when the pref is off so deref() still returns the target
* Retain weak-edge semantics when the pref is enabled
2025-12-17 16:35:41 -05:00
Basilisk-Dev
0dc7782727
Issue MoonchildProductions/UXP#2306 : Implement WeakRef functionality
2025-12-16 22:43:47 -05:00
Moonchild
a17b54921c
Merge pull request 'Issue Pale-Moon#2002 - Remove FreeBSD compat13x dependency on 15.x.' ( #2880 ) from dbsoft/UXP:freebsd15fix into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2880
2025-12-16 20:50:42 +00:00
Moonchild
7dddd4282b
Issue #2865 - Implement URL.canParse()
...
Implemented URL.canParse() static function for checking if a URL can be
parsed (instead of having to try wrap the constructor).
This avoids using an ErrorResult/Throws, since it is not in the spec,
and this makes it also more performant.
See https://github.com/whatwg/url/pull/763
Resolves #2865
2025-12-16 12:23:45 +01:00
Brian Smith
4a4ddda621
Issue Pale-Moon#2002 - Remove FreeBSD compat13x dependency on 15.x.
...
Remove the 2 libutil OS_LIBS and dynamically load libutil.so instead.
2025-12-16 01:26:00 -06:00
Moonchild
74398ca61c
Update NSS version to 3.90.8
2025-12-15 20:32:01 +01:00
Moonchild
02abee0980
[NSS] Destroy certificate on error paths
2025-12-15 19:54:00 +01:00
Moonchild
e518f846b3
[image] Use the TriggeringPrincipal if we have one, not the SystemPrincipal
2025-12-15 18:00:45 +01:00
Moonchild
0ec89257db
[devtools] Further improve "Copy as cURL"
...
Don't escape unicode control characters. While these characters would
break commands if present (i.e. non functional cURL) and could potentially
be sanitized to spaces, that would likely just move the goalposts again.
Following Mozilla here.
2025-12-15 17:21:18 +01:00
Moonchild
e2ddc59a8e
[DOM] Add stride check for canvas tex conversion from blob.
2025-12-15 17:01:29 +01:00
Moonchild
0552fa9353
[js] Append InstSize factor for secondary range veneers.
...
Ensure branch padding is correct on ARM64/M*SoC
2025-12-15 16:26:33 +01:00
Moonchild
d7ae6c9f06
[devtools] Further improve "Copy as cURL"
...
Collapse whitespaces.
2025-12-15 16:00:02 +01:00
Moonchild
0c1afdf111
Merge pull request 'Remove obsolete mention of DRM content playback in about:rights' ( #2877 ) from jobbautista9/UXP:aboutrights-removedrm into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2877
2025-12-11 12:00:59 +00:00
Moonchild
ccedf2d3cf
Merge pull request 'Restore support for in-process NPAPI plugins in non-GTK3' ( #2875 ) from jobbautista9/UXP:npapi-inprocess into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2875
2025-12-11 11:57:34 +00:00
Job Bautista
ce7e4b4369
Issue #2876 - Remove obsolete mention of DRM content playback in about:rights
...
We've removed EME code in Issue #2346 ; UXP applications will never download
content decryption modules on their own.
2025-12-11 15:31:17 +08:00
Job Bautista
59ed319449
Issue #2861 - Part 2 Follow-up: nsIPluginHost.isPluginOOP should not always return true.
...
Actually restore the method as it was when it was added in Mozilla bug 1178896.
2025-12-10 11:08:59 +08:00
Job Bautista
37a95044bc
Issue #2861 - Bring back forced OOPP for GTK3.
...
Per discussion in PR #2875 our NPAPI implementation doesn't support plugins
using GTK3 anyway so there's no point in keeping this footgun for a GTK3 setup.
2025-12-09 11:16:19 +08:00
Job Bautista
0e3a84fc2d
Issue #2875 - Ensure OOP for plugins by default even if pref couldn't be found.
2025-12-09 10:56:42 +08:00
Moonchild
45efa06dc8
Merge pull request 'Don't let toolkit override colors of autofilled form elements.' ( #2874 ) from jobbautista9/UXP:autofill-styling into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2874
2025-12-08 13:58:33 +00:00
Job Bautista
af2315d588
Issue #2861 - Remove Mac-specific ifdefs.
...
macOS should now use the "dom.ipc.plugins.enabled" pref, like every other OS.
2025-12-07 20:24:06 +08:00
Job Bautista
c3c0d6f8c3
Issue #2875 - Cleanup: Remove leading whitespace in nsPluginHost.cpp.
2025-12-06 20:20:55 +08:00
Job Bautista
1100ea5eba
Issue #2861 - Remove checks that forcibly enable or disable OOP.
...
The pref should not be conditional on which plugin or GTK version is in use. If
Windows users want Flash in-process, or GTK3 users want in-process plugins, we
should let them. If it breaks, they at least have half a browser.
While at it the checks for accessibility hardware support have also been taken
out, because they're only relevant for Flash anyway. Being able to disable OOP
should not depend on whether you use a11y.
2025-12-06 16:53:38 +08:00
Job Bautista
eda712503e
Issue #2861 - Part 2: Restore nsIPluginHost.isPluginOOP.
...
This effectively reverts Part B of Mozilla bug 1194780.
2025-12-06 15:01:28 +08:00
Job Bautista
b4743e3a3a
Issue #2861 - Part 1: Allow nsNPAPIPlugin::RunPluginOOP to be made false.
...
This effectively reverts Part A of Mozilla bug 1194780.
2025-12-06 14:58:39 +08:00
Job Bautista
da8387e80a
Issue #2873 - Don't let toolkit override colors of autofilled form elements.
...
Currently there's no way for the toolkit's overrides to be removed by users and
websites. In the case of Issue #2872 our current colors also harshly clash with
the usual dark mode of webpages.
It's best to let them write their own CSS targetting the :autofill psuedo-class
of form elements if they want the indication.
This effectively makes Issue #2790 only implement :autofill and nothing else.
2025-12-05 13:05:36 +08:00
Moonchild
905b050aa1
Merge pull request 'ffvpx: sparc64: Fix for generated config.h' ( #2870 ) from nia/UXP:ffvpx-sparc64 into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2870
2025-11-23 10:42:35 +00:00
nia
349be237d7
ffvpx: sparc64: Fix for generated config.h
...
Turns out UXP needs an extra define which ffmpeg7 isn't
providing.
Signed-off-by: Nia Alarie <nia@NetBSD.org >
2025-11-23 11:32:23 +01:00
Moonchild
b4fbbdc29a
Issue #2869 - Make Purple Buffer additions check if cell is tenured.
...
This should avoid a CTD if `cell` is not tenured by moving this check to
CC instead of having it fatally fail at marking grey.
Resolves #2869
2025-11-22 17:46:36 +01:00
Moonchild
87bbdc0acd
Merge pull request 'ffvpx: Add generated config for sparc64' ( #2868 ) from nia/UXP:ffvpx-sparc64 into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2868
2025-11-22 12:05:19 +00:00
nia
670b251652
ffvpx: Add generated config for sparc64
...
Related to #2584 , but should work just as well on Solaris
Signed-off-by: Nia Alarie <nia@NetBSD.org >
2025-11-22 12:41:31 +01:00
Moonchild
49f4dad4fa
Issue #2489 - Re-implement color-mix implementation with fixes.
...
This includes a hack to avoid fatal recursion when either color resolves
to NS_COLOR_CURRENTCOLOR, avoiding #2854
Resolves #2489
2025-10-27 23:08:41 +01:00
Moonchild
da7dff0437
Issue #2847 - Update tests and toolkit CSS to account for windows-win11
2025-10-25 17:46:17 +02:00
Moonchild
2c321e2baf
Issue #2847 - Extend -moz-os-version media query with win11. (re-land)
2025-10-25 15:53:23 +02:00
Moonchild
70e34941c4
[devtools] Remove newline kludge from "Copy as cURL" on Windows
2025-10-15 19:46:52 +02:00
Moonchild
8b9323b330
[devtools] Remove newline kludge from "Copy as cURL" on Windows
2025-10-14 21:06:33 +02:00
Moonchild
94959894ba
Merge pull request 'Fix rule node tracking for NAC' ( #2859 ) from FranklinDM/UXP-contrib:work_css-fix-rn-tracking-for-nac into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2859
2025-10-14 07:53:10 +00:00
Francis Dominic Fajardo
3e88d97cbd
Issue #2855 - Fix rule node tracking for NAC
...
This refactors rule node tracking code into an inline function and uses that for rules from NAC.
2025-10-11 19:20:38 +08:00
Moonchild
545d52572d
Revert "Issue #2828 - Part 1: Build and store the array of layer name tokens in the layer at-rules"
...
This reverts commit 253ec6706a .
2025-10-08 23:24:27 +02:00
Moonchild
dfa0736b49
Revert "Issue #2828 - Part 2: Collect and hold rule cascade data per cascade layer"
...
This reverts commit a91b385f68 .
2025-10-08 23:24:20 +02:00
Moonchild
c7bb5664d9
Revert "Issue #2828 - Part 3: Refactor selector matching and rule cascade data into separate files/classes"
...
This reverts commit 211aa6d652 .
2025-10-08 23:24:13 +02:00
Moonchild
6bbc6f3417
Revert "Issue #2828 - Part 4: Move cache key storage to ResolvedRuleCascades"
...
This reverts commit 202e354f87 .
2025-10-08 23:24:07 +02:00
Moonchild
631169a312
Revert "Issue #2828 - Part 5: Implement child rule processors"
...
This reverts commit bc45ec4f57 .
2025-10-08 23:24:02 +02:00
Moonchild
427b3312a6
Revert "Issue #2828 - Part 6: Assert rules were added to the rule cascade data"
...
This reverts commit be7a231579 .
2025-10-08 23:23:56 +02:00
Moonchild
2287b0b57a
Revert "Issue #2828 - Part 7: Walk child rule processors separately and ensure inverted cascade layer order is enforced for important rules"
...
This reverts commit c3e12fe822 .
2025-10-08 23:23:50 +02:00
Moonchild
56aaba09b1
Revert "Issue #2828 - Part 8: Extract RuleProcessorGroup (formerly ResolvedRuleCascades) into separate file"
...
This reverts commit 5fda071898 .
2025-10-08 23:23:45 +02:00
Moonchild
332938fef3
Revert "Issue #2828 - Part 9: Rename CascadeEnumData to CascadeLayer"
...
This reverts commit ebb0ae456c .
2025-10-08 23:23:39 +02:00
Moonchild
13710f7a06
Revert "Issue #2828 – Part 10: Clean up cascade layer constructor"
...
This reverts commit 047458a002 .
2025-10-08 23:23:33 +02:00
Moonchild
530693099b
Revert "Issue #2828 - Part 11: Detach weighted rule data from cascade layer"
...
This reverts commit b1c19137ad .
2025-10-08 23:23:28 +02:00
Moonchild
f68aa7ea88
Revert "Issue #2828 - Part 12: Implement cascade layer SizeOfIncludingThis"
...
This reverts commit 5ef79e303f .
2025-10-08 23:23:23 +02:00
Moonchild
5bdaee5e40
Revert "Issue #2828 - Part 13: Exclude strong layers-related code from release builds"
...
This reverts commit e82fa3450a .
2025-10-08 23:23:18 +02:00
Moonchild
1b465bc2e2
Revert "Issue #2828 - Part 14: Clobber required for CSS rule processor refactoring"
...
This reverts commit 038c5a95fc .
2025-10-08 23:23:12 +02:00
Moonchild
e455021bea
Revert "Issue #2835 - Part 1: Expose nsCSSRuleProcessor::CascadeSheet"
...
This reverts commit 618f62e753 .
2025-10-08 23:23:02 +02:00
Moonchild
4fe1246bcc
Revert "Issue #2835 - Part 2: Implement processing of import rules based on order of appearance"
...
This reverts commit 2ba24302d9 .
2025-10-08 23:22:57 +02:00
Moonchild
59b4ac4d5f
Revert "Issue #2835 - Follow-up: Guard against import rules with no attached style sheet"
...
This reverts commit 5fccc6ec3d .
2025-10-08 23:22:42 +02:00
Moonchild
de641fedfe
Merge branch 'master' into release
2025-10-02 21:21:39 +02:00
Moonchild
75a1d79076
Issue #2489 - Revert color-mix implementation
...
Resolves #2854
2025-10-02 21:19:54 +02:00
Moonchild
fe301ae7ff
No issue - Improve compiler compatibility.
...
Include <limits> in a few places.
2025-10-02 19:39:09 +02:00
Moonchild
4c53908cd2
No issue - Set title for about:logopage
...
See forum topic 32784
2025-10-01 18:22:45 +02:00
Moonchild
cb99fabcc0
Merge branch 'master' into release
2025-09-24 10:33:48 +02:00
Moonchild
b19387b292
Issue #2258 - Make sure we favor sniffing when the content-type header is empty.
2025-09-24 10:32:50 +02:00
Moonchild
206afa0642
Revert "Issue #2258 - Part 1: Support XCTO:nosniff when navigating."
...
This reverts commit f48c770701 .
2025-09-23 18:17:52 +02:00
Moonchild
32be60a48f
Revert "Issue #2258 - Part 2: Move XCTO:nosniff check into sniffers."
...
This reverts commit 51e1650d42 .
2025-09-23 18:17:45 +02:00
Moonchild
fd232c1468
Revert "Issue #2258 - Part 3: Allow sniffing with XCTO:nosniff + empty MIME type."
...
This reverts commit a56f978f70 .
2025-09-23 18:17:39 +02:00
Moonchild
bd475e1a66
Revert "Issue #2258 - Part 4: Clean up unused pointers."
...
This reverts commit 9e52953e54 .
2025-09-23 18:17:33 +02:00
Moonchild
f996ea12c2
Merge branch 'master' into release
2025-09-19 21:04:01 +02:00
Moonchild
2ae979cdc7
Issue #2790 - Follow-up: Ensure both text and background are set.
...
The common issue of needing to set both foreground and background for dark
themes.
2025-09-19 21:03:13 +02:00
Moonchild
4e7fb3e0ea
Merge branch 'master' into release
2025-09-18 13:15:14 +02:00
Moonchild
98abdcc2b3
Issue #2852 - Follow-up: Add comment and fix formatting.
2025-09-18 12:00:05 +02:00
Moonchild
155d5c2962
[gfx] Use std::size rather than hardcoding an array size
2025-09-18 11:42:40 +02:00
Moonchild
e944757741
Issue #2852 - Parse full cache-control headers.
...
This makes sure we parse the merged/stored version of `cache-control`
instead of just the latest-received header.
`ResponseHead::ParseHeaderLine_locked` parses each header as it comes in.
It then updates its member variables based on that header.
For `cache-control`, it's important to reparse the merged (updated)
version of the header instead of the most recent one, otherwise we'll miss
directives present in previously received headers.
Resolves #2852
2025-09-18 09:55:13 +02:00
Moonchild
e7cbbbef0f
Merge branch 'master' into release
2025-09-14 11:54:15 +02:00
Moonchild
ccb6e13fd4
Revert "Issue #2847 - Extend -moz-os-version media query with win11."
...
This reverts commit 1ff84675f8 .
2025-09-03 16:40:45 +02:00
Moonchild
d709575043
[gfx] Clarify comments.
...
There may be other situations where putting a font entry in the cache
table may fail that are perfectly valid.
2025-08-27 17:20:22 +02:00
Moonchild
a181078981
Revert "[gfx] Guard against possible race via gfxFontEntry::GetFontTable."
...
This reverts commit 98ddf30155 .
2025-08-27 15:54:15 +02:00
Moonchild
36a1957d0a
Revert "[gfx] Guard against possible race via gfxFontEntry::GetFontTable."
...
This reverts commit a1cf966815 .
2025-08-27 15:53:56 +02:00
Moonchild
723866726d
No issue - Clarify Azure Back-end info.
...
Only mention OpenGL accelerated canvas flag when it's relevant, and rename
the entry to be more descriptive, to prevent confusion for users looking
at Troubleshooting Information.
2025-08-22 01:28:16 +02:00
Moonchild
987a662b51
[NSS] Avoid leak in pkcs12 decoder.
2025-08-20 16:26:17 +02:00
Moonchild
77e3e14e55
[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-20 16:26:10 +02:00
Moonchild
98ddf30155
[gfx] Guard against possible race via gfxFontEntry::GetFontTable.
2025-08-20 16:26:03 +02:00
Moonchild
4f9775b779
[NSS] Avoid leak in pkcs12 decoder.
2025-08-20 16:20:53 +02:00
Moonchild
70a52e4c04
[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-20 00:29:38 +02:00
Moonchild
a1cf966815
[gfx] Guard against possible race via gfxFontEntry::GetFontTable.
2025-08-19 22:05:22 +02:00
Moonchild
83da5c58a2
Issue #2850 - Alias :focus-visible to :-moz-focusring
...
Band-aid to have it be parsed as valid with reasonably-expected behaviour.
2025-08-17 10:46:32 +02:00
Moonchild
6c08355e6a
Issue #2850 - Alias :focus-visible to :-moz-focusring
...
Band-aid to have it be parsed as valid with reasonably-expected behaviour.
2025-08-17 09:13:02 +02:00
Moonchild
83a017f13d
Merge pull request 'Add support for libavcodec61 (FFmpeg 7)' ( #2849 ) from trav90/UXP-contrib:libavcodec61-support into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2849
2025-08-16 06:19:20 +00:00
trav90
91a33538ab
Issue #2523 - Part 3 - Fix function declarations for libavcodec
2025-08-15 14:08:08 -05:00
Moonchild
c82a4f147c
Merge pull request 'Add XCTO:nosniff for navigation requests and deal with nosniff+empty MIME type' ( #2846 ) from 2258-nosniff-work into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2846
2025-08-15 15:16:06 +00:00
Moonchild
fa27001ab2
Merge pull request 'Report 24 instead of 32 as the colorDepth (and pixelDepth) on Linux' ( #2848 ) from fix-linux-colordepth into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2848
2025-08-15 12:52:24 +00:00
trav90
ef7c0d6b46
Issue #2523 - Part 2 - Update audio & video decoders to work with FFmpeg 7.0
2025-08-14 12:42:54 -05:00
trav90
63572780f1
Issue #2523 - Part 1 - Import headers from FFmpeg 7.0
2025-08-14 12:40:56 -05:00
Moonchild
dd0042fc70
Bug 1875345 - Report 24 instead of 32 as the colorDepth (and pixelDepth) on Linux (assuming 8 of 32 bits are for the alpha channel).
...
This now matches the logic in our equivalent Windows code, and this is
also per spec ("number of bits...excluding the alpha channel"):
https://drafts.csswg.org/cssom-view/#dom-screen-colordepth
With this change, the WPT test starts passing on Ubuntu 22.04
(which was previously flagged as an unexpected failure).
2025-08-14 17:50:18 +02:00
Moonchild
1ff84675f8
Issue #2847 - Extend -moz-os-version media query with win11.
...
Resolves #2847
2025-08-13 21:14:47 +02:00
Moonchild
de0eb45320
Issue #1843 - Refactor IsWindowsBuildOrLater()
...
Further dedupes Windows checking, updating the single caller in the
platform to simply check for the minimum supported version.
This reintroduces being able to check directly for a numeric version
like before to future-proof or use fine granularity without having
to rely on known build numbers in the enum.
Resolves #1843
2025-08-13 15:05:23 +02:00
Moonchild
b2ddd84ac6
Issue #1843 - Clean up WindowsVersion.h
...
This gets rid of all the unnecessary named functions to be replaced with
a straightforward check `IsWindows10BuildOrLater(WinBuild::{build})`
Where `WinBuild` is an enum with common `{build}` names of Win 10+
versions: `Win10v1809`, `Win10v21H2`, `Win11RTM`, `Win11v24H2`, etc.
None of these named functions were actually in use, so no other changes
should be necessary in the platform.
2025-08-13 12:34:13 +02:00
Moonchild
9e52953e54
Issue #2258 - Part 4: Clean up unused pointers.
2025-08-12 19:09:07 +02:00
Moonchild
a56f978f70
Issue #2258 - Part 3: Allow sniffing with XCTO:nosniff + empty MIME type.
...
This moves the checking code back to NS_SniffContent and specifically
checks requests for either:
- Empty `Content-type` header, OR
- A known JSON MIME type
If present, sniffing is allowed despite `nosniff` because in the first
case this is webmaster error (conflicting `nosniff` without MIME type
would always fail, so sniff it), and in the second case we need this
carveout or our json viewer will break.
2025-08-12 19:04:34 +02:00
Moonchild
51e1650d42
Issue #2258 - Part 2: Move XCTO:nosniff check into sniffers.
...
This fixes a regression for the JSON viewer from part 1 as it relies on
sniffing to prettify (and should carve out the exception even if `nosniff`
headers are sent).
No real functional changes otherwise. Just catering to a corner case.
2025-08-12 17:01:36 +02:00
Moonchild
f48c770701
Issue #2258 - Part 1: Support XCTO:nosniff when navigating.
2025-08-12 16:18:38 +02:00
Moonchild
1a415bb8ca
Issue #1899 - Remove MDN docs tooltip and link code from devtools.
...
Resolves #1899
2025-08-09 22:16:17 +02:00
Moonchild
3325b35f89
Issue #2837 - Implement prefers-reduced-motion media query.
...
Resolves #2837
2025-08-08 10:59:59 +02:00
Moonchild
0621acfb57
Merge pull request 'Align TypedArray CTOR error handling with ES2017' ( #2845 ) from typedarray-toindex-work into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2845
2025-08-08 01:17:33 +00:00
Moonchild
73a1e5aec0
Issue #2838 - Update tests
2025-08-04 17:17:45 +02:00
Moonchild
ad4823f53b
Issue #2838 - Use ToIndex in TypedArray CTORs
...
Also adjusts index handling to be more accurate/spec compliant.
2025-08-04 17:16:57 +02:00
Moonchild
a3918b822b
Merge pull request 'Implement Visual Viewport API' ( #2832 ) from visualviewport-work into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2832
2025-08-04 08:55:20 +00:00
Moonchild
9ae5534d5b
Merge pull request 'Rewrite assembler check configure logic for ffvpx.' ( #2843 ) from 2842-ffvpx-assemblercheck into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2843
2025-08-04 08:54:46 +00:00
Moonchild
76c9a8a09f
Merge pull request 'Follow-up: Guard against import rules with no attached style sheet' ( #2844 ) from FranklinDM/UXP-contrib:work_css-import-null-sheet-fix into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2844
2025-08-04 08:38:41 +00:00
Francis Dominic Fajardo
5fccc6ec3d
Issue #2835 - Follow-up: Guard against import rules with no attached style sheet
2025-08-04 00:02:36 +08:00
Moonchild
6e9501b7ae
Issue #2842 - Rewrite assembler check configure logic for ffvpx.
2025-08-02 17:32:57 +02:00
Moonchild
7136ae45a7
[DOM] Simplify <object> scheme check code and fix plugin handling.
...
Trying to do a positive check on nested URIs apparently doesn't work,
but the handling could be simplified to just check for non-null mURI
instead - this also fixes plugin loading (which broke with the previous
check).
2025-07-31 10:44:08 +02:00
Moonchild
8ea6155ea1
[DOM] Simplify <object> scheme check code and fix plugin handling.
...
Trying to do a positive check on nested URIs apparently doesn't work,
but the handling could be simplified to just check for non-null mURI
instead - this also fixes plugin loading (which broke with the previous
check).
2025-07-31 01:41:33 +02:00
Moonchild
97d3d61749
[DOM] Fix crash in <object> scheme checking code.
...
If a website would nor supply a URI for object loading code, the browser
would crash on a null deref.
This reintroduces the nestedURI check to make sure we have a valid URI.
2025-07-30 09:29:51 +02:00
Moonchild
1befbb4fbb
[DOM] Fix crash in <object> scheme checking code.
...
If a website would nor supply a URI for object loading code, the browser
would crash on a null deref.
This reintroduces the nestedURI check to make sure we have a valid URI.
2025-07-30 09:29:26 +02:00
Moonchild
1ff0a21ee9
Issue #2489 - Follow-up: Add color-mix() manual test.
2025-07-29 21:49:00 +02:00
Moonchild
39fd993c54
Merge pull request 'Implement :autofill CSS pseudo-class' ( #2841 ) from janjan/UXP:implement-autofill-css into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2841
2025-07-28 21:06:39 +00:00
MeladJM
38686dbb00
Issue #2790 - Cleanup: Correct whitespaces
2025-07-29 04:55:57 +08:00
MeladJM
f0ba16f55f
Issue #2790 - Part 7: Setting of contrasting color and fixing of last commit's issues
2025-07-29 04:53:45 +08:00
Moonchild
aa564908c4
Merge pull request 'Implement CSS color-mix()' ( #2839 ) from erx_ld1/UXP:implement-color-mix into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2839
2025-07-28 11:02:31 +00:00
MeladJM
e33e98ff32
Issue #2790 - Part 6: Highlight color change and remove important
2025-07-28 03:52:16 +08:00
MeladJM
f5cd8b5417
Issue #2790 - Cleanup: Remove whitespaces
2025-07-28 01:01:27 +08:00
Moonchild
ac9ed616b9
No issue - Regenerate devtools CSS database
...
To pick up new public use of clip, addition of overflow-inline and
addition of overflow-block.
2025-07-27 13:11:28 +02:00
Moonchild
b156c32def
Merge pull request 'Process @import rules based on order of appearance in the style sheet' ( #2840 ) from FranklinDM/UXP-contrib:work_css-import-rule-order-fix into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2840
2025-07-27 00:09:29 +00:00
MeladJM
dad41636ad
Merge with latest commits
2025-07-26 22:34:41 +08:00
Francis Dominic Fajardo
2ba24302d9
Issue #2835 - Part 2: Implement processing of import rules based on order of appearance
2025-07-26 14:55:22 +08:00
Francis Dominic Fajardo
618f62e753
Issue #2835 - Part 1: Expose nsCSSRuleProcessor::CascadeSheet
2025-07-26 14:55:22 +08:00
erixreyes
a48b046c36
Issue #2489 : Produce more accurate computations
2025-07-26 06:16:30 +08:00
erixreyes
6298bfeb3d
Issue #2489 : Disallow percentage overflow and underflow
2025-07-26 05:51:57 +08:00
MeladJM
06a857bdb3
Issue #2790 - Cleanup: Remove debugging lines
2025-07-26 04:07:54 +08:00
MeladJM
9b03c84201
Issue #2790 - Part 5: Persistent highlight despite blur click
2025-07-26 03:06:37 +08:00
erixreyes
073e3adb0c
Issue #2489 : Allow SRGB with alpha mixing
2025-07-26 01:13:18 +08:00
erixreyes
d8060a0296
Issue #2489 : Allow HSL with alpha mixing
2025-07-26 01:00:17 +08:00
Sergey Larin
9c8bf1fe5d
No Issue - Disable VSX extensions (uplift)
...
There is no detection script for them as for AltiVec, and
it's breaking older machines (PowerMac G5 in particular).
2025-07-25 16:57:09 +02:00
Sergey Larin
d1cc6ff3cb
Issue #2777 - Fix ffvpx build on PPC64 (uplift)
2025-07-25 16:55:27 +02:00
Moonchild
db76d74820
[DOM] Make object loading use an explicit scheme whitelist.
2025-07-25 14:23:45 +02:00
Moonchild
8fdd9d52f9
[network] Stop accepting nameless cookies.
2025-07-25 14:23:34 +02:00
Moonchild
d42797f587
[js] Align br_table limits with V8/Gecko.
2025-07-25 14:23:18 +02:00
Moonchild
6b9c1f6ab8
[gfx] Hold a stronger reference to gfxFontEntry.
2025-07-25 14:23:10 +02:00
Moonchild
4aedc96db2
No issue - Adjust CSP URI reporting more closely with the spec.
...
According to the W3C discussion we should allow websocket URIs to be
reported aside from http/https/ftp ones.
This rewrites things slightly and updates comments to clarify.
We do retain the non-standard reduction to origin only in case the
report is for cross-origin URIs (stops leaking full URIs to the CSP
reported destination).
See https://github.com/w3c/webappsec-csp/issues/735
2025-07-25 14:22:58 +02:00
Francis Dominic Fajardo
234830da1e
Issue #2826 - Set up fontconfig on XRE startup (GTK only)
2025-07-25 14:22:35 +02:00
Moonchild
244b95968f
Issue #2720 - Follow-up: Use temp value for duplicate color stop
2025-07-25 14:20:13 +02:00
Moonchild
3b29cd7f19
Merge pull request 'Implement cascade layer registration and processing' ( #2833 ) from FranklinDM/UXP-contrib:work_css-cascade-layer-registration into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2833
2025-07-25 11:27:54 +00:00
MeladJM
7c8591f911
Issue #2790 - Part 4: Working non persistent autofill highlight
2025-07-25 11:14:35 +08:00
erixreyes
caaa037d42
Issue #2489 : Allow color-mix() to differentiate color spaces
2025-07-25 10:41:30 +08:00
erixreyes
72f1715ba5
Issue #2489 : Adding RGB to HSL function
2025-07-25 10:40:39 +08:00
Moonchild
d866c8d5c7
[DOM] Make object loading use an explicit scheme whitelist.
2025-07-25 01:16:23 +02:00
erixreyes
02267e9a4a
Issue #2489 : Improve color-mix() computation algorithm
2025-07-25 04:49:35 +08:00
erixreyes
55254b80fd
Issue #2489 : Remove unnecessary initializations
2025-07-25 04:48:50 +08:00
erixreyes
c4a6eba91d
Issue #2489 : Fix CSS color-mix() percentage parsing
2025-07-25 04:47:13 +08:00
Moonchild
2b3ad2f082
[network] Stop accepting nameless cookies.
2025-07-23 23:08:52 +02:00
Moonchild
ee06d385a2
[js] Align br_table limits with V8/Gecko.
2025-07-23 20:40:50 +02:00
Moonchild
04775c4123
[gfx] Hold a stronger reference to gfxFontEntry.
2025-07-23 14:34:41 +02:00
Moonchild
3a6d7f624f
No issue - Adjust CSP URI reporting more closely with the spec.
...
According to the W3C discussion we should allow websocket URIs to be
reported aside from http/https/ftp ones.
This rewrites things slightly and updates comments to clarify.
We do retain the non-standard reduction to origin only in case the
report is for cross-origin URIs (stops leaking full URIs to the CSP
reported destination).
See https://github.com/w3c/webappsec-csp/issues/735
2025-07-23 07:40:45 +02:00
MeladJM
e5146624ea
Issue #2790 - Part 3: Address BZ bug 1849122 and resolve build issues
2025-07-22 23:14:40 +08:00
Francis Dominic Fajardo
038c5a95fc
Issue #2828 - Part 14: Clobber required for CSS rule processor refactoring
2025-07-22 22:41:16 +08:00
Francis Dominic Fajardo
e82fa3450a
Issue #2828 - Part 13: Exclude strong layers-related code from release builds
...
I'll be leaving this in here for future use. CSSWG hasn't defined how this will be exposed to CSSOM yet. The parser bits are also not yet implemented.
2025-07-22 22:39:49 +08:00
Francis Dominic Fajardo
5ef79e303f
Issue #2828 - Part 12: Implement cascade layer SizeOfIncludingThis
2025-07-22 22:39:49 +08:00
Francis Dominic Fajardo
b1c19137ad
Issue #2828 - Part 11: Detach weighted rule data from cascade layer
2025-07-22 22:39:48 +08:00
Francis Dominic Fajardo
047458a002
Issue #2828 – Part 10: Clean up cascade layer constructor
...
This also renames mIsWeak to mIsStrong. Cascade layers are weak by default and there's no point in always setting this to true.
2025-07-22 22:39:47 +08:00
Francis Dominic Fajardo
ebb0ae456c
Issue #2828 - Part 9: Rename CascadeEnumData to CascadeLayer
2025-07-22 22:39:47 +08:00
Francis Dominic Fajardo
5fda071898
Issue #2828 - Part 8: Extract RuleProcessorGroup (formerly ResolvedRuleCascades) into separate file
...
The struct no longer holds rule cascades since part 5 anyway, and extracting it to a separate file allows it to be reused in the future.
2025-07-22 22:39:46 +08:00
Francis Dominic Fajardo
c3e12fe822
Issue #2828 - Part 7: Walk child rule processors separately and ensure inverted cascade layer order is enforced for important rules
...
Excluding @layers declared in scoped styles because those aren't specced and are in an entirely separate cascade origin.
2025-07-22 22:39:46 +08:00
Francis Dominic Fajardo
be7a231579
Issue #2828 - Part 6: Assert rules were added to the rule cascade data
2025-07-22 22:39:45 +08:00
Francis Dominic Fajardo
bc45ec4f57
Issue #2828 - Part 5: Implement child rule processors
2025-07-22 22:39:44 +08:00
Francis Dominic Fajardo
202e354f87
Issue #2828 - Part 4: Move cache key storage to ResolvedRuleCascades
2025-07-22 22:39:44 +08:00
Francis Dominic Fajardo
211aa6d652
Issue #2828 - Part 3: Refactor selector matching and rule cascade data into separate files/classes
2025-07-22 22:39:43 +08:00
Francis Dominic Fajardo
a91b385f68
Issue #2828 - Part 2: Collect and hold rule cascade data per cascade layer
2025-07-22 22:39:42 +08:00
Francis Dominic Fajardo
253ec6706a
Issue #2828 - Part 1: Build and store the array of layer name tokens in the layer at-rules
2025-07-22 22:39:37 +08:00
MeladJM
8b579a0151
Issue #2790 - Part 2: Address BZ bugs: 1355438 and 1341230
2025-07-22 03:23:45 +08:00
Moonchild
405182e8c6
Issue #2714 - Enable the Visual Viewport API by default.
...
Flip the pref. We want this on by default for web compat.
Users can disable it if they really want to, but it doesn't expose
anything of note to web content anyway that can't already be determined.
2025-07-21 11:11:00 +02:00
Moonchild
d59ffe50bf
Issue #2714 - Implement the Visual Viewport API
...
This DOM/Web API is entirely irrelevant for desktop use.
We give back the width/height of the root scrollframe of content and
for scale we pass forward our dpp resolution (usually 1.0).
Since we have no "no touch" zones in our content on desktop,. the rest
(origin and offset) is hard-coded to (0,0).
2025-07-21 11:08:16 +02:00
Moonchild
7cd5d4c623
Merge pull request 'Set up fontconfig on XRE startup (GTK only)' ( #2827 ) from FranklinDM/UXP-contrib:work_linux-fontconfig-init-fix into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2827
2025-07-19 22:55:45 +00:00
Francis Dominic Fajardo
6f2ee41663
Issue #2826 - Set up fontconfig on XRE startup (GTK only)
2025-07-19 21:39:05 +08:00
Moonchild
465c019783
Issue #2691 - Follow-up: Add manual tests
2025-07-19 13:58:45 +02:00
erixreyes
3654fa5444
Issue #2489 : color-mix function parsing
2025-07-19 12:32:43 +08:00
erixreyes
1e7ca24d65
Issue #2489 : Create ColorMixValue structure
2025-07-19 12:22:06 +08:00
erixreyes
6b9556259e
Issue #2489 : Update enum class syntax
2025-07-19 12:19:39 +08:00
erixreyes
b8a6819b91
Issue #2489 : Include color-mix to avoid filtering
2025-07-19 12:13:58 +08:00
erixreyes
d4db7bf21b
Issue #2489 : Add color-mix computation support
2025-07-19 07:50:34 +08:00
erixreyes
5c6e1a3416
Issue #2489 : Add color-mix serialization support
2025-07-19 07:49:42 +08:00
erixreyes
485de4985c
Issue #2489 : ColorMixValue support and structure
2025-07-19 07:45:24 +08:00
erixreyes
aab2c3f490
Issue #2489 : Add CSS color-mix keyword support
2025-07-19 07:20:29 +08:00
Moonchild
e01b2390b8
Merge pull request 'Implement ParseSupportsSelector' ( #2794 ) from erx_ld1/UXP:implement-at-support-selector into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2794
2025-07-18 09:54:27 +00:00
erixreyes
679c4f4075
Issue #2691 : Repositioning comments
2025-07-18 07:13:31 +08:00
MeladJM
8605014f0d
Issue #2790 - Part 1: Add: event state, pseudo-class mapping, SetAutofilled methods
2025-07-18 06:28:23 +08:00
erixreyes
0a6a588b0c
Issue #2691 : Utilize regex for spacing rules
2025-07-18 02:33:53 +08:00
Moonchild
335e0612df
Merge pull request 'Implement overflow-inline and overflow-block CSS properties' ( #2793 ) from janjan/UXP:implement-overflow-inline-and-overflow-block into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2793
2025-07-17 09:11:01 +00:00
erixreyes
d49896cd01
Issue #2691 : Refactored ParseSupportsSelector
2025-07-17 17:10:50 +08:00
MeladJM
6640effacb
Issue #2792 - Cleanup: Remove unnecessary files
2025-07-17 16:05:09 +08:00
erixreyes
ca28df8d02
Issue #2691 : Improve Parser State Handling
2025-07-17 12:44:53 +08:00
MeladJM
857421f523
Issue #2792 -Implements parsing, computed style, and writing mode mapping for overflow-block and overflow-inline properties
2025-07-17 05:09:50 +08:00
Moonchild
a92ea8d233
Merge pull request 'VPX PowerPC fixes' ( #2786 ) from WolfReiser/UXP:master into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2786
2025-07-16 20:13:14 +00:00
Moonchild
8b7b609659
Merge pull request 'implement-css-clip-overflow' ( #2788 ) from janjan/UXP:implement-css-clip-overflow into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2788
2025-07-15 21:19:17 +00:00
MeladJM
bf7638c751
Issue #2499 - Align overflow computed values with CSS spec
2025-07-16 04:31:29 +08:00
Moonchild
45ae330bca
Merge pull request 'Fix ASan/Debug builds on MacOS.' ( #2791 ) from dbsoft/UXP:macasanfix into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2791
2025-07-14 21:23:00 +00:00
MeladJM
ee670eb701
Issue #2499 - Fix behavior of hidden and visible properly
2025-07-15 04:33:52 +08:00
Brian Smith
afef40234b
No Issue - Fix ASan/Debug builds on MacOS.
...
Not sure why we didn't run into this before, but...
Make sure MacOS versioning macros are defined before using them.
2025-07-14 12:39:49 -05:00
Francis Dominic Fajardo
f1f6c5b5cf
Issue #2736 - Follow-up: Stop using worker thread-only functions for checking if CSP is enabled
...
Should stop the barrage of worker thread assertions on debug builds.
2025-07-14 17:40:12 +02:00
Moonchild
c7cb351ad3
Issue #2720 - Follow-up: Use temp value for duplicate color stop
2025-07-14 17:24:44 +02:00
MeladJM
dd2a805fe5
Issue #2499 - Part 10: Fixed logic for overflow and removed unrelated additions
2025-07-13 08:08:23 +08:00
MeladJM
1cdd1103ec
Issue #2499 - Clean up: Remove test files from root
2025-07-13 02:20:52 +08:00
MeladJM
e7253a8594
Issue #2499 - Clean up: Recover bundle.js and remove test files from root
2025-07-13 02:19:22 +08:00
MeladJM
60d582acb4
Issue #2499 - Fix CSS overflow mixed-axis behavior
2025-07-12 02:26:42 +08:00
erixreyes
9b1247c628
Issue #2691 : Adjusted missing structure
2025-07-11 19:03:13 +08:00
erixreyes
97cae6fc0f
Issue #2691 : Add special handling for nth-child expressions
2025-07-11 10:46:20 +08:00
erixreyes
299cddb361
Issue #2691 : Enhance spacing logic for selector formatting
2025-07-11 10:41:52 +08:00
erixreyes
824a39a562
Issue #2691 : Improve token handling for selectors
2025-07-11 10:34:37 +08:00
erixreyes
e49ad49053
Issue #2691 : Add basic parentheses tracking to ParseSupportsSelector
2025-07-11 10:28:28 +08:00
MeladJM
ccdf828489
Issue #2499 - Correct overflow-x/y computed style
2025-07-10 21:59:47 +08:00
erixreyes
7560f59163
Issue #2691 : Adjusted the function to use ParseSelectorGroup
2025-07-10 09:33:49 +08:00
MeladJM
53a22cbf9a
Merge branch '2499-clip-overflow'
2025-07-09 23:03:50 +08:00
MeladJM
540a9c680b
Issue #2499 - Store overflow-inline and overflow-block so computed style returns correct values
2025-07-09 22:32:14 +08:00
Sergey Larin
50d8f81ba0
No Issue - Disable VSX extensions
...
There is no detection script for them as for AltiVec, and
it's breaking older machines (PowerMac G5 in particular).
2025-07-09 08:18:47 +00:00
Sergey Larin
8bceafeb60
Issue #2777 - Fix ffvpx build on PPC64
2025-07-09 08:18:41 +00:00
erixreyes
af37e5c0ad
Issue #2691 : Implement ParseSupportsSelector
2025-07-09 06:44:26 +08:00
Moonchild
810cd553b5
[devtools] Further improve special character escaping in "copy as curl".
...
Follow-up to 15335ce39d
Trying to cross-platform sanitize causes issues escaping too much and
as a result mangling the curl commands that get spit out.
This reverts previously added Windows-specific escaping on POSIX and
vice versa.
Since we do not offer cross-platform copying as a curl command in devtools
anyway, it makes little sense to sanitize for the O.S. we're not running on
as we would not be using the command processor in such environments that
could trip over characters for the other O.S. This was previously added
as a defense-in-depth in case we would start offering this, but I see no
real reason to do so, anyway.
Also decided to in-line comments for readability instead of a bulleted
list in the function head.
Mozilla has taken similar steps because of fall-out, but they do offer
cross-platform "copy as curl" for corner cases, so they will have to
find solutions for a problem we won't have.
2025-07-08 22:57:28 +02:00
Moonchild
d2e52f4317
Bump Goanna milestone
2025-07-08 09:20:32 +02:00
Moonchild
89f43c5551
Issue #2757 - Follow-up: Add clip-path test (manual QA)
2025-07-08 09:13:34 +02:00
Moonchild
7b3d78963d
Merge pull request 'Add support for clip-path:<geometry-box>' ( #2784 ) from erx_ld1/UXP:implement-clip-path-geomBox into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2784
2025-07-08 07:09:47 +00:00
erixreyes
408595a609
Issue #2757 : Fixed Indentations
2025-07-08 07:19:22 +08:00
erixreyes
d1c07d8bd2
No Issue - Fixed Indentation
2025-07-08 06:43:12 +08:00
erixreyes
4506180129
Issue #2757 : Create a new basicShape of type inset then set inset coords to zero.
2025-07-08 06:08:31 +08:00
MeladJM
bb45d38314
Issue #2499 - Part 3: Add CSS clip overflow support with serialization fixes
2025-07-08 05:46:54 +08:00
erixreyes
cb727ebf70
Issue #2780 : Add back the mismatch overflow handling in nsRuleNode.cpp
2025-07-07 23:32:10 +02:00
Moonchild
55b97b4932
Merge pull request 'Follow-ups for Un-prefix -moz-user-select' ( #2782 ) from RealityRipple/UXP:2106b into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2782
2025-07-07 18:09:47 +00:00
Moonchild
da8beb084c
Merge pull request 'Rebuild devtools Properties DB after Disinheriting scrollbar-width' ( #2781 ) from RealityRipple/UXP:2765-dpdb into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2781
2025-07-07 18:09:24 +00:00
Andy
e986a1a58c
Issue #2106 - Clean-up: Un-prefix -moz-user-select in Comments
2025-07-07 10:46:13 -07:00
Andy
5e969ef750
Issue #2106 - Clean-up: Remove Defunct -moz-user-select CSS Directives
2025-07-07 10:45:55 -07:00
Andy
841d2b672f
Issue #2106 - Follow-up: Additional contain Keyword Entries
2025-07-07 10:45:42 -07:00
Andy
bb881f41d7
Issue #2106 - Follow-up: Un-prefix DOM Attribute MozUserSelect
2025-07-07 10:45:22 -07:00
Andy
b09e94c651
Issue #2106 - Follow-up: Additional Un-prefixing
2025-07-07 10:43:13 -07:00
Andy
1ae509c852
Issue #2765 - Follow-up: Rebuild devtools Properties DB
2025-07-07 10:40:15 -07:00
MeladJM
ac1b4f8ed9
Issue #2499 - Part 2: Fix overflow shorthand serialization for mixed clip values
2025-07-06 05:56:06 +08:00
MeladJM
3ac22b0edf
Issue #2499 - Part 1: Add overflow: clip support and tests
2025-07-06 04:37:31 +08:00
Moonchild
f983d7e6f7
Merge pull request 'improved-implement-axis-shorthand-parsing-overflow-and-make-css-overflow-parse-2-values-as-a-shorthand' ( #2778 ) from janjan/UXP:improved-implement-axis-shorthand-parsing-overflow-and-make-css-overflow-parse-2-values-as-a-shorthand into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2778
2025-07-05 17:36:17 +00:00
MeladJM
872bc4c1a1
Issue #2124/2662: Cleaning of code
2025-07-05 22:22:57 +08:00
erixreyes
542a28588e
Issue #2124/2662: Optimize overflow shorthand parsing and serialization
2025-07-05 05:47:31 +08:00
erixreyes
b19c48957b
Issue #2662 - Implement axis-shorthand parsing
2025-07-05 05:41:47 +08:00
erixreyes
48a8d9e9e8
Issue #2124 - Adjust overflow parser to handle two values
2025-07-05 05:39:25 +08:00
erixreyes
5d4084ea32
No Issue - Add detection for medium in border shorthand
2025-07-05 05:38:01 +08:00
Moonchild
e91be25a86
[devtools] Further improve special character escaping in "copy as curl".
...
Follow-up to 15335ce39d
Trying to cross-platform sanitize causes issues escaping too much and
as a result mangling the curl commands that get spit out.
This reverts previously added Windows-specific escaping on POSIX and
vice versa.
Since we do not offer cross-platform copying as a curl command in devtools
anyway, it makes little sense to sanitize for the O.S. we're not running on
as we would not be using the command processor in such environments that
could trip over characters for the other O.S. This was previously added
as a defense-in-depth in case we would start offering this, but I see no
real reason to do so, anyway.
Also decided to in-line comments for readability instead of a bulleted
list in the function head.
Mozilla has taken similar steps because of fall-out, but they do offer
cross-platform "copy as curl" for corner cases, so they will have to
find solutions for a problem we won't have.
2025-07-04 22:41:03 +02:00
Moonchild
a3c33fa529
Merge pull request 'Un-prefix -moz-user-select and align other value names with CSS4' ( #2772 ) from jdsanchez/UXP-contrib:unprefix-mozselect-align-valuenames-css4 into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2772
2025-07-04 11:17:21 +00:00
Moonchild
2f524bd8bd
Merge pull request 'Implement CSS4 revert keyword' ( #2775 ) from FranklinDM/UXP-contrib:work_css-revert into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2775
2025-07-04 09:33:34 +00:00
Jerico
5e29f281df
Issue #2106 - Part 3: Add 'contain' as user-select value, retain 'element'
2025-07-04 17:31:53 +08:00
Basilisk-dev
e52eaa961c
Issue #2773 - Allow building FFVPX on all architectures (uplift)
...
Resolves build bustage.
2025-07-03 20:16:10 +02:00
Francis Dominic Fajardo
26da47d7ce
Issue #2045 - Part 10: Regenerate devtools CSS database and include the revert keyword in related devtools code
2025-07-03 19:37:14 +08:00
Francis Dominic Fajardo
8b18091b0f
Issue #2045 - Part 9: Include the revert keyword in the list of accepted values for CSS properties returned by inDOMUtils
2025-07-03 19:37:14 +08:00
Moonchild
05bae9bb72
Merge pull request 'Issue #2773 - Fix issues when building FFVPX on architectures without assembly routines' ( #2774 ) from Basilisk-Dev/UXP-contrib:master into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2774
2025-07-03 11:23:34 +00:00
Francis Dominic Fajardo
44736c7db9
Issue #2045 - Part 8: Remap revert keyword values to a higher cascade level
2025-07-03 18:02:50 +08:00
Francis Dominic Fajardo
47266a6381
Issue #2045 - Part 7: Override revert values during presentation hint cascade
2025-07-03 18:02:50 +08:00
Francis Dominic Fajardo
f76e834a32
Issue #2045 - Part 6: Treat "revert" values as the same as "unset" when encountered in the rule node
2025-07-03 18:02:49 +08:00
Francis Dominic Fajardo
d3a647fbfb
Issue #2045 - Part 5: Serialize shorthands using "revert" like those containing "unset"
2025-07-03 18:02:49 +08:00
Francis Dominic Fajardo
204d263577
Issue #2045 - Part 4: Parse "revert" in property values wherever "unset" is allowed
2025-07-03 18:02:48 +08:00
Francis Dominic Fajardo
d4b9bb1c87
Issue #2045 - Part 3: Implement cascade origin tracking to CSS parser
...
The CSS parser already knows the cascade origin, but it is using a different enum for storing it.
2025-07-03 18:02:48 +08:00
Francis Dominic Fajardo
bb309f6d0b
Issue #2045 - Part 2: Add handling and storage for the revert unit and value
2025-07-03 18:02:40 +08:00
Francis Dominic Fajardo
a7d6166b4c
Issue #2045 - Part 1: Revert "Temporarily force hidden elements to be actually hidden."
...
This reverts commit 1692fa5291 .
2025-07-03 17:47:04 +08:00
Francis Dominic Fajardo
a356649786
No issue - Fix mixing of tabs with space-indented code.
2025-07-03 17:47:03 +08:00
Basilisk-dev
4a2df933dc
Issue #2773 - accurately reflect status of FFVPX assembly routines on 32-bit arm in comments
2025-07-02 16:11:13 -04:00
Basilisk-dev
f538975196
Issue #2773 - Allow building FFVPX on all architectures, even without assembly routines
2025-07-02 16:08:46 -04:00
Basilisk-dev
7f7b08591e
Issue #2773 - Build ffvpx on 32-bit x86 Linux
2025-07-02 15:27:34 -04:00
Moonchild
38d4f89b0b
Merge pull request 'Unprefix CSS -moz-read-write / -moz-read-only' ( #2770 ) from RealityRipple/UXP:un-moz-read into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2770
2025-06-30 15:48:41 +00:00
Jerico
c2a9f541ff
Issue #2106 - Part 2: Align value names
2025-06-30 22:32:54 +08:00
Jerico
65c3b14ca4
Issue #2106 - Part 1: Un-prefix -moz-user-select
2025-06-30 22:32:37 +08:00
Andy
d65b5cbca6
Unprefix -moz-read-write / -moz-read-only
2025-06-29 02:10:26 -07:00
Moonchild
09815f438f
Merge pull request 'Follow-up: Fix UAF when returning the non-NAC style context from a frameless node' ( #2768 ) from FranklinDM/UXP-contrib:work_css-scrollbar-width-uaf-fix into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2768
2025-06-28 09:42:44 +00:00
Francis Dominic Fajardo
3aa8907d6a
Issue #2765 - Follow-up: Avoid declaring RefPtr in the return statement
2025-06-28 16:15:37 +08:00
Francis Dominic Fajardo
d4a327c694
Issue #2765 - Follow-up: Fix UAF when returning the non-NAC style context from a frameless node
2025-06-28 11:05:45 +08:00
Moonchild
68f176da71
Merge pull request 'Follow-up: Make scrollbar width checks use the originating non-NAC style context on Linux and Mac' ( #2767 ) from FranklinDM/UXP-contrib:work_css-inheritance-followup into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2767
2025-06-27 08:31:10 +00:00
Francis Dominic Fajardo
d71911df9c
Issue #2765 - Follow-up: Make scrollbar width checks use the originating non-NAC style context on Linux and Mac
2025-06-27 12:25:01 +08:00
Moonchild
e56b2cb539
Merge pull request 'Several inheritance-related fixes for scrollbar-width and other properites.' ( #2766 ) from FranklinDM/UXP-contrib:work_css-inheritance-fixes-for-scrollbar-width-and-related into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2766
2025-06-26 17:06:29 +00:00
Francis Dominic Fajardo
767afca38a
Issue #2764 - Fix several properties to return NeutralChange hint
...
This excludes the removal of the mBorderImageOutset change condition from triggering a repaint which doesn't make sense.
2025-06-26 23:00:16 +08:00
Francis Dominic Fajardo
72f61e87b5
No issue - Refactor nsStyleUIReset::CalcDifference to accumulate change hints
...
This was patched in m-c via an unrelated bug (bug 1370034).
Noted by dbaron in this comment: https://bugzilla.mozilla.org/show_bug.cgi?id=1370034#c69
2025-06-26 23:00:07 +08:00
Francis Dominic Fajardo
37c462a7b3
Issue #2765 - Part 3: Make scrollbar width checks use the originating non-NAC style context
2025-06-26 22:59:55 +08:00
Francis Dominic Fajardo
cd32e19c91
Issue #2765 - Part 2: Create a helper function for resolving the non-NAC style context of a given NAC
2025-06-26 22:55:44 +08:00
Francis Dominic Fajardo
0c5885b853
Issue #2765 - Part 1: Scrollbar width should be treated as a non-inherited property
...
Note: non-inherited properties are stored in "reset" style structs.
Previous implementation treats it as an inherited property, which
doesn't match the spec.
This also fixes the incorrect behavior when using the `unset` value
for this property by specifying SETVAL_UNSET_INITIAL in the mask.
2025-06-26 22:55:19 +08:00
Moonchild
b7827091b8
Merge branch 'master' into release
2025-06-26 14:26:02 +02:00
Moonchild
1e6ede5663
[XPCOM] Add Mac-specific executable extensions
2025-06-26 01:51:02 +02:00
Moonchild
87de004003
[Layout] Hold stronger references to FontFaces.
2025-06-25 23:47:56 +02:00
Moonchild
2973939451
[DOM] Update YouTube embed rewrites.
...
Youtube's usage patterns have changed regarding video embeds, so we can
remove special handling for the enablejsapi flag.
Applies YouTube embed URL replacement to the path component only.
2025-06-25 22:48:12 +02:00
Moonchild
2e344377b5
Merge branch 'master' into release
...
# Conflicts:
# devtools/client/shared/curl.js
# security/nss/lib/ckfw/builtins/certdata.txt
# security/nss/lib/nss/nss.h
# security/nss/lib/softoken/softkver.h
# security/nss/lib/util/nssutil.h
2025-06-24 17:08:59 +02:00
Moonchild
4558785beb
Issue #2762 - Remove SVGZoomEvent interface.
...
Resolves #2762
2025-06-24 12:18:13 +02:00
Moonchild
8b96b297a4
Merge pull request 'Follow-up: Ensure container is initialized for cloned declaration blocks' ( #2763 ) from FranklinDM/UXP-contrib:work_css-declaration-block-init-fix into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2763
2025-06-24 10:15:02 +00:00
Francis Dominic Fajardo
efb0f9c13c
Issue #2488 - Follow-up: Ensure container is initialized for cloned declaration blocks
2025-06-24 13:02:06 +08:00
Moonchild
b526a3ecc2
No issue - Roll forward root cert data update.
...
Include manually-added intermediate cert (like Mozilla) to deal with
SSL.com cross-signed and AAA broken trust chain.
2025-06-23 15:41:43 +02:00
Moonchild
f66803171e
No issue - NSS 3.90.7.1: Roll back root cert data update.
...
This reverts the root certificate refresh performed in 3.90.5.1 due to
root certificate trust issues seen on the 'net. Apparently the certdata
Mozilla uses is incorrect or not fully compatible with our code.
2025-06-21 18:27:20 +02:00
Moonchild
bfc09b8185
No issue - Escape < and > in element attribute values.
...
Per spec, extend escaping of attribute value characters to include
`<` and `>`. We already did this for text fragments, and it makes sense
to apply the same to attribute values. We are at parity with mainstream
that default-escape attribute values this way in current releases.
2025-06-19 12:55:54 +02:00
Moonchild
a02860fe46
Issue #2723 - Remove obsolete NPN prefs and callbacks.
...
NPN was removed from NSS a long time ago, this effectively does nothing.
ALPN also should be default-enabled (we do this by pref but the component
itself should have a sane default) so this was flipped as a drive-by fix.
Resolves #2723
2025-06-16 20:33:16 +02:00
Moonchild
69410b84e1
Issue #2734 - Add base-64 grammar check to CSP nonces where applicable.
...
Resolves #2734
2025-06-16 13:19:51 +02:00
Moonchild
80f96f3715
No issue - Update SQLite lib to 3.50.1 and require it as syslib.
2025-06-14 23:19:12 +02:00
Moonchild
d6e308710d
Merge pull request 'Allow Click() events on document-less anchors' ( #2761 ) from 2721-docless-anchor into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2761
2025-06-14 19:09:24 +00:00
Moonchild
455f26987e
Issue #2752 - Change DOMMatrix Rotate{Self}() to the current spec.
...
This changes Rotate{Self}(angle, translateX, translateY) to
Rotate{Self}(rotateX, rotateY, rotateZ) per the spec.
The resulting matrix will be a 3DMatrix
Resolves #2752
2025-06-13 22:25:56 +02:00
Moonchild
e2178a8f7e
Issue #2751 - Use rounded interpolation value when interpolating the
...
Integer type and Font stretch type, per spec.
Resolves #2751
2025-06-13 11:40:49 +02:00
Moonchild
c6a8c16f73
[devtools] Stop escaping special characters in cURL URLs.
...
Follow-up to [c117ee9d29 ]
2025-06-11 12:14:32 +02:00
Moonchild
c273d9d56e
Issue #2721 - Remove nsILinkHandler include from /mailnews
2025-06-10 02:31:12 +02:00
Moonchild
d611dfcd90
Issue #2721 - Simplify CheckHandleEventForAnchorsPreconditions.
...
The special case check is no longer necessary after our changes in this
issue and #2732 where <A> no longer applies as a link inside image maps.
2025-06-10 02:23:53 +02:00
Moonchild
d6575ba929
Issue #2721 - Remove nsILinkHandler.
...
This interface inly has a single implementation behind it, which is also
only used in 2 places after the previous commit. That's a lot of
additional complexity and compiler indirection for no good reason.
This change removes the interface and uses direct nsDocShell::Cast calls
instead of going through the interface in the few places left now that
we no longer build on a presentation context for links.
2025-06-10 01:51:14 +02:00
Moonchild
fc84231371
Issue #2721 - Create special case exception for <A>.Click() outside of DOM
...
This removes the requirement for there to be a non-null PresShell to
dispatch `Click()` events on `<A>` elements (only), since the exception
to the rule has propagated to the spec.
With these changes it should now be possible do create an anchor and
`Click()` on it from JS without actually first attaching it to the DOM
of the presented document, as abused by scripted downloads in pages
(instead of using the A attribute to custom-name downloads).
2025-06-09 23:45:31 +02:00
Moonchild
0ccac0674a
Update docs/UXP Coding Style.md
...
Clarify doc and remove leftover reference to GitHub
2025-06-09 13:16:17 +00:00
Moonchild
4c8ef01f45
Update docs/CONTRIBUTING.md
...
Update code style and refer to separate doc
2025-06-09 13:12:02 +00:00
Moonchild
43a0b75c72
Merge pull request 'Directly use FFmpeg's tx interface for FFT functions' ( #2760 ) from trav90/UXP-contrib:ffmpeg-tx into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2760
2025-06-06 19:47:58 +00:00
trav90
333f970628
Issue #2749 - Part 3a - Correctly scale inverse FFT result
2025-06-05 08:12:43 -05:00
trav90
37cbaba0ab
Issue #2749 - Part 9 - Don't consume packet when decoding audio using ffvpx and getting EAGAIN
2025-06-02 13:48:50 -05:00
trav90
400c7dba5e
Issue #2749 - Part 7 - Cleanup some symbols and defines
2025-06-02 11:43:14 -05:00
trav90
33d6d9a21b
Issue #2749 - Part 5 - Fix typos breaking the build.
2025-06-02 11:43:01 -05:00
trav90
1fd72ead24
Issue #2749 - Part 4 - Gracefully handle deleted mozavutil.so when initializing an AudioContext
2025-06-02 11:42:52 -05:00
trav90
a261e14afd
Issue #2749 - Part 3 - Scale the inverse FFT result using tx instead of pre- or post-processing the data
...
This skips a copy at the expense of having to do a `const_cast`.
2025-06-02 11:42:38 -05:00
trav90
db80a2b5a3
Issue #2749 - Part 2 - Directly use tx instead of the older avfft interface
2025-06-02 11:42:24 -05:00
trav90
8f3cd0b2fb
Issue #2749 - Part 1 - Remove MOZ_LIBAV_FFT
...
We'll be using FFmpeg's new tx interface directly for FFT functions going forward. Also simplify the yasm check while we're here.
2025-06-02 11:42:13 -05:00
yup
310b682b43
Fix loop for column picker's drop-down menu ( #2758 )
...
This fixes an oversight in the loop going over column enumeration for column selection.
Resolves #2759
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2758
Co-authored-by: yup <yup@no-reply.palemoon.org >
Co-committed-by: yup <yup@no-reply.palemoon.org >
2025-05-31 07:54:18 +00:00
Moonchild
15335ce39d
[devtools] Improve special character escaping for curl
2025-05-29 17:28:44 +02:00
Moonchild
14b03e1f8c
No issue - Set device contrast to an acceptable value if OOB.
...
On Mac and Win+DW, enhanced device contrast can possibly not be set.
This throws Skia for a loop by passing in an OOB scalar to its init.
Work around this by setting an accepted average value that helps
prevent font wash-out while not causing fringing.
2025-05-29 17:28:30 +02:00
Moonchild
0968b94e5c
No issue - Force C++ run-time type information on protobuf (uplift)
...
Protobuf uses `dynamic_cast` on polymorphic types which cannot be
inferred properly at compile-time, which can lead to unexpected behavior.
As a code safety measure, enable C++ RTTI for protobuf.
2025-05-29 17:27:29 +02:00
Moonchild
c117ee9d29
[devtools] Improve special character escaping for curl
2025-05-28 13:28:07 +02:00
Moonchild
7b859595b9
No issue - Set device contrast to an acceptable value if OOB. follow-up
...
Actually use the correct formula >.<
2025-05-28 12:31:57 +02:00
Moonchild
336c1dfec8
No issue - Set device contrast to an acceptable value if OOB.
...
On Mac and Win+DW, enhanced device contrast can possibly not be set.
This throws Skia for a loop by passing in an OOB scalar to its init.
Work around this by setting an accepted average value that helps
prevent font wash-out while not causing fringing.
2025-05-28 12:27:24 +02:00
Moonchild
deb6e22bd3
No issue - Force C++ run-time type information on protobuf
...
Protobuf uses `dynamic_cast` on polymorphic types which cannot be
inferred properly at compile-time, which can lead to unexpected behavior.
As a code safety measure, enable C++ RTTI for protobuf.
2025-05-23 00:56:19 +02:00
Moonchild
1ec0782589
Issue #2725 - Follow-up: Only include dummy_funcs.c in debug builds.
2025-05-23 00:51:30 +02:00
Moonchild
d0fa41e25a
Issue #2736 - Follow-up: Remove erroneous workerthread CSP check.
...
In `OnStreamCompleteInternal` an incorrect workerthread CSP enabled check
was added. This was a duplicate check and this is actually on the main
thread so asserts the wrong thread for a `WorkerPref`.
2025-05-22 13:18:43 +02:00
Moonchild
789291da5a
Issue #2725 - Follow-up: Fix debug builds
...
This reintroduces a much-cut-down version of dummy_funcs.c
This is necessary because otherwise the confusing function linkage inside
libavcodec will cause linking failures on MSVC debug builds.
2025-05-22 11:47:05 +02:00
trav90
ecfa8e4630
Issue #2749 - Part 8 - Put mfbt/casting.h pragmas behind GCC conditional.
2025-05-22 10:01:54 +02:00
trav90
640699d588
Issue #2749 - Part 6 - Teach mfbt/casting.h to deal with floating point values
...
This now uses `if constexpr (...)` which is a lot more readable, and still compiles to almost no assembly instructions, as expected. Floating point casting assert when casting an integer that's too large to be represented exactly as a floating point (e.g. UINT64_MAX to double, since double have less than 64 bytes of mantissa), or when casting a double that's too large to be represented in a float.
2025-05-22 10:00:48 +02:00
Moonchild
d0f4ea6ee1
Merge pull request 'No issue - Remove obsolete pref.' ( #2753 ) from Shadow/UXP-contrib:unused-pref into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2753
2025-05-22 00:46:40 +00:00
Moonchild
cf0950ec11
Merge pull request 'Several minor platform fixes and updates' ( #2754 ) from dbsoft/UXP:platform-updates into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2754
2025-05-22 00:44:50 +00:00
Brian Smith
ef7335d497
No Issue - Fix building on Linux 32-bit ARM with clang.
...
Need to have system definitions before defining the overrides.
The sytem definitions have additional attributes that conflict.
clang 14 that I am using also requires -fno-integrated-as for
several files, but I left that out since it is probably fixed
in newer versions of clang.
2025-05-21 18:24:32 +00:00
Brian Smith
affd7fe525
No Issue - MacOS fixes and updates.
...
stroucki reported on the forum a libary not loading. This corrects the path.
It still loads with the incorrect path on most systems, but fixing it anyway.
https://github.com/joseluisq/macosx-sdks
Update the SDK list with the SDKs available here.
2025-05-21 13:14:11 -05:00
Shadow
740f309189
No issue - Remove obsolete pref.
...
Bug 1356751
Remove unused pref `layout.frame_rate.precise`
2025-05-21 15:17:40 +00:00
Moonchild
ba6b2258aa
No issue - Don't support modulo math space in ExtractLinearSum. (uplift)
2025-05-20 00:56:35 +02:00
Moonchild
655f9466a7
No issue - Don't support modulo math space in ExtractLinearSum.
2025-05-20 00:56:00 +02:00
Moonchild
1e1715ff11
No issue - Fix promise combinator function state. (uplift)
2025-05-19 22:50:48 +02:00
Moonchild
5e7b266609
No issue - Fix promise combinator function state.
2025-05-19 22:50:01 +02:00
Moonchild
abad456132
Merge pull request 'Update ffvpx lib to 6.1.2' ( #2748 ) from trav90/UXP-contrib:ffvpx-update into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2748
2025-05-19 16:34:33 +00:00
trav90
d6360454d5
Issue #2741 - Part 3 - Clamp rolloff factor appropriately in PannerNodeEngine
2025-05-17 14:01:34 -05:00
trav90
8b0d20ab49
Issue #2741 - Part 2 - Don't pass a UTF-8 string to system vsnprintf
2025-05-17 14:01:17 -05:00
trav90
4ce9b76a60
Issue #2741 - Part 1 - Import FFmpeg 6.1.2 source files for ffvpx
2025-05-17 14:00:42 -05:00
Moonchild
5568acf108
Issue #2739 - Default-enable libjxl and image/jxl format
...
This removes the build option and pref, supporting JPEG-XL as an
ubiquitous format for all UXP applications.
Resolves #2739
2025-05-15 21:21:52 +02:00
Moonchild
1e15fb7ecf
Merge pull request 'No Issue - Fix a typo in DOMSVGPoint constructor.' ( #2746 ) from Shadow/UXP-contrib:dom-svg-point-1 into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2746
2025-05-15 16:53:23 +00:00
Shadow
23db4391d6
No Issue - Fix a typo in DOMSVGPoint constructor.
...
Bug 1442972
DOMSVGPoint constructor checked mX is finite twice, leaving out mY finite.
-- Stupidly rushed. Shambles.
2025-05-15 14:09:07 +00:00
Moonchild
0aaed26309
Merge pull request 'Re-work principals and improve CSP evaluation based on it' ( #2743 ) from 2736-CSP-improvements into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2743
Reviewed-by: Travis W. <trav90@no-reply.palemoon.org >
2025-05-13 18:32:28 +00:00
Moonchild
ca34a2ba47
Issue #2736 - Part 14: Make CSP-enabled available to workers.
2025-05-13 16:35:35 +02:00
Moonchild
4cca52dfcb
Issue #2736 - Follow-up: Fix line endings in nsGenericHTMLFrameElement.h
2025-05-11 13:16:49 +02:00
Moonchild
189d73bbc2
Issue #2736 - Part 13: Override page CSP for loads by expanded principals.
...
Per the CSP specification, content injected by extensions is meant to
be exempt from page CSP. This patch takes care of the most common case
of content injected by extension content scripts, which always have
expanded principals which inherit from the page principal.
To make this easier, de-virtualize BasePrincipal::Kind(), using CTOR
initializers instead.
2025-05-09 23:08:54 +02:00
Moonchild
224287a11e
Merge branch 'master' into 2736-CSP-improvements
2025-05-09 21:27:12 +02:00
Moonchild
951e739938
Merge pull request 'No Issue - Remove obsolete pref.' ( #2742 ) from Shadow/UXP-contrib:llvmpipe-pref-1 into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2742
2025-05-08 11:45:44 +00:00
Shadow
1f15176b70
No Issue - Remove obsolete pref.
...
Bug 1193695
Removes obsolete preference "gfx.prefer-mesa-llvmpipe"
The code which made use of it was removed.
2025-05-08 10:03:06 +00:00
Moonchild
6115554c5c
No issue - Bump general.useragent.compatMode.version to 128.0
2025-05-07 16:54:26 +02:00
Brian Smith
c93381fa79
No Issue - Fixes for building with LLVM 19 (uplift).
...
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-07 13:01:33 +02:00
Moonchild
7528917ad3
Merge pull request 'Fixes for building with LLVM 19 included with FreeBSD 13.5.' ( #2740 ) from dbsoft/UXP:llvm19-fixes into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2740
2025-05-06 09:15:49 +00:00
Brian Smith
6571624431
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-05 13:12:42 -05:00
Moonchild
fa071a7f2d
Issue #2736 - Part 12: Re-work style <link> href attribute.
...
Use subject principal as triggering principal in style <link> "href"
attribute.
2025-05-04 21:58:17 +02:00
Moonchild
11c89d4c2d
Issue #2736 - Part 11: Re-work <input> src attribute.
...
Use subject principal as triggering principal in <input> "src" attribute.
2025-05-04 15:36:51 +02:00
Moonchild
7e7fea3d06
Issue #2736 - Part 10: Re-work <source> srcset attribute.
...
Use subject principal as triggering principal in <source> "srcset"
attribute for <picture>.
2025-05-04 14:39:03 +02:00
Moonchild
c9bb1ffc9c
Issue #2736 - Part 9: Re-work <source> src attribute.
...
Use subject principal as triggering principal in <source> "src" attribute
for <audio>/<video> elements.
2025-05-03 23:32:48 +02:00
Moonchild
0157ea494a
No issue - Explicitly indicate image/apng in Accept: header
2025-05-03 13:49:28 +02:00
Moonchild
31a184894a
Merge pull request 'No Issue - Fix incorrectly written pref name' ( #2738 ) from Shadow/UXP-contrib:spdy-pref-1 into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2738
2025-05-02 15:23:08 +00:00
Shadow
620e38658b
No Issue - Fix incorrectly written pref name
...
Bug 1481096
"spdy.default-hpack-buffer" was incorrectly written as "spdy.hpack-default-buffer".
2025-05-02 15:07:00 +00:00
Moonchild
a76ea915df
No issue - Include all non-ubiquitous image and media types in nav Accept:
...
See: https://github.com/whatwg/fetch/issues/274#issuecomment-2841053461
Considering the ubiquitous nature of gif, jpg, png, mp4, avi, etc. those
are left out, leaving just jxl, webp, x-matroska (mkv) and webm as
explicitly mentioned supported formats for conneg.
Note: it's not clear where network.http.accept.image is used in practice
because our normal place to use the image override (imgloader) uses
a different pref (image.http.accept).
2025-05-01 16:20:08 +02:00
Moonchild
65b0a59757
[devtools] Escape some more characters for copying as cURL on Posix.
2025-04-30 15:01:54 +02:00
Moonchild
c785639043
[NSS] Update NSS version to 3.90.7
2025-04-30 15:01:48 +02:00
Moonchild
512c259822
[NSS] Update built-in data
2025-04-30 15:01:42 +02:00
Moonchild
90fea6f0d4
[NSS] Improve locking in nssPKIObject_GetInstances.
2025-04-30 15:01:35 +02:00
Moonchild
2243a2f026
[devtools] Escape some more characters for copying as cURL on Posix.
2025-04-30 11:42:20 +02:00
Moonchild
c9c6c7a7ec
[NSS] Update NSS version to 3.90.7
2025-04-30 00:54:40 +02:00
Moonchild
679971833e
[NSS] Update built-in data
2025-04-30 00:54:15 +02:00
Moonchild
c97f283b25
[NSS] Improve locking in nssPKIObject_GetInstances.
2025-04-29 23:52:20 +02:00
Moonchild
b1382e247b
Issue #2736 - Part 8: Re-work <video> and <audio> src attribute.
...
Use subject principal as triggering principal in <video>/<audio> "src"
attribute. We deviate from Mozilla here because we do not worry
about content isolation principals in Page Info.
2025-04-29 21:28:50 +02:00
Moonchild
74f038e9b0
Issue #2736 - Part 7: Re-work <frame> and <iframe> src attribute.
...
Use subject principal as triggering principal in <iframe>/<frame> "src" attribute.
2025-04-29 13:00:46 +02:00
Moonchild
7d5bb477dd
Issue #2736 - Part 6: Re-work <script> src attribute.
...
Use subject principal as triggering principal in <script> "src" attribute.
2025-04-29 09:47:42 +02:00
Moonchild
5160be7559
Issue #2736 - Part 5: Re-work img <srcset> attribute.
...
Use subject principal as triggering principal in <img> "srcset" attribute.
2025-04-28 19:15:02 +02:00
Moonchild
744c507460
Issue #2736 - Part 4: Re-work img <src> attribute.
...
Use subject principal as triggering principal in <img> "src" attribute.
Also get rid of the `BeforeMaybeChangeAttr`/`AfterMaybeChangeAttr` dance:
It makes more logical sense for these effects to happen _after_ the
attribute has actually been changed.
2025-04-28 14:37:08 +02:00
Moonchild
7b537e0b8c
Issue #2736 - Part 3: Use TriggeringPrincipal for image loads.
...
The imgLoader code consistently uses the term `loadingPrincipal` for
the principal that is called the `triggeringPrincipal` everywhere else.
This aligns the naming to avoid confusion in later changes.
2025-04-28 10:04:07 +02:00
Moonchild
365015426f
Issue #2736 - Part 2: Pass subject principal to SetAttribute and friends.
...
In order to tailor certain security checks to the caller that is
attempting to load a particular piece of content, we need to be able to
attach an appropriate triggering principal to the corresponding requests.
Since most HTML content is loaded based on attribute values, this means
capturing the subject principal of the caller who sets those attributes,
which in turn means we need to make it available to `AfterSetAttr` hooks
on all relevant element types.
2025-04-27 20:42:29 +02:00
Moonchild
138dc4eef6
Merge branch 'master' into 2736-CSP-improvements
2025-04-27 19:52:07 +02:00
Moonchild
b0cb25c556
Merge branch '2737-SVGGeometryInterface'
2025-04-27 19:42:35 +02:00
Moonchild
721b1cdbd3
Issue #2737 - Part 1: Base implementation of SVGGeometryElement.
...
Mostly mechanical changes to generalize path geometry for all SVG draw
elements. No user-exposed changes.
2025-04-27 18:03:48 +02:00
Moonchild
ace69a4d32
Issue #2736 - Part 1: Provide more consistent principals to CSP.
...
We're currently fairly vague and inconsistent about the values we provide to
content policy implementations for requestOrigin and requestPrincipal. In some
cases they're the triggering principal, sometimes the loading principal,
sometimes the channel principal.
Our existing content policy implementations which require or expect a
loading principal currently retrieve it from the context node.
Since no current callers require the principal to be the loading
principal, and some already expect it to be the triggering principal
(which there's currently no other way to retrieve), a choice was made
to pass the triggering principal whenever possible, but use the loading
principal to determine the origin URL.
2025-04-26 20:07:16 +02:00
Moonchild
49ab33bfda
Merge pull request 'Add support for FFVPX on ARM.' ( #2735 ) from dbsoft/UXP:ffvpx-arm-2725-squashed into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2735
2025-04-26 15:59:16 +00:00
Moonchild
a81d54f8a0
Merge pull request 'ImageMap cleanup' ( #2733 ) from imagemap-cleanup into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2733
2025-04-25 19:25:43 +00:00
Moonchild
b0206cc87a
Issue #2732 - Part 3: Explicitly search for <area> only.
...
Relying on the implicit conversion by `::FromContent` doesn't work for
us because we inherit that from `nsGenericHTMLElement` and isn't specific
to `HTMLAreaElement`, so it would accept other elements.
This also updates the Attribute changed event handler to exclude `<a>`
elements and cleans up an unused variable from the old code.
2025-04-25 20:29:05 +02:00
Brian Smith
b7daf5a773
Issue #2725 - Add support for FFVPX on ARM.
...
Add 32 and 64 bit ARM FFMPEG support files.
Don't use YASM on non-Intel target platforms.
Add ARM config for Mac, Windows and Unix platforms.
Remove no longer needed dummy_funcs.c files.
2025-04-25 11:34:27 -05:00
Moonchild
d023a6508e
No issue - restore nullptr-check
2025-04-25 09:34:34 +02:00
Moonchild
1be5ac6cfd
No Issue - Modernize nsImageFrame/nsImageMap
...
Primarily flow control improvements, and removing unused `nsresults`.
2025-04-25 09:11:18 +02:00
Moonchild
ef8c81f823
Issue #2732 - Part 2: Stop accepting <a> as a valid image map <area>
...
This was part of the HTML4 standard but only ever implemented by Mozilla
and removed again in HTML5 due to lack of adoption. Retaining this could
cause web compat issues and unspecified behavior in the layout engine.
2025-04-24 15:43:32 +02:00
Moonchild
61133d340d
Issue #2732 - Part 1: Rename mContainsBlockContents to mConsiderWholeSubtree
...
It is more descriptive of what it actually does.
2025-04-24 14:38:33 +02:00
Moonchild
52f31a682d
Issue #2728 - Remove obsolete CSP referrer policy.
...
This has been superseded by the dedicated Referrer-policy header.
Resolves #2728
2025-04-24 14:27:39 +02:00
Moonchild
d892468fd0
Issue #2731 - Fix crashes on unknown BigInt types in JIT (uplift)
...
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-22 15:27:34 +02:00
Moonchild
bf9c1936d5
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-22 15:26:41 +02:00
Moonchild
c1a975c0d5
Issue #2729 - Add missing jsonifier interfaces to DOM{Matrix|Rect|Point}
...
Resolves #2729
Resolves #2705
2025-04-16 16:07:57 +02:00
Moonchild
087616d12d
No issue - Update Twemoji font to unicode 16.0.0
2025-04-14 01:48:50 +02:00
Moonchild
a95d4f44e0
No issue - Windows-specific style cleanup.
...
Just css cleanup for media queries we haven't supported for quite a while.
2025-04-13 23:26:46 +02:00
Moonchild
a629ec94bf
No issue - Stop trying to preload EME .dll files in GMP
...
We don't support EME, so this entire chunk of code can go.
2025-04-13 23:25:17 +02:00
Moonchild
57a89fbdf0
Issue #2726 - Remove obsolete FirefoxOS MMS prefs
...
These aren't referenced anywhere.
Resolves #2726
2025-04-12 01:22:51 +02:00
Moonchild
4565465271
Merge pull request 'Drop support for libavcodec versions below 58' ( #2727 ) from trav90/UXP-contrib:ffvpx-update into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2727
2025-04-11 10:20:41 +00:00
trav90
add1128709
Issue #2527 - Part 3 - Remove additional checks and prefs for LibAV
2025-04-10 10:11:42 -05:00
trav90
533489d0c2
Issue #2527 - Part 2 - Remove support for libavcodec < 58
...
This removes all support for LibAV and FFmpeg 3.x and below.
2025-04-10 09:49:17 -05:00
trav90
5bbdb4c5e7
Issue #2527 - Part 1 - Remove old FFmpeg and LibAV headers
2025-04-10 07:34:06 -05:00
Moonchild
81ab98b329
Merge branch 'master' into release
2025-04-04 20:37:42 +02:00
Moonchild
a180ead660
No issue - set UXP to dereference links in file open dialogs.
...
Since we (and Mozilla) currently don't have a solution for "auto" that
doesn't break usability for users, keep the old behavior for now.
2025-04-04 20:37:05 +02:00
Moonchild
3f1cacd3e6
Merge branch 'master' into release
2025-04-03 10:22:24 +02:00
Brian Smith
3767366e59
No issue - Various updates for Mac buildability with XCode 16.3
2025-04-03 10:05:12 +02:00
Moonchild
804b9c1855
Merge pull request 'Update ffvpx lib to version 6.0.1 (take 2)' ( #2719 ) from trav90/UXP-contrib:ffvpx-update into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2719
2025-04-03 07:12:49 +00:00
Moonchild
7f4a374ff5
[widget] Extend the use of FOS_NODEREFERENCELINKS on Windows.
...
In the modern era of user-customizable Quick Access sidebars on every file
dialog, navigating via `.lnk` files is considerably less useful than it
was twenty years ago.
Disable link-following in file-open dialogs by default, to prevent any of
the usual security issues involving symlink smuggling.
Allow overriding this behavior via a pref, for users who want to trade off
this security issue for convenience of being able to follow links inside
file dialogs (older OSes and established user workflows).
Note: File Save dialogs have a set of more nuanced guards against link
smuggling and protected file access; this change doesn't affect that.
2025-04-02 14:31:19 +02:00
Moonchild
fd53d78b72
[DOM] Check state before compiling/transforming.
2025-04-02 12:50:14 +02:00
trav90
8e17997b02
Issue #2317 - Part 4a - Regenerate Mac config* files for ffvpx
2025-03-31 08:43:10 -05:00
Moonchild
39b7557ed1
No issue - Update SQLite lib to 3.49.1 and require it as syslib.
2025-03-30 15:19:28 +02:00
Moonchild
ffb8e54c32
Merge pull request 'Optimize CORS preflights' ( #2722 ) from 2703-CORS-updates into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2722
2025-03-30 12:16:20 +00:00
Shadow
a343bf8cd3
Issue #2703 - Part 4: Fix incorrect clang warning in nsCORSListenerProxy.
...
See BZ Bug 1444472
Resolves #2703
2025-03-29 21:15:35 +01:00
Shadow
d4505b077a
Issue #2703 - Part 3: Make cache entry request checking more readable.
2025-03-29 21:15:29 +01:00
Shadow
20eecdbe29
Issue #2703 - Part 2: Don't repeatedly construct comparators when checking cache entries.
...
nsCaseInsensitiveCStringComparator ought to be cheap to construct, but
the object actually has a vtable to install and whatnot. So it's
beneficial to pull the construction of it outside of the headers loop.
2025-03-29 21:15:22 +01:00
Shadow
3bb9c2fe14
Issue #2703 - Part 1: micro-optimize purging expired preflight cache entries.
...
The entries in mMethods and mHeaders aren't sorted in any special way,
so we can remove expired entries using UnorderedRemoveElementAt, which
is faster than RemoveElementAt.
2025-03-29 21:15:16 +01:00
Moonchild
38e6049f3e
Issue #2703 - Part 0: Add UnorderedRemoveElement[s]At to nsTArray
2025-03-29 21:15:00 +01:00
Moonchild
19a5b2394d
Issue #2720 - Implement two-location color stop logic.
...
This allows for two-location color stops (`color x% y%`) which is shorthand
for `color x%, color y%` where both colors are equal. (pct/length accepted)
See code comment for the reason it's implemented the way it is.
Resolves #2720
2025-03-28 23:05:50 +01:00
Moonchild
195c1d84cb
Merge pull request 'Fix Computing NTLM Channel Binding Hashes for modern certs.' ( #2718 ) from martok/UXP-contrib:mr/2715-ntlm-cbh into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2718
2025-03-26 18:32:00 +00:00
trav90
f6679fae9f
Issue #2317 - Part 10 - Get frame color range and color space directly from AVFrame
...
av_frame_get_color_range() and av_frame_get_colorspace() were removed in FFmpeg 5.0 so we have to get that information directly from AVFrame now.
2025-03-26 09:58:06 -05:00
Martok
438d4a8941
Issue #2715 - Compute Channel Binding Hashes using the certificate signature's hash algorithm as per spec
2025-03-25 22:40:05 +01:00
Moonchild
3a095c4e20
Merge pull request 'Issue #2692 - Follow-Up: fix compilation in debug' ( #2717 ) from martok/UXP-contrib:mr/2692-debug into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2717
2025-03-25 20:11:35 +00:00
Martok
3c1fc14acb
Issue #2692 - Follow-Up: fix compilation in debug
2025-03-25 20:33:32 +01:00
trav90
9ef58e78ef
Issue #2317 - Follow-up - Update ffvpx to 6.0.1
2025-03-25 12:53:17 -05:00
trav90
a290307c80
Issue #2317 - Part 9 - "send" before "receive"-ing when decoding audio using FFmpeg
...
This is what the documentation says we should be doing. We miss decoding a packet otherwise.
2025-03-25 12:43:54 -05:00
trav90
59312dfc64
Issue #2317 - Part 8 - Update compiler flags used for ffvpx
2025-03-25 12:43:16 -05:00
trav90
e17b95dc31
Issue #2317 - Part 7 - Don't use -ffreestanding flag when building with clang
...
This was added by Mozilla as a workaround for an automated build system (one that they no longer use) for building on Linux with clang (which is not our target compiler for that platform). No need for us to keep this workaround.
2025-03-25 12:42:58 -05:00
trav90
6c543a9005
Issue #2317 - Part 6 - Remove old workaround for clang-cl
...
This was added back in 2016 to work around issues with clang-cl. Shouldn't be needed anymore.
2025-03-25 12:42:36 -05:00
trav90
124f7112a3
Issue #2317 - Part 5 - Build ffvpx against the FFmpeg 6.0 headers
2025-03-25 12:42:20 -05:00
trav90
2aae4c8130
Issue #2317 - Part 4 - Regenerate config* files for ffvpx
2025-03-25 12:42:08 -05:00
trav90
81b19a0f8e
Issue #2317 - Part 3 - Update symbols list for FFmpeg 6.0
2025-03-25 12:41:45 -05:00
trav90
3097ac4c67
Issue #2317 - Part 2a - Update changes.patch for ffvpx
2025-03-25 12:39:06 -05:00
trav90
0020f0ded8
Issue #2317 - Part 2 - Import FFmpeg 6.0 source files for ffvpx
2025-03-25 12:38:42 -05:00
trav90
ab372731d7
Issue #2317 - Part 1 - Update and cleanup ffvpx documentation in preparation for lib update.
2025-03-25 12:37:07 -05:00
Moonchild
3aad2f4ac5
No issue - Fix incorrect js message ref in js shell.
2025-03-25 00:10:53 +01:00
Moonchild
b35ce37696
Merge pull request 'Issue #1531 - Bump minimum required GCC version to 9.1' ( #2716 ) from trav90/UXP-contrib:gcc-version-bump into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2716
2025-03-24 19:05:30 +00:00
trav90
1b0fde3e10
Issue #1531 - Bump minimum required GCC version to 9.1
...
GCC 9.1 is the first stable version to fully support the entire C++17 ABI.
2025-03-24 08:57:36 -05:00
Moonchild
e0782dbbcc
No issue - Add range checking to SharedArrayBuffer references.
...
This avoids a potential crash when juggling SAB allocations.
2025-03-23 11:52:13 +01:00
Moonchild
5389452f6b
Issue #2713 - Check for NaN before std::min/max() in DOMQuad and DOMRect.
...
If there is a NaN involved we should not return 0 here.
2025-03-22 23:59:32 +01:00
Moonchild
f1d4e272b0
Revert "Issue #2703 - Part 1: micro-optimize purging expired preflight cache entries."
...
This reverts commit 57de9b732e .
2025-03-22 17:12:55 +01:00
Moonchild
2e7f999734
Revert "Issue #2703 - Part 2: Don't repeatedly construct comparators when checking cache entries."
...
This reverts commit bea582f242 .
2025-03-22 17:12:46 +01:00
Moonchild
a18d193e08
Revert "Issue #2703 - Part 3: Make cache entry request checking more readable."
...
This reverts commit 4bafca05e0 .
2025-03-22 17:12:41 +01:00
Moonchild
639daf7c4f
Revert "Issue #2703 - Part 4: Fix incorrect clang warning in nsCORSListenerProxy."
...
This reverts commit 1293407238 .
2025-03-22 17:12:35 +01:00
Shadow
1293407238
Issue #2703 - Part 4: Fix incorrect clang warning in nsCORSListenerProxy.
...
See BZ Bug 1444472
Resolves #2703
2025-03-22 16:29:47 +01:00
Shadow
4bafca05e0
Issue #2703 - Part 3: Make cache entry request checking more readable.
2025-03-22 16:28:31 +01:00
Shadow
bea582f242
Issue #2703 - Part 2: Don't repeatedly construct comparators when checking cache entries.
...
nsCaseInsensitiveCStringComparator ought to be cheap to construct, but
the object actually has a vtable to install and whatnot. So it's
beneficial to pull the construction of it outside of the headers loop.
2025-03-22 16:27:59 +01:00
Shadow
57de9b732e
Issue #2703 - Part 1: micro-optimize purging expired preflight cache entries.
...
The entries in mMethods and mHeaders aren't sorted in any special way,
so we can remove expired entries using UnorderedRemoveElementAt, which
is faster than RemoveElementAt.
2025-03-22 16:27:16 +01:00
Moonchild
63e26fd3b3
Issue #2711 - Apply pattern transforms when using text-rendering on canvas.
...
Resolves #2711
2025-03-21 15:30:47 +01:00
Moonchild
c24b5fd76b
No issue - Fix some deprot
2025-03-15 20:20:23 +01:00
Moonchild
18846f998f
Merge pull request 'No Issue - Stop warning if a network request failed.' ( #2700 ) from Shadow/UXP-contrib:bug-1286036 into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2700
2025-03-13 13:33:27 +00:00
Shadow
b07a078cd2
No Issue - Stop warning if a network request failed.
...
Bug 1286036
2025-03-13 13:15:41 +00:00
Moonchild
d7a4f8dccb
Merge pull request 'Split out JS compilation APIs to their own headers' ( #2698 ) from 2692 into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2698
2025-03-12 12:52:51 +00:00
Moonchild
f7cefc7ec4
Merge pull request 'Update libjxl to 0.11.1' ( #2699 ) from libjxl-work into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2699
2025-03-12 12:52:08 +00:00
Moonchild
083f106df2
Issue #2697 - Part 4: Update README and remove upstream merged patch.
2025-03-12 13:51:35 +01:00
Moonchild
2f5029e2b3
Issue #2697 - Part 3: Disable JXL_DEC_BOX informative events.
...
Our front-end doesn't support it and it's not necessary for browser use.
2025-03-12 00:53:03 +01:00
Moonchild
5e3b700341
Merge branch 'master' into 2692
2025-03-11 22:09:24 +01:00
Moonchild
d2469da717
Merge remote-tracking branch 'Shadow/bug-1338304'
2025-03-11 13:15:49 +01:00
Moonchild
7a8d128d9e
Issue #2697 - Part 2: Update libjxl build files.
2025-03-10 23:21:52 +01:00
Moonchild
1c1547353c
Issue #2697 - Part 1: Import libjxl 0.11.1 files to the tree.
2025-03-10 23:05:20 +01:00
Shadow
857bb3cebf
Explicitly use javascript: instead of URI_INHERITS_SECURITY_CONTEXT within subjectToCSP() ( #2696 )
...
Bug 1330035
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2696
Co-authored-by: Shadow <shadow@no-reply.palemoon.org >
Co-committed-by: Shadow <shadow@no-reply.palemoon.org >
2025-03-10 22:02:20 +00:00
Shadow
6f4994c4bc
No Issue - Make nsCSPService cancel the channel if a redirect is blocked by CSP
...
Bug 1338304
2025-03-07 15:53:05 +00:00
Moonchild
6e41e01a29
No issue - fix some minor link issues in about:rights
...
Privacy was moved to a subdir. Also replacing http with https because
that is what everyone expects by default.
2025-03-07 15:43:13 +01:00
Moonchild
fb36070225
No issue - fix some minor link issues in about:rights
...
Privacy was moved to a subdir. Also replacing http with https because
that is what everyone expects by default.
2025-03-07 15:12:56 +01:00
Moonchild
9ce81488d4
No issue - Update Twemoji font to unicode 15.1.3
2025-03-07 02:06:25 +01:00
Moonchild
83fb3da836
No issue - Update Twemoji font to unicode 15.1.3
2025-03-07 02:05:21 +01:00
Moonchild
25bc2630d9
[js] Disable potentially unsafe attempts at recovering JIT operations.
2025-03-06 20:18:39 +01:00
Moonchild
e5b69418a0
No Issue - NULL crash fix in nsExternalResourceMap::PendingLoad::OnDataAvailable
...
Curiously, we should have had this at our fork point (as it was backported
by Mozilla to 52.5.2) by apparently Tobin's import wasn't actually 52.6.0.
:-/
2025-03-06 20:18:24 +01:00
Shadow
229a69be5f
Update js/src/wasm/WasmIonCompile.cpp
...
Bug 1328639 , wasm , Simplify block-value popping in Ion compilation
2025-03-06 20:18:07 +01:00
Moonchild
e2b94bd4e6
[js] Disable potentially unsafe attempts at recovering JIT operations.
2025-03-05 18:05:04 +01:00
Moonchild
55df716b29
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-05 04:09:03 +01:00
Moonchild
118bc5ff5d
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-04 20:16:54 +01:00
Moonchild
78de5e03b0
Issue #2692 - Part 5: Split out compilation and evaluation APIs into its own header.
2025-03-04 12:03:05 +01:00
Moonchild
8fc8c8d767
Issue #2692 - Part 4: Split out off-thread compilation API to its own header.
2025-03-04 00:25:25 +01:00
Moonchild
958a6712c0
Issue #2692 - Part 3: Split out JS compiled script transcoding to its own header.
2025-03-03 21:59:04 +01:00
Moonchild
1add376048
No Issue - NULL crash fix in nsExternalResourceMap::PendingLoad::OnDataAvailable
...
Curiously, we should have had this at our fork point (as it was backported
by Mozilla to 52.5.2) by apparently Tobin's import wasn't actually 52.6.0.
:-/
2025-02-27 15:13:21 +01:00
Moonchild
8a0113aa20
Merge pull request 'Simplify block-value popping in Ion compilation.' ( #2695 ) from Shadow/UXP-contrib:bug-1328639 into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2695
2025-02-25 16:22:01 +00:00
Moonchild
de7858ec2b
Issue #2692 - Part 2: Split out JS SourceBufferHolder to its own header.
2025-02-25 16:04:51 +01:00
Moonchild
bc285873c6
Issue #2692 - Part 1: Split out JS CompileOptions to its own header.
2025-02-25 15:46:46 +01:00
Shadow
6ebcec5c3a
Update js/src/wasm/WasmIonCompile.cpp
...
Bug 1328639 , wasm , Simplify block-value popping in Ion compilation
2025-02-25 13:09:26 +00:00
Moonchild
ad0f999de2
[layout] Always reserve 64 bits for frame property value
...
This ensures frame property values can always be stored even in edge cases
on 32-bit machines (where a void ptr is half the width).
2025-02-19 12:12:33 +01:00
Moonchild
7f2561312a
[layout] Always reserve 64 bits for frame property value
...
This ensures frame property values can always be stored even in edge cases
on 32-bit machines (where a void ptr is half the width).
2025-02-18 21:42:59 +01:00
Moonchild
93d11a07f9
Issue #2694 - Improve nested grid layout performance by caching.
...
This improves performance by caching the grid items' block axis
measurement, avoiding potentially exponential calculations and reflows.
Resolves #2694
2025-02-18 16:57:20 +01:00
Moonchild
32dbcc08f3
Issue #2694 - Improve nested grid layout performance by caching.
...
This improves performance by caching the grid items' block axis
measurement, avoiding potentially exponential calculations and reflows.
Resolves #2694
2025-02-18 16:56:11 +01:00
Moonchild
11c3bfac9c
Revert "Issue #2693 - Don't reflow children if they have 0 width."
...
This reverts commit 61a19f00f7 .
2025-02-18 12:11:24 +01:00
Moonchild
61a19f00f7
Issue #2693 - Don't reflow children if they have 0 width.
...
This seems to be the main reason for the reflow storm.
2025-02-18 11:17:06 +01:00
Moonchild
8e5e24c4c6
Issue #2693 - Disable CSP reporting by default in the platform.
...
This is a temporary measure to work around CF OOM situations.
Reporting is desirable normally so webmasters get alerted to CSP issues,
and this should be flipped back on once we can.
2025-02-18 10:13:35 +01:00
Moonchild
517ee6754c
[DOM] Honor security.csp.reporting.enabled pref in more places.
2025-02-18 10:13:28 +01:00
Moonchild
47690c287c
No issue - avoid potential underflow in StructuredClone.
...
Prevents potential loop-around if there's bogus internal Map data.
2025-02-18 10:13:19 +01:00
Moonchild
9e8e956ef6
Issue #2693 - Disable CSP reporting by default in the platform.
...
This is a temporary measure to work around CF OOM situations.
Reporting is desirable normally so webmasters get alerted to CSP issues,
and this should be flipped back on once we can.
2025-02-18 10:03:17 +01:00
Moonchild
6592cdfb42
[DOM] Honor security.csp.reporting.enabled pref in more places.
2025-02-18 09:59:26 +01:00
Moonchild
4499f77b29
No issue - avoid potential underflow in StructuredClone.
...
Prevents potential loop-around if there's bogus internal Map data.
2025-02-16 19:35:29 +01:00
Moonchild
53b1740ed8
[docs] Update coding style doc regarding C++ [[fallthrough]]
2025-02-10 15:23:43 +01:00
Moonchild
364b95170e
Merge branch 'master' into release
2025-02-05 23:36:07 +01:00
Moonchild
1cffa21c37
Issue #2690 - Remove additional incorrect syntax error result values.
2025-02-05 22:53:46 +01:00
Moonchild
e72ea80abf
Issue #2690 - Allow 0-length keys/empty passwords for PBKDF2.
2025-02-05 22:53:05 +01:00
Moonchild
a6cadcb204
Issue #2690 - Convert error from non-existing convenience function.
...
Didn't check that the convenience function existed for this. Throw the
error manually, instead.
TO-DO: Add these convenience functions for one-shot errors.
2025-02-05 22:51:26 +01:00
Moonchild
9c67cf3c82
Issue #2690 - Throw a NotSupportedError in case of unknown algorithm name.
...
Syntax error is incorrect for this case.
2025-02-05 22:14:02 +01:00
Moonchild
45677939bc
Issue #2690 - Replace SyntaxError with TypeError for derive_bits_keys.
2025-02-05 19:56:46 +01:00
Moonchild
8cab69a508
Issue #2690 - Add AES-KW purposed keys to list of allowable keys to unwrap.
2025-02-05 19:55:49 +01:00
Moonchild
407006d673
Merge branch 'master' into release
2025-02-05 18:33:29 +01:00
Moonchild
ee7f7385c3
[js] Null-check inputs for String and BigInt
...
Crash fix for null crash when feeding bogus strings or BigInts to
StructuredClone.
2025-02-05 15:29:23 +01:00
Moonchild
c5cda4764a
[NSS] Fix build bustage due to typo.
2025-02-04 19:46:09 +01:00
Moonchild
f115aae046
Force clobber
2025-02-04 18:40:02 +01:00
Moonchild
4ac9fc228f
[NSS] Bump NSS version to 3.90.6
2025-02-04 18:12:32 +01:00
Moonchild
2d648f06de
[NSS] Ensure zero-initialization of collectArgs.cert
2025-02-04 18:12:01 +01:00
Moonchild
b35f4febad
[NSS] Simplify error handling in get_token_objects_for_cache.
2025-02-04 18:09:28 +01:00
Moonchild
6f16c27579
[DOM] Reset mCompileResult in txMozillaXSLTProcessor::ImportStylesheet.
2025-02-04 18:01:17 +01:00
Moonchild
5d8d58fd3d
Bump default Firefox compatversion to 115.0
2025-02-04 15:52:23 +01:00
Moonchild
2d60605cc6
Merge branch 'master' into release
...
# Conflicts:
# netwerk/cookie/nsCookieService.cpp
2025-02-03 19:13:42 +01:00
Moonchild
1421e32154
No Issue - Silence unhelpful -Qspectre warnings.
2025-02-01 21:44:24 +01:00
Moonchild
848c453523
Issue #2557 - Remove URL Constructor(DOMString url, URL base).
...
URL Constructor(DOMString url, URL base) doesn't exist anymore in the spec.
Resolves #2557
2025-01-30 19:20:18 +01:00
Moonchild
4eb4a349d6
[network] Update eTLD list (PSL)
2025-01-28 10:01:55 +01:00
Moonchild
25ad3a9b15
Issue #2688 - Don't apply auto min-sizing when flex max-sizing.
...
A grid item spanning multiple grid rows/columns which include a flexible
track should not participate in the auto min-sizing calculation.
Resolves #2688
2025-01-27 04:25:29 +01:00
Moonchild
da971a8015
Merge pull request 'Don't crash on Interval handlers in already terminated script contexts' ( #2687 ) from martok/UXP-contrib:2686-scripting-timeout into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2687
2025-01-26 21:38:13 +00:00
Martok
d3c9bff055
Issue #2686 - Don't rely on return value of ExecutionContext::Compile when the context may forbid running scripts
...
This is relevant if scripting is terminated due to execution timeout but there are setTimeout/Interval callbacks pending
or if scripting is disabled altogether.
2025-01-26 21:46:31 +01:00
Moonchild
f4a37f5367
Issue #2671 - Remove baseDomain field/index from cookies.sqlite
...
Also removes obsolete appId and inBrowserElement fields.
This db change is not backwards compatible.
Resolves #2671 .
2025-01-23 22:17:18 +01:00
Moonchild
233e95c11d
[network] Don't try to use non-existing connections.
...
This should have landed here before port to release.
2025-01-23 14:51:09 +01:00
Moonchild
e2c9d26a23
No issue - Update NSS to 3.90.5.1
...
Root certificates refresh.
2025-01-22 17:31:37 +01:00
Moonchild
5d029b028a
Merge pull request 'Resolve some debug assertions in CSS' ( #2685 ) from martok/UXP-contrib:mr/css-1 into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2685
2025-01-22 14:26:21 +00:00
Martok
ddb37273bd
Issue #2078 - Follow-up: Don't try to resolve ancestor link elements when matching for Has*DependentStyle
2025-01-22 00:11:03 +01:00
Martok
751f66f472
Issue #1765 - Follow-Up: For parsing calc() in non-hue component of hsl/a(), explicitly expect <percentage> values
2025-01-22 00:02:37 +01:00
FranklinDM
251b9c8b51
No issue - Turn worker runnable assertion into something harmless in debug builds
...
It's annoying.
2025-01-20 13:46:53 +01:00
Moonchild
500a24c12b
Merge pull request 'Improve Cycle Collector efficiency and performance' ( #2680 ) from CC-improvement-work into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2680
2025-01-20 10:36:23 +00:00
Moonchild
ac41f5c69e
Merge pull request 'Update AbortSignal implementation' ( #2677 ) from 2676 into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2677
2025-01-20 10:35:39 +00:00
Moonchild
cb36b8033c
Merge pull request 'Unprefix :-moz-modal-dialog' ( #2683 ) from unprefix-moz-modal-dialog into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2683
2025-01-20 09:37:34 +00:00
Moonchild
21e3c2b56a
Issue #2681 - Expose :modal to content.
2025-01-20 09:11:32 +01:00
Moonchild
c3448f1c93
Issue #2681 - unprefix :-moz-modal-dialog
...
Keep an alias in place like for :fullscreen
2025-01-20 01:12:04 +01:00
Moonchild
0603b037ef
Issue #2678 - Remove NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED
...
This no longer does anything at this point, except add indirection.
2025-01-18 16:15:51 +01:00
Moonchild
641fc9df3a
Issue #2678 - Remove unnecessary second QI for nsCycleCollectionISupports.
...
Also moves NS_IMPL_QUERY_CYCLE_COLLECTION_ISUPPORTS to nsAgg.h, since it's
only needed there, for clarity.
2025-01-17 17:24:34 +01:00
Moonchild
f7f47bad62
Issue #2678 - Make QIing to a few often-used CCed classes faster.
...
QIing to CC interfaces is a hot path for a few widely-used classes.
Presumably there are many of these objects being created and destroyed.
By making these classes check first for the CC interfaces directly, rather
than going up the inheritance chain, the resulting overhead is reduced.
2025-01-17 16:05:32 +01:00
Moonchild
7d7ccb2dae
Issue #2678 - Default NS_INTERFACE_TABLE_HEAD_CYCLE_COLLECTION_INHERITED
...
to NS_ERROR_FAILURE
2025-01-17 15:49:23 +01:00
Moonchild
22851f62db
Issue #2678 - Use a new macro for CC isupports in some locations.
...
There are many more places that could be converted to use these new macros.
If anyone feels so inclined... ;)
2025-01-17 15:42:41 +01:00
Moonchild
5be7b41a1e
Issue #2678 - Define a new macro for CC isupports.
...
The main purpose of defining this is to make conversion of places that use
the non-CC variant easier.
2025-01-17 15:16:54 +01:00
Moonchild
659d1528b7
Issue #2678 - Clean up some uses of the table-to-map segue.
2025-01-17 15:12:40 +01:00
Moonchild
7612dff522
Issue #2678 - Optimize inherited cycle-collectible QueryInterface()
...
implementations for nsCycleCollectionISupports;
2025-01-17 14:54:40 +01:00
Moonchild
bd584e4c5f
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-17 10:55:29 +01:00
Moonchild
eaebbc30cf
Merge branch 'remove-RegisterDOMExpandoObject' into CC-improvement-work
2025-01-17 10:42:06 +01:00
Moonchild
116adc40cd
Issue #2678 - Remove now-unnecessary ClearExternalRefsForWrapperRelease.
...
All DOMProxyHandler::ClearExternalRefsForWrapperRelease now does is clear
a backpointer to the expando, and that's handled during reflector
finalization already, making it redundant.
2025-01-17 10:39:00 +01:00
Moonchild
037330ad56
Issue #2678 - Stop using EnsureExpandoObject in codegen code when we just
...
want to preserver the wrapper for a DOM proxy.
2025-01-17 10:26:03 +01:00
Moonchild
32d4274e3a
Issue #2678 - Remove the DOM proxy expando object hashtable in xpconnect.
2025-01-17 09:20:45 +01:00
Moonchild
4e4eaf82aa
Issue #2678 - Switch DOMProxyHandler::EnsureExpandoObject to using normal
...
wrapper preservation instead of RegisterDOMExpandoObject.
2025-01-17 09:13:02 +01:00
Moonchild
7b2f3c538f
Issue #2678 - Don't use QI to canonicalize nsISupports pointers in the purple buffer.
...
The nsISupports objects added to the purple buffer are already canonical,
so we can avoid some overhead by not QIing them to
`nsCycleCollectionISupports`.
2025-01-16 21:56:13 +01:00
Moonchild
d8316fb974
Issue #2676 - Implement AbortSignal.timeout()
...
This is a stub implementation because of the considerable abuse risk and
bad web code risk causing DoS, e.g. when using bad timeout values and
callbacks on the AbortSignal (e.g. recursive).
Considering the abort-ability of these signals otherwise there is never
a guarantee to websites that these signals will be triggered anyway, so
it should be considered an optional signal - meaning we can safely just
ignore the timeout, which allows us to avoid a ton of complexity and
potential sec/privacy issues.
Primary use in the wild seems to be detailed profiling/ad metrics anyway;
we don't really want to encourage that!
2025-01-16 18:38:32 +01:00
Moonchild
44c7aaf9fd
Issue #2676 - Implement AbortSignal.abort()
2025-01-16 18:34:03 +01:00
Moonchild
675f5c8e74
Issue #2676 - Don't keep AbortController alive for AbortSignal
2025-01-16 16:50:23 +01:00
Moonchild
2d1129eb7e
[network] Don't try to use non-existing connections.
2025-01-13 20:29:31 +01:00
Moonchild
495b4980e7
[DOM] Convert cleanup of FlushCurrentWord() to a ScopeExit task.
...
Ensures consistent cleanup even if early exit due to OOM.
2025-01-10 15:55:10 +01:00
Moonchild
ad480be112
[DOM] Slightly extend lifetime of data in Structured Clone operations.
2025-01-10 15:54:44 +01:00
Moonchild
a06001c022
[network] Verify connection NPN against negotiated NPN.
2025-01-10 15:54:35 +01:00
Moonchild
16b57ce9c6
[DOM] Convert cleanup of FlushCurrentWord() to a ScopeExit task.
...
Ensures consistent cleanup even if early exit due to OOM.
2025-01-08 14:39:22 +01:00
Moonchild
9baf2206c1
[DOM] Slightly extend lifetime of data in Structured Clone operations.
2025-01-08 14:15:52 +01:00
Moonchild
ee865dd269
[network] Verify connection NPN against negotiated NPN.
2025-01-08 10:47:40 +01:00
Moonchild
d47b83e79e
Merge branch '2673_-ADTS'
2024-12-29 13:58:51 +01:00
Moonchild
e9c2d6042d
Issue #2673 - Part 4: Hook up the ADTS sniffer + raw AAC MIME type.
2024-12-29 13:50:39 +01:00
Moonchild
242921e4aa
Issue #2673 - Part 2b: Improve ADTS format sniffer's performance.
...
Also avoids false positives.
2024-12-29 13:48:05 +01:00
Moonchild
fce3566eff
Issue #2673 - Part 3: Fix coding style.
2024-12-29 13:38:10 +01:00
Moonchild
92ea1210f1
Issue #2673 - Part 2: Add ADTS format sniffer.
2024-12-29 13:31:47 +01:00
Moonchild
e05ad487d8
Issue #2673 - Part 1: Minor ADTSDemuxer cleanup.
2024-12-29 13:28:59 +01:00
Moonchild
a765f3ca8f
[no issue] Remove duplicate FLAC MIME type define.
2024-12-29 13:23:08 +01:00
Moonchild
6cbda74aeb
Issue #2670 - Compute baseDomain when cookies are read from the database
...
baseDomain is used as a key for cookies in a hashmap. For cookie
operations to work properly, the baseDomain generation must be reliable.
This is, however, not the case, because the result can change by updates
to the public suffix list (PSL).
Since the stored baseDomain is not reliable, the value must be recomputed
when the database is read. This causes a minor performance hit but is
needed if we want to keep abreast of PSL changes without clobbering the
cookies database.
Resolves #2670
2024-12-24 22:12:33 +01:00
Moonchild
576fbdf490
Issue #2672 - Follow-up: Remove unused telemetry variable.
2024-12-24 22:12:24 +01:00
Moonchild
52b00c38ea
Issue #2672 - Part 4: Prevent db access while rebuilding is underway.
2024-12-24 22:12:15 +01:00
Moonchild
8ec56f459b
Issue #2672 - Part 3: Ensure thread lifetimes are in tandem.
2024-12-24 22:12:05 +01:00
Moonchild
5cbe423461
Issue #2672 - Part 2: Auto-close syncConn for edge cases.
2024-12-24 22:11:59 +01:00
Moonchild
369fbba750
Issue #2672 - Part 1: Load nsCookieService OMT and use sync reads.
...
No more lazy-loading on the main thread, thanks. Everyone needs this.
2024-12-24 22:11:52 +01:00
Martok
8e3c35efc6
Issue #1787 - Follow-up: remove no longer used AppClearDataObserver.
2024-12-24 22:11:37 +01:00
Moonchild
a9d2fbf110
Issue #2672 - Follow-up: Remove unused telemetry variable.
2024-12-24 13:53:16 +01:00
Moonchild
d36af06ee9
Issue #2670 - Compute baseDomain when cookies are read from the database
...
baseDomain is used as a key for cookies in a hashmap. For cookie
operations to work properly, the baseDomain generation must be reliable.
This is, however, not the case, because the result can change by updates
to the public suffix list (PSL).
Since the stored baseDomain is not reliable, the value must be recomputed
when the database is read. This causes a minor performance hit but is
needed if we want to keep abreast of PSL changes without clobbering the
cookies database.
Resolves #2670
2024-12-22 20:27:41 +01:00
Moonchild
61ee809689
Merge branch '2672_-_OMT_cookieservice'
2024-12-22 20:14:53 +01:00
Moonchild
4cc4dd5238
Issue #2672 - Part 4: Prevent db access while rebuilding is underway.
2024-12-22 16:58:11 +01:00
Moonchild
5b2414dedd
Issue #2672 - Part 3: Ensure thread lifetimes are in tandem.
2024-12-22 16:57:19 +01:00
Moonchild
42f70ece2d
Issue #2672 - Part 2: Auto-close syncConn for edge cases.
2024-12-22 16:05:33 +01:00
Moonchild
6e250277d2
Issue #2672 - Part 1: Load nsCookieService OMT and use sync reads.
...
No more lazy-loading on the main thread, thanks. Everyone needs this.
2024-12-22 15:55:22 +01:00
Moonchild
2e68f35707
Merge pull request 'Fix master branch compilation' ( #2666 ) from martok/UXP-contrib:mr/compilation-fix into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2666
2024-12-15 00:17:03 +00:00
Martok
786dc56351
Issue #1787 - Follow-up: remove no longer used AppClearDataObserver.
2024-12-14 23:20:01 +01:00
Martok
2c4ef2600e
No issue - Follow-up: fix compilation
2024-12-14 23:20:00 +01:00
Moonchild
8c8072860d
No issue - Cloned <audio>/<video> elements should respect muted attribute.
2024-12-05 14:16:07 +01:00
Moonchild
b3b852b877
Merge branch 'master' into release
2024-12-04 11:10:21 +01:00
Brian Smith
54043a8b0a
No Issue - Fixes assembling with binutil as >= 2.41. https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/effadce6c756247ea8bae32dc13bb3e6f464f0eb Same code exists in libav so applying the same patch there as well.
2024-12-04 11:07:18 +01:00
Moonchild
d5c6e20e9e
Merge branch 'master' into release
2024-12-01 20:52:12 +01:00
Moonchild
350e9c1879
Merge remote-tracking branch 'dbsoft/cocoawindow'
2024-12-01 20:51:22 +01:00
Brian Smith
0887abea30
No Issue - Make nsCocoaWindow hold a death grip on its native window until its destructor.
...
https://bugzilla.mozilla.org/show_bug.cgi?id=1880582
2024-11-30 17:53:28 -06:00
Moonchild
89b36775fb
Merge branch 'master' into release
2024-11-29 10:21:36 +01:00
Moonchild
cd78019ba6
Update NSS to 3.90.5
2024-11-28 11:11:09 +01:00
Moonchild
3a26f14966
[XPCOM] Warn about .library-ms files on Windows (treat as executable)
2024-11-28 09:59:45 +01:00
Moonchild
e2714e6938
Issue #2255 - Follow-up: Check if we actually have a non-null global object.
...
This should avoid the intermittent crashes that are still being reported
on this issue that end up crashing because of a proxied object that can't
be unwrapped after being passed around.
2024-11-27 18:27:00 +01:00
Moonchild
c0b74ce133
[network] Update effective TLD names list.
2024-11-26 22:45:53 +01:00
Moonchild
14b9599104
[js] Avoid potential crash if GC cell is no longer valid.
2024-11-23 13:54:29 +01:00
Moonchild
f336312483
Merge branch '2561-revertffmpeg6'
2024-11-23 00:37:52 +01:00
Moonchild
c7f25b6b9a
Revert "Issue #2317 - Part 1 - Update and cleanup ffvpx documentation in preparation for lib update."
...
This reverts commit ea464a764f .
2024-11-22 23:07:20 +01:00
Moonchild
29445ecfbe
Revert "Issue #2317 - Part 2 - Import FFmpeg 6.0 source files for ffvpx"
...
This reverts commit 3a67a9510b .
2024-11-22 23:07:13 +01:00
Moonchild
b6925236cc
Revert "Issue #2317 - Part 2a - Update changes.patch for ffvpx"
...
This reverts commit 4321dbddcc .
2024-11-22 23:07:06 +01:00
Moonchild
3b580c88d3
Revert "Issue #2317 - Part 2b - Clip constants used with shift instructions within inline assembly"
...
This reverts commit 45b9cfbe93 .
2024-11-22 23:06:59 +01:00
Moonchild
946c79b573
Revert "Issue #2317 - Part 3 - Update symbols list for FFmpeg 6.0"
...
This reverts commit ff4d550c80 .
2024-11-22 23:06:53 +01:00
Moonchild
44ef435a21
Revert "Issue #2317 - Part 4 - Regenerate config* files for ffvpx"
...
This reverts commit 21face45d3 .
2024-11-22 23:06:46 +01:00
Moonchild
9f32e371cb
Revert "Issue #2317 - Part 5 - Build ffvpx against the FFmpeg 6.0 headers"
...
This reverts commit ef8447ad4b .
2024-11-22 23:06:40 +01:00
Moonchild
c959b55dd0
Revert "Issue #2317 - Part 6 - Remove old workaround for clang-cl"
...
This reverts commit aff6fbf36c .
2024-11-22 23:06:34 +01:00
Moonchild
7786fc9d84
Revert "Issue #2317 - Part 7 - Don't use -ffreestanding flag when building with clang"
...
This reverts commit 9d333be11b .
2024-11-22 23:06:29 +01:00
Moonchild
0e09f19795
Revert "Issue #2317 - Part 8 - Update compiler flags used for ffvpx"
...
This reverts commit 165ef56547 .
2024-11-22 23:06:24 +01:00
Moonchild
aae12e5b54
Revert "Issue #2317 - Part 9 - "send" before "receive"-ing when decoding audio using FFmpeg"
...
This reverts commit 6ee56b0a60 .
2024-11-22 23:06:18 +01:00
Moonchild
5418ade030
Revert " Issue #2317 - Follow-up - Update ffvpx to 6.0.1"
...
This reverts commit 1f7023294a .
2024-11-22 23:06:11 +01:00
Moonchild
2b85a07fb9
Merge pull request 'Remove nsIAppsService, mozIApplication and mozapp data cleanup.' ( #2659 ) from DOMApps-cleanup into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2659
2024-11-21 10:12:55 +00:00
Moonchild
25d668395b
Issue #1787 - Remove nsIAppsService, mozIApplication and mozapp data cleanup.
2024-11-20 20:18:19 +01:00
Moonchild
32dd996cf2
Issue #2657 - Remove -moz-samplesize resize-decoding for low-vram mobiles
...
Resolves #2657
2024-11-20 14:10:10 +01:00
Moonchild
4222ca929d
Merge pull request 'Remove pre-allocated process manager.' ( #2656 ) from preallocatedprocessmanager-cleanup into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2656
2024-11-19 12:54:24 +00:00
Moonchild
35a4d4172e
Merge pull request 'Remove mozapp/appID and isolated mozbrowser element support' ( #2655 ) from isolatedmozbrowser-cleanup into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2655
2024-11-19 12:38:16 +00:00
Moonchild
945e5b88fb
Issue #2654 - Remove pre-allocated process manager.
...
Resolves #2654
2024-11-19 13:18:31 +01:00
Moonchild
dcba66d719
Issue #2653 - Part 5: Simplify and clean up some quota code
...
Since we no longer need a complex check, we can remove some indirection.
2024-11-18 19:15:23 +01:00
Moonchild
a64ed8a1db
Issue #2653 - Part 4: Remove isApp from quota manager and its clients
2024-11-18 15:00:21 +01:00
Moonchild
5206e5316c
Issue #2653 - Part 3: Remove support for packaged apps from asmjscache
2024-11-18 13:58:43 +01:00
Moonchild
8f21ccd0a2
Issue #2653 - Part 2: Update tests
2024-11-17 21:38:15 +01:00
Moonchild
01a1a8557b
Issue #2653 - Part 1: Initial cleanup of AppId and isolated mozbrowser.
...
This removes a lot of the plumbing for having the platform embed itself
through IPC which was required for B2G running the browser as both
shell and browser application.
2024-11-17 20:39:45 +01:00
Moonchild
b2cab55756
No issue - Stop WebGL context forcing spew in non-debug builds.
2024-11-15 21:45:59 +01:00
Moonchild
3ead6cadb6
Issue #2652 - Part2: Add "Clear DNS cache" button to about:networking
...
Resolves #2652
2024-11-15 12:47:24 +01:00
Moonchild
8a4db5fa4b
Issue #2652 - Part 1: Add a way to programmatically clear the DNS cache.
2024-11-15 12:25:52 +01:00
Moonchild
a421c7fab4
No Issue - stop spewing useless xfo < CSP warning in non-debug builds
...
This warning throws off a lot of users reporting issues. It's not even
a proper warning as it's informative at best.
Leave it in for debug builds, but stop spewing these common notices in
release builds.
2024-11-14 21:53:59 +01:00
Moonchild
7894ac066c
Merge pull request 'Implement Regexp Match indices' ( #2650 ) from matchindices-work2 into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2650
2024-11-12 13:54:02 +00:00
Moonchild
1d3c46ea86
Issue #2305 Part 4: Check for failure when getting RegExp match result template
...
Null deref crash fix.
2024-11-12 14:30:36 +01:00
Martok
62a47c35c1
Issue #2305 Part 3c: Merge repeated loops over MatchPairs
2024-11-11 09:56:07 +01:00
Martok
a2cb54f93b
Issue #2305 Part 3b: Create .indices and .indices.groups
2024-11-11 09:55:47 +01:00
Moonchild
4cc45366d7
Issue #2305 Part 3a: Pass ResultTemplateKind through CreateRegExpMatchResult
...
This sets up the MatchResult with the proper structure to contain indices
when necessary.
2024-11-11 09:55:39 +01:00
Moonchild
935d1b9e1b
Issue #2305 Part 2: Support .indices in match result template objects
...
Before match indices, all match results had the same shape. (If there are
no named capture groups, `.groups` exists but is undefined.) Match results
with `.indices` have a distinct shape, so we need a distinct template
object. We also need a template object for `.indices` itself.
2024-11-11 09:54:26 +01:00
Moonchild
c18edb0b67
Issue #2305 Part 1: Add support for hasIndices to RegExpFlags (/d)
...
Adds recognition and parsing of the /d RegExp flag.
Drive-by correction: add missing "s" for dotAll to RegExpObject::toString.
Tag #1284 and #2008
2024-11-11 09:53:05 +01:00
Karl Tomlinson
df16df5693
Bug 1920800 - Remove oldImages from check for flushed old principal handle
...
The logic should be equivalent when frame IDs on aImages are contiguously
increasing from IDs on previously set frames.
There are currently no callers passing empty aImages, but the logic in this
case would now be as described in the documentation of
UpdatePrincipalHandleForFrameID():
> We will notify mElement that aPrincipalHandle has been applied when all
> FrameIDs prior to aFrameID have been flushed out.
2024-10-31 11:44:56 +01:00
Karl Tomlinson
7f93d25967
Bug 1920800 - Remove oldImages from check for flushed old principal handle
...
The logic should be equivalent when frame IDs on aImages are contiguously
increasing from IDs on previously set frames.
There are currently no callers passing empty aImages, but the logic in this
case would now be as described in the documentation of
UpdatePrincipalHandleForFrameID():
> We will notify mElement that aPrincipalHandle has been applied when all
> FrameIDs prior to aFrameID have been flushed out.
2024-10-30 13:21:33 +01:00
Moonchild
aa1fd576ac
Issue #2648 - Inherit the content disposition of the multipart response
2024-10-30 10:54:11 +01:00
Moonchild
2512188ca7
Issue #2648 - Apply CSP to documents sent through multipart/x-mixed-replace
2024-10-30 10:54:04 +01:00
Moonchild
0f007a16d5
Issue #2648 - Inherit the content disposition of the multipart response
2024-10-30 09:50:08 +01:00
Moonchild
eacd48cccb
Issue #2648 - Apply CSP to documents sent through multipart/x-mixed-replace
2024-10-30 09:48:28 +01:00
Moonchild
fc1fe7d0c5
Issue #2646 - Parse "variations" keywords.
...
Resolves #2646
2024-10-29 15:27:44 +01:00
Moonchild
92873ead3e
Revert "Issue #2645 - Fix type confusion for ResumeKind"
...
This reverts commit 12e9db2481 .
2024-10-28 14:51:10 +01:00
Moonchild
9fede4a3ba
Merge branch '2645-resumekind'
2024-10-23 10:52:32 +02:00
Moonchild
dbd5dc9554
Issue #2645 - Return null if getName() PC is invalid.
2024-10-21 22:50:57 +02:00
Moonchild
3f538909ab
Merge branch 'master' into 2645-resumekind
2024-10-21 13:56:59 +02:00
Moonchild
8e4ce9b800
Issue #2641 - Update Fetch to adhere to the updated spec (pass refpolicy)
...
Resolves #2641
2024-10-21 12:37:01 +02:00
Moonchild
edf4210e12
Issue #2641 - Speculative load changes for referrerpolicy
2024-10-21 12:36:11 +02:00
Moonchild
5a64fd9657
Merge pull request 'Apply border-radius to Outlines as fallback to -moz-outline-radius' ( #2643 ) from RealityRipple/UXP:outline-radius-fallback into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2643
2024-10-11 21:55:29 +00:00
Moonchild
12e9db2481
Issue #2645 - Fix type confusion for ResumeKind
...
It used a mix of uint8_t and uint16_t. Set it to uint16_t.
Also don't allow non-typeset to simplify stubs used in compound opcodes.
2024-10-11 22:02:44 +02:00
Andy
0af6123536
The border-radius Directive Should Apply to Outlines
...
However, `-moz-outline-radius` should still override any `border-radius`.
This is primarily done for backward compatibility with some themes.
Additionally, it also allows for more advanced outline control than the CSS spec provides, without breaking spec.
Finally, if the spec is ever updated to include `outline-radius`, we'll be ready to drop the `-moz-` prefix!
Note: BZ 315209 has an inadvertent double-negative in nsDisplayList.cpp:
HasRadius() essentially returns the opposite value it should.
2024-10-09 12:08:46 -07:00
Moonchild
89e88ca6a0
Merge branch 'master' into release
2024-10-02 19:45:47 +02:00
Moonchild
e2c94125cc
[GMP] Factor out more detailed CheckDimensions function for CreateFrame.
2024-10-02 10:34:38 +02:00
Steve Fink
723ca48613
[js] Disallow deserializing structured clone buffers with transferables more than once.
2024-10-01 22:22:04 +02:00
Boris Zbarsky
15514da406
Bug 1493449 - Change the default credentials mode for module scripts from 'omit' to 'same-origin'
...
Resolves #2642
2024-10-01 00:03:06 +02:00
Moonchild
04d1e3e53a
Revert "Issue #2523 - Part 1 - Import headers from FFmpeg 7.0"
...
This reverts commit 27bb48deaf .
2024-09-30 23:49:05 +02:00
Moonchild
c654c1820f
Revert "Issue #2523 - Part 2 - Update audio & video decoders to work with FFmpeg 7.0"
...
This reverts commit 7dbc24a739 .
2024-09-30 23:48:55 +02:00
Moonchild
39dd9d560a
Revert "Issue #2527 - Part 1 - Remove old FFmpeg and LibAV headers"
...
This reverts commit b970fc412a .
2024-09-30 23:48:43 +02:00
Moonchild
032357c053
Revert "Issue #2527 - Part 2 - Remove support for libavcodec < 58"
...
This reverts commit 738c6a740a .
2024-09-30 23:48:33 +02:00
Moonchild
ecacd4a4d9
Revert "Issue #2527 - Part 3 - Remove additional checks for LibAV"
...
This reverts commit b0f872c919 .
2024-09-30 23:48:25 +02:00
Moonchild
a6bc5962c4
Bug 1900191 - Use nestegg advertised default duration if it exists.
2024-09-30 22:34:37 +02:00
Moonchild
12e93be21a
Bug 1878510 - Follow-up: Explicitly pass values through variadic functions
...
While MSVC has no issue with this and understands values should be passed,
clang doesn't like it and aborts.
2024-09-27 13:15:06 +02:00
Moonchild
0aeac02b89
Bug 1878510 - When recreating WebM demuxer when encountering a new segment, propagate media time
2024-09-25 22:22:49 +02:00
Moonchild
1402d8eee6
Merge pull request 'libjpeg: NetBSD/powerpc ALTIVEC simd support' ( #2591 ) from discoM/UXP:powerpc_altivec into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2591
2024-09-23 13:02:25 +00:00
Martin Husemann
42b3e18a4a
libjpeg: add NetBSD/powerpc spcific Altivec cpu feature detection
2024-09-23 12:51:33 +02:00
Moonchild
cabe9ea2d5
Update README to point to the xref site.
...
Gitea's bleve indexer is too slow and resource-intensive to use.
2024-09-22 15:14:37 +02:00
Moonchild
c57a1eee66
Merge pull request 'Make NetBSD use the same xptcall support as others.' ( #2588 ) from discoM/UXP:xptcall_netbsd_powerpc into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2588
2024-09-22 10:50:03 +00:00
Moonchild
a8fbc1dfbe
Merge pull request 'Make NetBSD/powerpc use the powerpc atomic ops.' ( #2589 ) from discoM/UXP:netbsd_ppc_atomicops into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2589
2024-09-22 10:49:44 +00:00
Martin Husemann
1f457514b0
Hardcode '-maltivec' as compiler flag for powerpc/altivec support
2024-09-22 12:39:23 +02:00
Martin Husemann
acd339fcf7
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 12:10:32 +02:00
Martin Husemann
07bb7f379b
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 11:56:04 +02:00
Moonchild
8cabf0bf72
[Debug] 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-21 15:38:34 +02:00
Moonchild
178f72365d
Merge branch '2251-ghostbuster-work'
2024-09-20 16:47:02 +02:00
FranklinDM
f819937a31
Issue #2251 - Expose unlink ghost windows to about:memory
2024-09-19 19:08:04 +02:00
FranklinDM
114b5265d6
Issue #2251 - Expose ghost window unlinking to release builds.
2024-09-19 19:07:33 +02:00
Moonchild
8595dc550f
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-19 19:04:22 +02:00
Moonchild
5b8d28ba4d
Merge pull request 'Fix building for Apple Silicon Mac with Xcode 16.' ( #2587 ) from dbsoft/UXP:clangarm64fix into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2587
2024-09-19 12:47:55 +00:00
Brian Smith
8146ba5a07
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-18 13:47:23 -05:00
Moonchild
727b9c9adf
Merge pull request 'media/libcubeb: Use Sun audio backend also on NetBSD' ( #2583 ) from nia/UXP:sunaudio-netbsd into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2583
2024-09-13 10:33:35 +00:00
Moonchild
7056301965
Merge pull request 'Fix bashism in old-configure.in' ( #2582 ) from nia/UXP:shellport into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2582
2024-09-13 10:29:01 +00:00
Nia Alarie
dc3c2f3da8
media/libcubeb: Use Sun audio backend also on NetBSD
2024-09-13 12:15:20 +02:00
Nia Alarie
baf4c5b6bb
Fix bashism in old-configure.in
2024-09-13 12:13:13 +02:00
Moonchild
3575bc580f
Merge pull request 'Implement and expose config preferences for SOP and CORS' ( #2580 ) from FranklinDM/UXP-contrib:work_content-disable-cors-sop into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2580
2024-09-12 16:19:47 +00:00
FranklinDM
21e49b0a92
Issue #2578 - Part 3: Expose CORS and CORS bypass preflight requests preferences.
2024-09-13 00:00:11 +08:00
FranklinDM
9d9534cc71
Issue #2578 - Part 2: Implement preference for disabling CORS preflight requests if CORS is disabled
2024-09-13 00:00:11 +08:00
FranklinDM
993681b010
Issue #2578 - Part 1: Implement preference for controlling same-origin policy
2024-09-13 00:00:10 +08:00
Moonchild
3d29257050
Merge pull request 'js: Support for the MPROTECT security feature (PaX and NetBSD)' ( #2579 ) from nia/UXP:mprotect into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2579
2024-09-12 13:04:23 +00:00
Nia Alarie
7dd9438137
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-12 09:42:44 +02:00
Moonchild
2697dd162f
[js xpconnect] Fix error handling in xpc::CreateSandboxObject
2024-09-05 10:13:09 +02:00
Moonchild
53a4179c4a
[js] Simplify with-env handling in FetchName
2024-09-05 10:13:01 +02:00
Moonchild
a120731ddd
[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-05 10:12:55 +02:00
Moonchild
44c611aeaf
[js xpconnect] Fix error handling in xpc::CreateSandboxObject
2024-09-04 15:21:42 +02:00
Moonchild
7c4cbfd49e
[js] Simplify with-env handling in FetchName
2024-09-04 15:21:08 +02:00
Moonchild
64bc57fa85
[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-04 13:31:23 +02:00
Moonchild
bda611a41a
Revert "Issue #2523 - Part 1 - Import headers from FFmpeg 7.0"
...
This reverts commit 27bb48deaf .
2024-09-03 13:03:20 +02:00
Moonchild
5a02a4a1a4
Revert "Issue #2523 - Part 2 - Update audio & video decoders to work with FFmpeg 7.0"
...
This reverts commit 7dbc24a739 .
2024-09-03 13:03:12 +02:00
Moonchild
e59f358b45
Revert "Issue #2527 - Part 1 - Remove old FFmpeg and LibAV headers"
...
This reverts commit b970fc412a .
2024-09-03 13:02:55 +02:00
Moonchild
90c9535b39
Revert "Issue #2527 - Part 2 - Remove support for libavcodec < 58"
...
This reverts commit 738c6a740a .
2024-09-03 13:02:46 +02:00
Moonchild
ad778bbfdb
Revert "Issue #2527 - Part 3 - Remove additional checks for LibAV"
...
This reverts commit b0f872c919 .
2024-09-03 13:02:31 +02:00
Moonchild
c6a82aa32c
Merge pull request 'Implement hashbang grammar (ES2023)' ( #2560 ) from hashbang-work into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2560
2024-09-01 09:22:33 +00:00
Moonchild
334fe4be6c
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-08-29 11:40:42 +02:00
Moonchild
d76e865563
Merge pull request 'Add DOMMatrix versions of getTransform/setTransform' ( #2558 ) from dommatrix-transforms-work into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2558
2024-08-17 09:06:31 +00:00
Moonchild
ed862e5777
Issue #1810 - Add DOMMatrix {get|set}Transform WebIDL interfaces
2024-08-16 14:33:06 +02:00
Moonchild
719bed3ead
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-16 14:31:51 +02:00
Moonchild
e1c28ba852
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-16 11:02:07 +02:00
Moonchild
ba54621f01
Issue #1925 - Follow-up: Fix debug builds (namespace)
2024-08-12 11:23:35 +02:00
Moonchild
8868552b24
Merge branch 'master' into release
2024-08-09 19:35:34 +02:00
Moonchild
9babba6c44
No issue - Update TwemojiMozilla to 15.1.2
...
Fixes out-of-bounds watermelon emoji size.
2024-08-09 19:35:21 +02:00
Moonchild
66826eb487
Merge branch 'master' into release
2024-08-09 19:18:02 +02:00
Moonchild
5ff9b81126
Issue #2554 - Follow-up: Also block [::] and [::0.0.0.0] IPv6 addresses.
2024-08-09 19:17:49 +02:00
Moonchild
39127b5ee9
Merge branch 'master' into release
2024-08-09 16:18:50 +02:00
Moonchild
70c32d67f9
Issue #2554 - Follow-up: Correct code comment (no functional changes)
2024-08-09 16:18:37 +02:00
Moonchild
80cff816a8
Merge branch 'master' into release
2024-08-09 15:56:36 +02:00
Moonchild
09a4832168
Issue #2554 - Block access to 0.0.0.0 on non-Windows OSes.
...
Resolves #2554 .
2024-08-09 15:56:21 +02:00
Moonchild
e9dda8dafa
Merge branch 'master' into release
...
# Conflicts:
# security/nss/doc/rst/releases/index.rst
# security/nss/lib/nss/nss.h
# security/nss/lib/softoken/softkver.h
# security/nss/lib/util/nssutil.h
2024-08-07 20:13:00 +02:00
Moonchild
1fd02db477
Update NSS to 3.90.4
...
Note: manually updated the version indicators due to BZ Bug 1912012
(https://bugzilla.mozilla.org/show_bug.cgi?id=1912012 )
2024-08-07 13:03:17 +02:00
Moonchild
810a054eb5
[DOM] Pass error up the chain in SetColorValue.
2024-08-07 11:58:14 +02:00
Moonchild
3104055d42
Merge pull request '[gfx] Fix loading libGL on NetBSD' ( #2553 ) from nia/UXP:webgl-netbsd into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2553
2024-08-04 19:01:49 +00:00
Nia Alarie
0d3d33623f
[gfx] 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-04 13:39:17 +02:00
Moonchild
3c46251443
Merge pull request 'Clean up CSS Macro use' ( #2552 ) from 1925-macro-cleanup-work into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2552
2024-08-03 06:32:26 +00:00
Moonchild
186c58897b
Issue #1925 - Replace RectCorner with Corner.
2024-08-02 12:10:27 +02:00
Moonchild
bb3405c8b6
Issue #1925 - Convert NS_SIDE_TO_HALF_CORNER to a constexpr function.
2024-08-02 11:15:28 +02:00
Moonchild
b82596eb98
Issue #1925 - Convert NS_SIDE_TO_FULL_CORNER to a constexpr function.
2024-08-02 10:36:07 +02:00
Moonchild
cf7b3e3a09
Issue #1925 - Convert NS_SIDE_IS_VERTICAL to a constexpr function.
2024-08-02 10:31:21 +02:00
Moonchild
c9cd25abc5
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-02 10:15:50 +02:00
Moonchild
73e0e8bbbe
Issue #1925 - Convert NS_HALF_TO_FULL_CORNER to a constexpr function.
2024-08-02 09:25:03 +02:00
Moonchild
0bdb90ab40
Issue #1925 - Convert NS_HALF_CORNER_IS_X to a constexpr function.
2024-08-02 08:30:23 +02:00
Moonchild
c0d87ea595
Issue #1925 - Move NS_FOR_CSS_HALF_CORNER to gfx/2d/Types.h and rewrite it.
2024-08-02 08:10:52 +02:00
Moonchild
11c9b60eba
Issue #1925 - Convert half-corner index macros to an enum.
2024-08-02 08:01:01 +02:00
Moonchild
f9d1e87756
Issue #1925 - Remove use of NS_CORNER_{TOP|BOTTOM}_{LEFT|RIGHT} macros.
2024-08-02 06:08:29 +02:00
Moonchild
15ad259ac7
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-02 04:50:01 +02:00
Moonchild
819c3c990b
Issue #1925 - Move Corner enum from mozilla::css to mozilla namespace.
2024-08-01 20:28:28 +02:00
Moonchild
c4d4c9d6de
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-01 20:09:22 +02:00
Moonchild
903dea4285
Issue #1925 - Move NS_FOR_CSS_CORNERS and enum to gfx/2d/Types.h.
2024-08-01 19:55:20 +02:00
Moonchild
620a3336eb
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-01 18:58:14 +02:00
Moonchild
6d20a50b09
Issue #1925 - Remove use of SIDE_BIT{S}_* macros.
...
This already has an enum in gfx/Types.h
2024-08-01 18:23:03 +02:00
Moonchild
dc4316132b
Issue #1925 - Remove use of NS_SIDE_* macros.
2024-08-01 17:28:01 +02:00
Moonchild
9b375ff678
Issue #1925 - Remove mozilla::css::Side typedef.
2024-08-01 16:46:27 +02:00
Moonchild
7a0c651c5d
Issue #1925 - Move NS_FOR_CSS_SIDES and operator++ to gfx/2d/Types.h
2024-08-01 16:11:48 +02:00
Moonchild
a653cb9b83
No issue - Update Twemoji Mozilla to 15.1.1
...
This updates Lime and Watermelon emoji to slightly larger versions.
2024-07-29 23:17:42 +02:00
Moonchild
4875759e78
Merge branch '2515-remove-content-dispatch-flags'
2024-07-25 22:44:15 +02:00
Moonchild
126b981629
Issue #2515 - Guard devtools click handlers against non-primary clicks.
...
We only want clicks on HTML elements to respond to the primary button.
2024-07-25 15:50:31 +02:00
Moonchild
103cf524ec
Issue #2515 - Clarify only dispatching in chrome.
2024-07-25 15:42:08 +02:00
Moonchild
ea96fed795
Issue #2515 - Remove mForceContentDispatch and mNoContentDispatch
2024-07-25 15:33:07 +02:00
Moonchild
8c46320564
Merge pull request 'constants.py: fix powerpc arch detection' ( #2550 ) from barracuda156/UXP:arch_fix into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2550
2024-07-20 21:36:14 +00:00
Sergey Fedorov
23b2a53d4c
constants.py: fix powerpc arch detection
2024-07-16 21:14:14 +08:00
Moonchild
4616af0c7c
Bump platform version
2024-07-16 11:40:03 +02:00
Moonchild
a873824668
Merge pull request 'Implement parser and CSSOM support for layer at-rules' ( #2549 ) from FranklinDM/UXP-contrib:work_css-cascade-layers-parser-only into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2549
Reviewed-by: Moonchild <moonchild@palemoon.org >
2024-07-16 09:12:34 +00:00
FranklinDM
e5cec10a4e
Issue #2486 - Part 5: Fix parsing of nested layer names
...
This does not handle the merging of same-named layers, however.
2024-07-15 09:00:53 +08:00
FranklinDM
917cac9674
Issue #2486 - Part 4: Ensure layer statement rule is appended and invalid tokens are restored
2024-07-15 08:33:34 +08:00
FranklinDM
be4699e54c
Issue #2486 - Part 3: Fix serialization of layer statement rule
2024-07-15 08:33:26 +08:00
FranklinDM
caaf54a046
Issue #2486 - Part 2: Implement parser support for layer block and layer statements
...
This does not deal with layer specificity.
2024-07-14 22:58:25 +08:00
FranklinDM
d3812c1a0e
Issue #2486 - Part 1: Initial plumbing and CSSOM support for cascade layers
2024-07-14 22:58:24 +08:00
Moonchild
729b32a2f0
Issue #2547 - Remove hidden network.dns.disablePrefetchFromHTTPS pref.
...
Resolves #2547
2024-07-10 23:25:49 +02:00
Moonchild
11fc818dfb
[DOM/network] Disable DNS prefetching if document nodePrincipal is systemPrincipal
2024-07-10 10:54:53 +02:00
Moonchild
84ed844e3f
[IPC] Clean up control flow in WaitableEvent.
2024-07-10 10:54:43 +02:00
Moonchild
50af804f1c
[network] Add additional cookie setting checks.
...
Added checks for sub-document navigations from cross-site to same-site in
third-party checks when setting a cookie.
2024-07-10 10:54:37 +02:00
Moonchild
82ce93bce9
No issue - Update SQLite to 3.46.0
2024-07-10 10:54:24 +02:00
Moonchild
228abc8259
No issue - Update NSS to 3.90.3
2024-07-10 10:54:17 +02:00
Moonchild
1692fa5291
Issue #2045 - Temporarily force hidden elements to be actually hidden.
...
For the time being, because we don't have `revert` yet, we should force
normally hidden elements to be hidden, so they aren't revealed by sites
using the bad practice of `*{ }` style blanking rules but then using
`revert` to re-hide them.
2024-07-10 10:54:02 +02:00
Moonchild
79c8e2e86c
[DOM/network] Disable DNS prefetching if document nodePrincipal is systemPrincipal
2024-07-10 09:14:47 +02:00
Moonchild
93b4e6566d
[IPC] Clean up control flow in WaitableEvent.
2024-07-10 07:43:38 +02:00
Moonchild
42a3dffe69
[network] Add additional cookie setting checks.
...
Added checks for sub-document navigations from cross-site to same-site in
third-party checks when setting a cookie.
2024-07-10 00:22:49 +02:00
Moonchild
b21dd824a2
Merge branch 'master' of https://repo.palemoon.org/MoonchildProductions/UXP
2024-07-09 22:38:36 +02:00
Moonchild
ccd9e8e106
Merge pull request 'Implement Sec-Fetch headers and improve mixed content blocker' ( #2544 ) from sec-fetch-work into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2544
2024-07-09 20:37:45 +00:00
Moonchild
eebb25dda0
No issue - Update SQLite to 3.46.0
2024-07-09 21:29:41 +02:00
Moonchild
27ce4ea0fa
No issue - Update NSS to 3.90.3
2024-07-09 21:18:25 +02:00
Moonchild
fb4ede7d2e
Merge branch 'remove-foxeye'
2024-07-09 13:30:27 +02:00
Moonchild
a09c6b6ce0
Issue #2546 - Part 6: Remove canvas.imagebitmap_extensions.enabled preference.
2024-07-09 12:16:18 +02:00
Moonchild
a8f376aa3b
Issue #2546 - Part 5: Remove tests
2024-07-09 12:00:35 +02:00
Moonchild
e9868fcb47
Issue #2546 - Part 4: Remove mappedDataLength and findOptimalFormat
2024-07-09 11:56:51 +02:00
Moonchild
7e49aebcc8
Issue #2546 - Part 3: Remove mapDataInto
2024-07-09 00:33:06 +02:00
Moonchild
1c04829dca
Issue #2546 - Part 2: Remove special FoxEye CreateImageBitmap method.
2024-07-08 23:45:49 +02:00
Moonchild
2379bb29be
Issue #2546 - Part 1: Remove BufferSource support in CreateImageBitmap.
2024-07-08 23:36:40 +02:00
Moonchild
2b2475905e
Issue #2542 - Part 9: Remove TODO comment.
...
From our understanding of the spec, our current implementation is
feature-complete.
2024-07-07 03:07:29 +02:00
Moonchild
f25c809ff0
Issue #2045 - Temporarily force hidden elements to be actually hidden.
...
For the time being, because we don't have `revert` yet, we should force
normally hidden elements to be hidden, so they aren't revealed by sites
using the bad practice of `*{ }` style blanking rules but then using
`revert` to re-hide them.
2024-07-06 17:47:06 +02:00
Moonchild
ff9f024589
Issue #2542 - Part 8: Enable Sec-Fetch-* headers by default.
2024-07-05 15:26:49 +02:00
Moonchild
add1037bb8
Issue #2542 - Part 7: Move SecFetch.* to /netwerk where it belongs.
2024-07-05 14:05:45 +02:00
Moonchild
962ca150bd
Issue #2542 - Part 6: Add Sec-Fetch-User header for all requests that
...
are the direct result of a system principal request.
This means navigation resulting from interaction with the browser UI
should result in a -user header (address bar navigation, bookmarks, etc.)
2024-07-04 22:40:06 +02:00
Moonchild
b693f60fc7
Issue #2542 - Part 5: Assume browser-initiated requests for unspecified
...
content types to always be user-triggered.
2024-07-04 22:34:00 +02:00
Moonchild
a4cd652b6f
Issue #2542 - Part 4b: Fix pointer mess-up.
2024-07-04 19:00:29 +02:00
Moonchild
689cbd7509
Issue #2542 - Part 4: Use BasePrincipal's IsSameOrigin() in SecFetch.
2024-07-03 17:03:36 +02:00
Moonchild
a3f4272093
Issue #2542 - Part 3: Expand BasePrincipal with an IsSameOrigin check
...
Manual checking of the origins in SecFetch fails, so we add this
capability to the base principal interface for sake of ease.
We could use ScriptSecurityManager directly but it's more convenient
this way and can be re-used elsewhere in the future.
2024-07-03 17:02:32 +02:00
Moonchild
927173b648
Issue #2542 - Part 2b: Fix typo in pref check
2024-07-03 16:59:39 +02:00
Moonchild
c62cc61613
Issue #2542 - Part 2: Base implementation of Sec-Fetch-* header code.
...
Currently following Mozilla putting stuff in /dom for additional porting,
but it's actually the wrong location since it belongs in /netwerk with
the other code that deals with http headers.
2024-07-03 11:00:53 +02:00
Moonchild
b4a50f830c
Issue #2542 - Part 1b: Fix dom.securecontext.whitelist code issues
...
Some minor bugfixes (wrong condition and string type)
2024-07-02 22:07:39 +02:00
Moonchild
5cadc0eee2
Issue #2542 - Part 1: Factor out Potentially Trustworthy URI checks.
...
For sake of ease of use, converted to boolean functions that just assume "false"
in case of errors.
Note: Mozilla makes special arrangements for .onion addresses as well but
we explicitly do not adopt that. TOR browser can do that all day if it wants.
2024-07-02 21:23:30 +02:00
Moonchild
bb58c6ae38
Issue #2541 - Deal with empty LineNameList in CSS grid templates.
...
Resolves #2541
2024-07-02 01:39:01 +02:00
Moonchild
59431e104c
Issue #2531 - Adjust rounding in toExponential (and kin) to round up at midpoint.
...
Resolves #2531
2024-07-02 00:14:28 +02:00
Moonchild
47de3819f6
Issue #2543 - adjust toFixed precision range according to spec update.
...
As pointed out in the ecma-262 spec change discussion, the behavior is
inconsistent for negative numbers because the exponential fallback assumes
all the digits will be displayed. The negative support was motivated just
by consistency, without any particular concrete use cases, and it's not
supported in other browsers, so this patch removes negatives.
Resolves #2543
2024-07-01 23:43:24 +02:00
Moonchild
037f0ac647
Issue #2541 - Deal with empty LineNameList in CSS grid templates.
...
Resolves #2541
2024-06-30 22:33:59 +02:00
Moonchild
b97f03f0c6
Issue #2537 - Don't assume username fields appear before password fields in forms.
2024-06-28 14:55:06 +02:00
Moonchild
e3443de36e
Merge pull request 'Separate Emoji Cluster Extenders' ( #2539 ) from RealityRipple/UXP:Component2538 into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2539
2024-06-28 12:43:10 +00:00
Andy
4b1bf3620d
Issue #2538 - Part 3: Bring ZWJ Awareness to ClusterReverseIterator
...
Additional patch to resolve a bug exposed while working on the Cluster issue.
2024-06-27 18:29:23 -07:00
Andy
5d221d0cb2
Issue #2538 - Part 2: Add IsEmojiClusterExtender
...
Check specifically for Emoji-specific clusters only in Emoji-specific contexts.
2024-06-26 11:11:19 -07:00
Andy
9cca2f22c5
Issue #2538 - Part 1: Undo IsClusterExtender Change
...
This partially reverts commit 49b7816286 .
So much for getting rid of the stupid constants...
2024-06-26 11:10:15 -07:00
Moonchild
8a9955f181
Issue #2534 - Part 2: Update tests
2024-06-23 18:11:22 +02:00
Moonchild
90a67a4825
Issue #2534 - Part 1: window.postMessage should provide a trusted MessageEvent
2024-06-23 17:55:13 +02:00
Moonchild
4381067d04
Issue #2536 - Re-implement plugin enumeration shuffle.
...
Resolves #2536
2024-06-23 17:31:02 +02:00
Moonchild
5457c3711b
Merge pull request 'Remove support for libavcodec 57 and below' ( #2535 ) from trav90/UXP-contrib:2527 into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2535
2024-06-23 14:43:40 +00:00
trav90
b0f872c919
Issue #2527 - Part 3 - Remove additional checks for LibAV
...
Also removes the "media.libavcodec.allow-obsolete" pref.
2024-06-21 07:14:53 -05:00
trav90
738c6a740a
Issue #2527 - Part 2 - Remove support for libavcodec < 58
...
This removes all support for LibAV and FFmpeg 3.x and below. Only FFmpeg 4.x or higher is supported now.
2024-06-19 15:39:31 -05:00
trav90
b970fc412a
Issue #2527 - Part 1 - Remove old FFmpeg and LibAV headers
2024-06-19 14:51:14 -05:00
Moonchild
0886ccfa95
No Issue - Add navigator.webdriver attribute.
...
This patch adds an enumerable, configurable, readonly attribute "webdriver" to
the Navigator object. The attribute is always false because we do not support
WebDriver or scripted automation.
The navigator.webdriver attribute is meant as an indication to web authors that
a document is visited by WebDriver. It is important to stress that it is not
meant as a way to detect that a website is being visited by a browser automation
tool or bot, but as a tool for web documents to take alternate code paths.
On the off-chance exposing navigator.webdriver turns out to be catastrophic,
we put it behind a new preference dom.webdriver.enabled that controls its
exposure.
2024-06-17 09:44:52 +02:00
Moonchild
f3786e036c
Merge pull request 'Add support for libavcodec61' ( #2528 ) from trav90/UXP-contrib:2523 into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2528
2024-06-17 06:50:26 +00:00
Moonchild
4f58dc27f9
Re-synchronize branches, picking up 2 commits that were not correctly merged.
2024-06-16 12:32:02 +02:00
Moonchild
fc5324b9f7
Issue #2532 - Align dialog submission triggered by form.submit() with the spec.
...
Submission in click handler of submit button should not be deferred
per https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#submit-dialog
See Bug 1719872
2024-06-15 17:56:37 +02:00
Moonchild
561f65aabf
Issue #2532 - Prevent unwanted text selection when backdrop is clicked.
2024-06-15 17:56:31 +02:00
Moonchild
9acfe36b95
Issue #2532 - Don't do PreventDefault for escape key if <select> dropdown is not shown
...
We always use PreventDefault for <select> element, which is problematic if modal
dialog is on as it prevents cancelling the dialog. We fix it by not blocking the
default action if <select> is not shown.
See Bug 1649278
2024-06-15 17:56:25 +02:00
Moonchild
ce495cbd85
Issue #2532 - Fix a null pointer crash while doing dialog form submission
...
See Bug 1652699
2024-06-15 17:56:20 +02:00
Moonchild
c44020f188
Issue #2532 - Default pref check to true
2024-06-15 17:56:15 +02:00
Moonchild
35e7a695af
Issue #2532 - Implement form[method=dialog]
...
See bug 1557303
2024-06-15 17:56:08 +02:00
Moonchild
d8091d3958
Issue #2532 - Align dialog submission triggered by form.submit() with the spec.
...
Submission in click handler of submit button should not be deferred
per https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#submit-dialog
See Bug 1719872
2024-06-15 17:04:24 +02:00
Moonchild
726452fc88
Issue #2532 - Prevent unwanted text selection when backdrop is clicked.
2024-06-15 17:03:43 +02:00
Moonchild
361b76beb2
Issue #2532 - Don't do PreventDefault for escape key if <select> dropdown is not shown
...
We always use PreventDefault for <select> element, which is problematic if modal
dialog is on as it prevents cancelling the dialog. We fix it by not blocking the
default action if <select> is not shown.
See Bug 1649278
2024-06-15 17:03:16 +02:00
Moonchild
6ca3eb7c98
Issue #2532 - Fix a null pointer crash while doing dialog form submission
...
See Bug 1652699
2024-06-15 17:02:31 +02:00
Moonchild
42a208e60c
Issue #2532 - Default pref check to true
2024-06-15 17:01:57 +02:00
Moonchild
c2de359372
Issue #2532 - Implement form[method=dialog]
...
See bug 1557303
2024-06-15 17:01:27 +02:00
Moonchild
40016a1bf9
Merge pull request 'Fix altivec code, fix building for PPC' ( #2530 ) from o_o/UXP:master into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2530
2024-06-15 07:19:12 +00:00
Richard-Rogalski
e593872f19
Fix altivec code, fix building for PPC
...
Altivec code was previously uncompilable, and the altivec accelerations
also could not be disabled with a build flag or env variable, leading
to pale moon not being buildable on any altivec supported CPU ( all
PPC CPUs ever almost ). Why? I don't know, 'inline' in C is cursed
and making it static makes it significantly less so.
Closes: https://forum.palemoon.org/viewtopic.php?f=5&t=31108&p=252462#p252462
Signed-off-by: Richard Rogalski <rrogalski@firemail.cc >
2024-06-14 19:45:13 -05:00
Moonchild
7a55055d22
Merge branch 'master' into release
2024-06-13 21:31:39 +02:00
trav90
7dbc24a739
Issue #2523 - Part 2 - Update audio & video decoders to work with FFmpeg 7.0
2024-06-10 07:55:58 -05:00
trav90
27bb48deaf
Issue #2523 - Part 1 - Import headers from FFmpeg 7.0
2024-06-08 15:54:35 -05:00
Moonchild
061900b87f
[gfx] Use calloc for cairo font-creation functions.
2024-05-23 13:48:18 +02:00
Moonchild
abe32f7309
[gfx] Ensure font entry's unitsPerEm and font extents are initialized when gfxFont is created.
2024-05-23 13:48:11 +02:00
Moonchild
7bfd4c7fe7
[DOM] Clean up ReportLoadError and normalize error messages.
2024-05-23 13:48:04 +02:00
Moonchild
859d6a3e2c
[gfx] Clear mSharedBlobData if blob creation failed.
2024-05-23 13:47:58 +02:00
Moonchild
c2f05f99af
[network] Make http digest auth cnonce length configurable.
2024-05-23 13:47:50 +02:00
Moonchild
55b33fb02b
Merge branch 'master' into release
2024-04-19 22:05:10 +02:00
Moonchild
c247e40d41
Revert "Update NSS to 3.90.2"
...
This reverts commit b1cb7e0a8f .
2024-03-23 07:45:56 +01:00
Moonchild
05c58f159d
Revert "Undo build system change from NSS update to fix missing command-line utils."
...
This reverts commit 67d5fefcf2 .
2024-03-23 07:45:40 +01:00
Moonchild
67d5fefcf2
Undo build system change from NSS update to fix missing command-line utils.
2024-03-21 21:53:57 +01:00
Moonchild
aad017be9e
[MFBT] Make move assignment of RefPtr have the same behavior as nsCOMPtr
2024-03-20 19:52:30 +01:00
Moonchild
4543dbf3ff
[parser] Specialize AddAttributes for <html>/<body>.
2024-03-20 19:52:24 +01:00
Moonchild
b1cb7e0a8f
Update NSS to 3.90.2
2024-03-20 19:52:08 +01:00
Moonchild
1c6d21c97d
[network] Block set-cookie from multipart/x-mixed-replace
2024-02-22 23:20:07 +01:00
Eitan Isaacson
fc42fb38c9
[layout] Process pairs in coord list in PolyArea.
...
Range -1 assures the array is even with a step size of 2, avoiding lone
value processing.
2024-02-22 23:19:59 +01:00
Jens Stutte
618068c15b
[DOM] Check if WorkerRunnable::Run runs on top of WorkerThreadPrimaryRunnable::Run in a worker thread.
2024-02-22 23:19:53 +01:00
FranklinDM
808516a0a8
No issue - Replacing location might throw NS_ERROR_UNEXPECTED while the developer tools window is being destroyed
2024-02-22 23:19:45 +01:00
FranklinDM
7d6b806040
No issue - Remove leftover doorhanger code from the developer tools
...
Partially based on reverting https://bugzilla.mozilla.org/show_bug.cgi?id=1078539
2024-02-22 23:19:38 +01:00
Martok
6b4e2c9d73
Issue #2453 - Follow-Up: Use hard-coded minimum timer interval in workers.
...
From the spec: "If nesting level is greater than 5, and timeout is less than 4, then set timeout to 4.",
therefore not having it user-configurable doesn't really break anything.
2024-02-22 23:19:20 +01:00
Moonchild
787883f6a4
Disable URL-paste content loading by default.
...
See https://repo.palemoon.org/MoonchildProductions/Pale-Moon/issues/1957
2024-02-22 23:18:36 +01:00
Moonchild
7f02753c04
Issue #2465 - Do not use our in-tree metrics hints if using system-cairo
...
Use a somewhat equivalent font-options instance when using the
system-supplied cairo lib, instead of our in-tree extension.
Resolves #2465
2024-02-07 21:40:55 +01:00
Moonchild
8fa38b3445
Issue #618 - Follow-up: Fix missed constant refactor preventing ExportEntries from working.
2024-02-07 21:40:29 +01:00
Moonchild
541c5f9f45
Merge branch 'master' into release
2024-01-25 15:55:20 +01:00
Moonchild
4b6bd4976a
Merge branch 'master' into release
...
# Conflicts:
# modules/libpref/init/all.js
2024-01-25 09:09:51 +01:00
Moonchild
a0843d52b4
Revert "[XPCOM] Compare return value of readlink in nsLocalFileUnix::GetNativeTarget"
...
This reverts commit 188f61505f .
2023-12-21 14:03:31 +01:00
Kershaw Chang
977a8cbed8
Bug 1736385 - Make sure thread is alive in CacheIOThread::ThreadFunc
2023-12-21 11:44:50 +01:00
Moonchild
1e85085305
[dom] Better handling of aborted websocket workers.
...
Catch the case where we are in worker-shutdown but are still connecting
and make filing and closing connections a bit more robust with a RefPtr.
2023-12-21 11:44:42 +01:00
Barret Rennie
188f61505f
[XPCOM] Compare return value of readlink in nsLocalFileUnix::GetNativeTarget
2023-12-21 11:44:32 +01:00
Moonchild
a514d7f6a4
[layout] Always check against fragment length in nsTextFrame
2023-12-21 11:44:21 +01:00
Moonchild
47c2c75ceb
Bug 1868901
2023-12-21 11:44:12 +01:00
Moonchild
7082ec8a9a
No issue - Allow redirects for requests that require preflight
...
Spec update, see Bug 1312864
2023-12-21 11:43:58 +01:00
Brian Smith
2907a84362
Issue #2387 - Remove a missed AddRef() which could cause leaks.
...
Update comments explaining how the reference counting works.
2023-12-10 23:58:08 +01:00
Brian Smith
b8d1ee05c3
Issue #2387 - Collection of fixes related to a crash while canceling a dynamic import.
...
Add AddRef/Release hooks for embedding's script or module private value and set this script source object where appropriate.
https://bugzilla.mozilla.org/show_bug.cgi?id=1519140 Partial, no Value passing changes.
Clear the list of dynamic import requests after cancelling them in ScriptLoader::ParsingComplete as we do for other requests.
https://bugzilla.mozilla.org/show_bug.cgi?id=1291535
ScriptLoader::OnStreamComplete never returns a failure.
https://bugzilla.mozilla.org/show_bug.cgi?id=1627275
Also cancel the correct kind of parser for Modules.
2023-12-10 23:57:54 +01:00
Moonchild
0b625e624a
[DOM] Fix double-free crash in MessagePort.cpp
2023-12-10 17:02:28 +01:00
Moonchild
a4da712f91
Issue #2281 - Exclude throw wrapping on modern libcpp.
...
As discussed.
2023-11-25 18:17:35 +01:00
Moonchild
185f124e87
Issue #2381 - Remove system-nspr/nss leftovers (release port)
2023-11-25 17:15:01 +01:00
Moonchild
8633077691
[WebGL] Flip the validation state for gl_KHR_no_validation.
...
The original state was inverted due to confusion due to a double
negative (not:no_error).
This validation should only be enabled on Windows (for now).
Future tracking and discussion in BZ 1862039
2023-11-24 12:24:55 +01:00
Moonchild
39a1899045
[DOM] Improve MessagePort state machine.
2023-11-24 12:24:32 +01:00
Moonchild
4dc011a187
[Network] Fix relative URL path starting with multiple slashes
2023-11-24 12:24:19 +01:00
Moonchild
ccb12e1dda
[DOM] Check if rootDoc is secure context for web compat
2023-11-24 12:24:04 +01:00
Moonchild
63f0d3e295
[WebGL] Turn on more validation/error checking in webgl (when not on Win)
2023-11-24 12:23:49 +01:00
Moonchild
09d598c496
Revert "No Issue - add mutex in EventSource"
...
This reverts commit 10b3237e52 .
Apparently causes deadlocks in Linux.
2023-11-15 12:22:11 +01:00
Moonchild
7e60482d80
No issue - Stop supporting data: scheme in SVG <use> elements.
2023-11-14 12:42:58 +01:00
Moonchild
10b3237e52
No Issue - add mutex in EventSource
...
Potentially avoids a gc crash when load is high.
2023-11-14 12:42:26 +01:00
athenian200
99af7cc028
Issue #1824 - Support SunOS Linker mapfiles.
...
Generating OS-appropriate mapfiles from a provided SYMBOL_FILE is
apparently required to work with newer ffvpx. Nothing else in our
codebase actually seemed to require it. Also seems to reduce the amount
of console spam I see relating to symbol visibility during the build
process, and I think it even makes libxul.so link a bit faster.
2023-11-04 01:47:00 -05:00
athenian200
76b360b5d1
Issue #1824 - Move to GCC 10.
...
It seems to work, but it is a lot slower than compiling with GCC 7.
2023-11-04 01:38:20 -05:00
Moonchild
4001b58a3e
[DOM] For now, use C++11 static_asserts only.
...
Single-param static_assert is C++17 or later.
Follow-up to 3d92b82125
2023-10-27 14:20:10 +02:00
Moonchild
134a8aac87
Issue #35 - Follow-up: undo locale changes so they aren't pre-processed.
...
Pre-processing loses our localization notes and licensing headers for
l10n which is not a good thing. It's not a big deal having a few unused
strings in these files in the resulting locales.
2023-10-26 22:47:13 +02:00
Moonchild
3e2e48872a
Merge branch 'master' into release
2023-10-25 22:51:58 +02:00
Moonchild
622b43cbc5
Merge branch 'master' into release
2023-10-25 22:49:37 +02:00
Moonchild
75b44ef620
Merge branch 'master' into release
...
# Conflicts:
# js/src/wasm/WasmBinaryIterator.cpp
# media/libvpx/vp8/encoder/onyx_if.c
2023-10-05 23:43:10 +02:00
Basilisk-Dev
00084ea49c
Cherry-pick upstream libvpx fix
...
Backport of https://hg.mozilla.org/releases/mozilla-esr115/rev/5241232a3292943bd59ff1704eab60fee3cbc9d1
Addresses CVE-2023-5217
2023-09-28 16:18:01 +02:00
Moonchild
b6fae24296
[network] Refactor TransactionObserver::OnDataAvailable()
2023-09-27 21:55:28 +02:00
André Bargull
13c6b7422d
[js] Handle dead wrappers
2023-09-27 21:55:19 +02:00
Moonchild
24f2e663cd
Restore incorrect SIMD Op removals.
2023-09-25 10:48:42 +02:00
Brian Smith
f96b155988
Issue #2313 - Implement WebAssembly sign extension opcodes. (uplift)
2023-09-25 10:46:25 +02:00
Brian Smith
d5cc24e916
Issue #2308 & #1240 Follow-up - Fill in missing JSOP_INC/DEC cases for Doubles in Ion.
2023-09-20 03:34:06 +02:00
Brian Smith
8eba271c5f
Issue #2308 & #1240 Follow-up - Replace JSOP_POS in ++/-- with JSOP_TONUMERIC.
...
https://bugzilla.mozilla.org/show_bug.cgi?id=1519135
2023-09-20 03:33:57 +02:00
Brian Smith
19955c82b3
Issue #2308 & #1240 Follow-up - Fill in missing JSOP_INC/DEC cases for Ion on Intel32/64.
2023-09-20 03:33:50 +02:00
Brian Smith
80ae8aec7c
Issue #2308 & #1240 Follow-up - Add BigInt support to JSOP_INC and JSOP_DEC.
...
https://bugzilla.mozilla.org/show_bug.cgi?id=1526309
2023-09-20 03:33:41 +02:00
Brian Smith
d8441d7c81
Issue #2308 & #1240 Follow-up - Introduce new increment and decrement operations.
...
https://bugzilla.mozilla.org/show_bug.cgi?id=1508521
2023-09-20 03:33:33 +02:00
Brian Smith
c2446f2478
Issue #2308 - Fix JSON BigInt regressions.
...
https://bugzilla.mozilla.org/show_bug.cgi?id=1522433
2023-09-20 03:33:23 +02:00
Brian Smith
6efb7a1904
Issue #2282 - Performance observer safety checks.
...
Both fixes from later revisions, without the Dispatch API changes.
2023-09-20 03:33:14 +02:00
Brian Smith
fa0b03a10f
Issue #2026 Follow-up: Fill in missing BigInt64 cases in js::IsTypedArrayConstructor().
...
Hopefully fixes RSA errors on ProtonMail.
2023-09-20 03:32:41 +02:00
Moonchild
3ae2972950
Issue #2309 - Cherry-pick upstream libwebp fix.
...
Backport of: https://chromium.googlesource.com/webm/libwebp.git/+/2af26267cdfcb63a88e5c74a85927a12d6ca1d76
Resolves #2309
2023-09-13 10:22:50 +02:00
Moonchild
2d48de9998
Merge branch 'master' into release
2023-09-01 15:44:29 +02:00
Moonchild
3b029cdfe4
Merge branch 'master' into release
2023-07-15 16:01:39 +02:00
Moonchild
ea9077a8a5
Merge branch 'master' into release
2023-07-07 19:41:06 +02:00
Moonchild
b4af6b6265
No issue - Set the default for incremental cycle collector to be off.
...
Negative performance impact if enabled.
2023-06-05 21:17:24 +02:00
Moonchild
ae1d53ceb1
Issue #2257 - Remove rematerialized frames after bailouts and exceptions.
...
This ensures that rematerialized frames used by the devtools debugger
are properly removed so that no stale data is used during bailouts.
2023-06-05 21:17:13 +02:00
Brian Smith
c3f4709d5e
Issue #2252 - Prevent crash when attempting to load a script with execution disallowed.
...
This issue is due to the ExecutionContext added in Issue #1691 not handling GetScript()
in a context where script execution is not allowed. This expressed itself in crashes when
playing MP4s with the NoScript extension installed and enabled.
2023-06-05 21:16:57 +02:00
FranklinDM
a7bb3fc175
Issue #1592 - Follow-up: Ensure topmost scope marker is cleaned up
2023-06-05 21:16:43 +02:00
FranklinDM
6a0203f25f
Issue #2250 - Part 2: Ignore the ancestor filter assertion if rule matching is restricted or if the current element is under a shadow host
...
This only affects debug builds.
2023-06-05 21:16:31 +02:00
FranklinDM
b0dfcb147f
Issue #2250 - Part 1: Return early if the element being tested for is likely an ancestor and does not have an assigned slot
2023-06-05 21:16:22 +02:00
Job Bautista
06fd4c9357
Issue #2221 - Follow-up: Simplify jit_ioncheck{1|2|3}_deunified_sources assignment.
2023-06-05 21:15:52 +02:00
Job Bautista
b9ea7fd9ee
Issue #2221 - Follow-up: Ensure jit_ioncheck{1|2|3}_deunified_sources is defined.
...
Should fix build bustage in armhf, as well as prevent bustage in mips32.
2023-06-05 21:15:33 +02:00
Moonchild
58308a5c7a
Merge branch 'master' into release
...
# Conflicts:
# python/mozbuild/mozpack/dmg.py
2023-05-11 17:35:14 +02:00
Brian Smith
88c7d54975
No Issue - Fix FreeBSD build failure with WebRTC enabled. (release uplift)
...
Tag #2227
2023-05-01 22:12:11 +02:00
Timothy Valldeperas
eadb5678b3
Issue #2175 - Fix build bustage in WebRTC. (release uplift)
...
Resolves #2227
2023-05-01 19:04:57 +02:00
Moonchild
54e3e60796
Revert "[devtools] Don't allow sourcemap URLs to redirect"
...
This reverts commit 2a05494abe .
2023-04-17 10:25:45 +02:00
Moonchild
2a05494abe
[devtools] Don't allow sourcemap URLs to redirect
2023-04-13 10:54:34 +02:00
Moonchild
bc89e58def
[network] Improve checks while parsing MIME parameters.
2023-04-13 10:54:27 +02:00
Moonchild
3a009b97f6
Issue #1911 - Follow-up: Filter out illegal characters in more locations.
2023-04-13 10:54:10 +02:00
Moonchild
a105f6d5e9
No issue - Fix off-by-one of kLargeDatasetSize
2023-04-13 10:54:02 +02:00
Sandra
5db241c0c0
Increase size of data over which we write the data to disk rather than keep it around in memory
2023-04-13 10:53:53 +02:00
Sandra
d38dca10e5
Use nsAnonymousTemporaryFile for clipboard cache
...
Base on https://github.com/mozilla/gecko-dev/commit/ecc04a9245b409d7eed7df63ba733cd2073180de
2023-04-13 10:53:14 +02:00
Moonchild
54fc723126
Issue #2180 - Follow-up: Move sentinel check up a bit.
2023-04-02 15:39:05 +02:00
Moonchild
9b8ca17ee4
Issue #2180 - Add pref to control NSS TLS 1.3 protocol downgrade sentinel
2023-04-02 15:38:57 +02:00
Moonchild
cddc95b39b
Issue #2176 - Don't reconstruct the parent when tearing down
...
display:contents nodes with pseudo-elements.
We need to use StyleChildrenIterator which iterates over them, instead.
This is a bit of a hack but we can't always have our cake.
We need to be a bit careful though, since ::before and ::after are owned
by their own frame, and thus could be unbound from the tree or even dead
after removing the frame.
This basically ports bugs 1435566 and 1438467
2023-04-02 15:38:31 +02:00
Moonchild
5676529793
Issue #2171 - Skip over shadow nodes that don't have an owning node.
...
Resolves #2171
2023-04-02 15:37:44 +02:00
Moonchild
ce68156cf4
Revert "[widget] Linux GTK3: Detach accessible from moz_container before it's deleted"
...
This reverts commit 465a18f342 .
Resolves #2168
2023-03-18 19:57:56 +01:00
Moonchild
5032ad9593
Issue #2117 - Follow-up: Run precomplete cmd during package staging
...
We rely on this for all OSes except Mac where precomplete should not
be in the root (it uses Mozilla's fallback packaging that places it in
$RESPATH)
2023-03-17 22:11:30 +01:00
Moonchild
b55f765f2e
Issue #1911 - Follow-up: Filter out illegal file extensions also.
...
We already did this for file names, just not extensions.
2023-03-17 12:02:55 +01:00
Moonchild
856078d435
[widget] Linux GTK3: Detach accessible from moz_container before it's deleted
2023-03-17 12:02:46 +01:00
Moonchild
c74c262d2f
[GFX] Add some sanity checks and clamps to SurfaceData calculations.
2023-03-17 12:02:38 +01:00
Moonchild
787e29e374
No Issue - Ensure more OsiSpace
...
ensureOsiSpace(); was very much under-used. This adds more instances
where it makes sense to ensure Osi space before placing masm calls.
2023-03-17 12:02:31 +01:00
FranklinDM
e439896c9b
Issue #2148 - Shrink Vector from (usually) four pointers in size to three
...
when no inline storage is used.
See Bug 1338374
2023-03-17 12:02:20 +01:00
FranklinDM
15b508f1fb
Issue #2148 - Make Vector not use AlignedStorage for its inline element storage
...
See Bug 1338374 1/2
2023-03-17 12:02:12 +01:00
Job Bautista
5651ebfc76
Issue #2148 - Discard RegExpShared data tables when discarding regexp JIT code.
...
Based on Mozilla bug 1378736's part 2.
Should fix the double-free.
Follow-up for #2083
2023-03-17 12:02:04 +01:00
Job Bautista
593bfc1ce8
Issue #2148 - Don't null out RegExpObject -> RegExpShared pointer on GC.
...
Follow-up for issue #2083 .
Taken from Mozilla bug 1378736.
2023-03-17 12:01:50 +01:00
Brian Smith
28953cda7a
Issue #2160 - Initial support for notarizing during DMG package.
...
Added --with-macbundle-idenity configure option to set a codesign identity.
If no identity is set or cross-compiling from Linux no codesigning will be
done. Currently doing a full deep bundle v2 sign, instead of limited v1.
2023-03-15 15:10:52 +01:00
Moonchild
516f3f545d
Merge branch 'master' into release
...
# Conflicts:
# CLOBBER
# js/src/vm/RegExpObject.cpp
# security/nss/lib/nss/nss.h
# security/nss/lib/pkcs12/p12d.c
# security/nss/lib/softoken/softkver.h
# security/nss/lib/util/nssutil.h
2023-03-13 13:11:20 +01:00
Moonchild
83aff65a42
Force clobber
2023-02-19 17:53:31 +01:00
Moonchild
5bd97df957
[NSS] Update NSS to 3.52.9 to pick up fixes.
2023-02-19 17:51:26 +01:00
Moonchild
8772711181
[DOM] Check whether module load request was already cancelled when a load fails
2023-02-19 17:51:18 +01:00
Moonchild
dc9526f4c6
[widget] Properly test for and handle errors in target-surface creation
...
and mapping.
2023-02-19 17:51:10 +01:00
Moonchild
9ab36e7ae0
Issue #2103 - Fix typo in RegExp Parser
...
This corrects the typo where the left-hand character would determine if
the right-hand character would be added or not.
Resolves #2103
2023-02-02 10:50:47 +01:00
Job Bautista
e8d30841e7
Issue #2091 - Parse \p{Extended_Pictographic} too.
...
This is essentially a follow up to Issue #1286 . We already have
UCHAR_EXTENDED_PICTOGRAPHIC in our in-tree ICU, so there's no reason to comment
this case out.
2023-01-27 05:01:53 +01:00
Martok
9faf29374e
Issue #2093 - Trace HeapPtr<RegExpShared::groupsTemplate_> for GC move/compact events, regression from #2072
2023-01-26 20:11:28 +01:00
Moonchild
75e4818d36
Merge branch 'master' into release
2023-01-19 00:42:00 +01:00
Moonchild
a65144e9e0
Fix merge conflicts.
2023-01-13 12:55:52 +01:00
Moonchild
4f29548526
Merge branch 'master' into release
...
# Conflicts:
# image/decoders/nsJXLDecoder.cpp
# js/src/irregexp/NativeRegExpMacroAssembler.cpp
# js/src/irregexp/RegExpAST.h
# js/src/irregexp/RegExpEngine.cpp
# js/src/irregexp/RegExpParser.cpp
# js/src/irregexp/RegExpParser.h
# xpcom/io/nsLocalFileUnix.cpp
2023-01-13 12:11:56 +01:00
Moonchild
528db2cbd8
Issue #1818 - Remove obsolete path hack in widget code.
2022-12-16 09:13:48 +00:00
Moonchild
84e6bcc1e6
[network] Align cookie checks with RFC 6265 (bis)
2022-12-16 09:13:38 +00:00
Moonchild
0dc9ff518d
[libjar] Add some extra sanity checks to our Zip reader.
2022-12-16 09:13:25 +00:00
Moonchild
a2e3bd44aa
[network] move some generic websocket code to the baseclass
2022-12-16 09:13:09 +00:00
Moonchild
163a0e7caf
Revert "Issue #1279 - Implement regular expressions lookbehind (v2)"
...
This reverts commit d10e8a5b06 .
2022-12-15 09:11:02 +00:00
Moonchild
49a86db5f3
Issue #2040 - Pre-multiply the alpha values in our JXL decode buffer. (uplift)
...
Using selective calculation (only if not opaque) and fast integer
math here should optimize well in compilers.
2022-12-15 09:09:19 +00:00
Moonchild
2640953d8b
Issue #2019 - Follow-up: Make nsPluginInstanceOwner also listen to keypress events in the system event group.
...
nsPluginInstanceOwner only listens to keypress events in the default event group.
However, in our changed operating mode, keypress events are not fired in the
default event group if the key does not result in something printable.
This means that nsPluginInstanceOwner should also listen to keypress events
in the system event group and should handle each keypress that way, but
only once. I.e., if a printable keypress event is received in the system event
group, it should be ignored, since it would've already been handled in the
default event group in that case.
2022-11-26 18:18:09 +00:00
Moonchild
7eb7d67f7a
Issue #2033 - Temporary fix of R<->B channel swap.
...
We have a BGR/RGB channel ordering mismatch here. to at least
provide proper display, a quick&dirty byte swap on the output
buffer will fix this for now, but we should look into seeing where
the surface mismatch is caused.
std::swap() should optimize pretty well in any of the used
compilers, but if necessary, a full buffer ASM routine can be
slotted in (although on current hardware I doubt this will be
even noticeable as it is)
2022-11-26 02:43:18 +00:00
Moonchild
e28860ba7f
Revert "[XPCOM] Deal with lstat potentially lying in nsLocalFileUnix."
...
This reverts commit c127f58ef3 .
2022-11-20 14:14:48 +00:00
Moonchild
49a96b1d91
Merge branch 'master' into release
2022-11-19 20:15:23 +00:00
Moonchild
3130812693
Merge branch 'master' into release
2022-11-12 18:34:07 +00:00
Moonchild
71ae69aea8
[WebGL] Implement webgl.max-size-per-texture-mib
2022-10-26 14:50:05 +00:00
Moonchild
9e34d697c7
[XPCOM] Fix Base64 off-by-one issue and safeguard against this mistake in the future.
2022-10-26 14:49:55 +00:00
Moonchild
8fa9125d02
[No issue] Hold some strong references on nsRefreshDriver
2022-10-26 14:49:46 +00:00
Brian Smith
4b4488c3e4
Issue #2022 - Part 2 - Add Ventura version detection.
...
Also add Monterey and Ventura to the graphics driver blocklist.
2022-10-26 14:49:33 +00:00
Brian Smith
248db7d301
Issue #2022 - Part 1 - Fix transparent windows on MacOS 13 Ventura.
...
During the BaseWindow creation contenView is nil on Ventura...
So create a NSView with the requested dimensions and set is as the contenView.
2022-10-26 14:49:23 +00:00
Moonchild
e199f2949b
[No issue] Ensure LockImpl::Try() returns the correct bool value.
2022-10-26 14:45:39 +00:00
Moonchild
456b5450a4
Issue #2010 - Ensure raw tagnames are safe exiting internalEntityParser
...
This resolves #2010
2022-09-28 13:50:10 +00:00
Moonchild
d8e629c4a3
Merge branch 'master' into release
2022-09-27 20:12:40 +00:00
Moonchild
4898c4f297
Merge branch 'master' into release
2022-09-24 12:16:59 +00:00
Moonchild
7cd578bbc6
Merge branch 'master' into release
2022-09-22 13:16:48 +00:00
Moonchild
1e91df628a
Merge branch 'master' into release
2022-09-22 11:52:16 +00:00
Moonchild
b110549cbd
Merge branch 'master' into release
2022-07-27 06:07:45 +00:00
Moonchild
971047835a
Merge branch 'master' into release
...
# Conflicts:
# config/milestone.txt
# toolkit/mozapps/extensions/internal/XPIProvider.jsm
2022-07-25 20:47:06 +00:00
Moonchild
dd4d9eb032
[XPCOM] Crash safely when TArray replacements are OOB.
...
In the unlikely event of TArray element replacement calls are OOB, crash safely
with a debug breakpoint instead of corrupting memory.
2022-07-03 15:49:44 +00:00
Moonchild
8b94f1e480
[DOM] use the sanitizer to restrict href in svg:use to fragment-only URLs
2022-07-03 15:49:34 +00:00
Moonchild
c89610a5c7
[network] Clear PAC loader when the load failed
2022-07-03 15:49:23 +00:00
Moonchild
217963cbed
Update NSS to 3.52.7
2022-07-03 15:49:14 +00:00
Moonchild
c4f4e18340
[DOM media] Remove potentially unsafe type accesses when debug logging
2022-07-03 15:49:04 +00:00
Moonchild
8a7c0e7345
[network] Clean up and update the list of external protocol handlers.
2022-07-03 15:48:54 +00:00
Moonchild
52e304d450
Issue #1053 - Follow-up: Correct conditional define on POSIX systems. (uplift)
...
This conditional was incorrectly changed when removing Android support.
This potentially causes issues on Linux systems by not using pthreads correctly,
which may lead to high idle CPU usage.
2022-06-28 13:28:20 +00:00
Moonchild
cfc0eeca53
Revert "Issue #1909 - Guard against empty update manifest URL"
...
This reverts commit d7fadcdef9 .
2022-06-07 11:59:07 +00:00
Moonchild
ebd3dd9228
Merge branch 'master' into release
2022-06-03 21:50:44 +00:00
Moonchild
cb40e4e7ef
Merge branch 'master' into release
2022-06-01 13:54:11 +00:00
Moonchild
662dba55fd
Merge branch 'master' into release
2022-05-29 11:13:44 +00:00
Moonchild
8760ce023c
Issue #1895 - Implement queueMicroTask(callback()) (uplift)
2022-05-07 14:40:14 +00:00
Moonchild
b86e148bb7
Roll back milestone version to release.
2022-05-06 12:43:43 +00:00
Moonchild
9e83721e5e
Merge branch 'master' into release
2022-05-06 12:43:00 +00:00
Moonchild
dc2d6c2e60
Revert "No Issue - Make content-type on JAR channels behave the same as HTTP channels."
...
This reverts commit 425677ada7 .
2022-05-03 17:38:19 +00:00
Moonchild
4ada6f6762
Update 7zSD for v31
2022-05-03 17:38:12 +00:00