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