Moonchild
f1c456c625
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-23 12:52:03 +08:00
roytam1
e2f07956fb
Merge remote-tracking branch 'origin/tracking' into custom
2025-03-23 12:27:56 +08:00
Shadow
8f2f4d8d3d
Issue #2703 - Part 4: Fix incorrect clang warning in nsCORSListenerProxy.
...
See BZ Bug 1444472
Resolves #2703
2025-03-23 12:27:29 +08:00
Shadow
fdfe81fe54
Issue #2703 - Part 3: Make cache entry request checking more readable.
2025-03-23 12:27:16 +08:00
Shadow
7854198085
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-23 12:27:01 +08:00
Shadow
d678f508de
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-23 12:26:44 +08:00
Moonchild
6411abd43c
Issue #2711 - Apply pattern transforms when using text-rendering on canvas.
...
Resolves #2711
2025-03-23 12:26:21 +08:00
Moonchild
6449b7514b
No issue - Fix some deprot
2025-03-23 12:25:55 +08:00
roytam1
3fa9e61e7e
ported from mozilla: Add UnorderedRemoveElement[s]At to nsTArray, r=froydnj
2025-03-23 12:21:15 +08:00
roytam1
71872cf0be
[Pale-Moon] bump general.useragent.app_version to 33.6.1
2025-03-23 00:17:38 +08:00
roytam1
f428ae64da
libjxl: exclude terse static assert from building
2025-03-13 23:57:55 +08:00
roytam1
687c0437ff
Merge remote-tracking branch 'origin/tracking' into custom
2025-03-13 23:38:47 +08:00
Moonchild
6fc884334f
Issue #2697 - Part 4: Update README and remove upstream merged patch.
2025-03-13 23:38:12 +08:00
Moonchild
26bbf20c1d
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-13 23:36:00 +08:00
Moonchild
1152a6f41d
Issue #2697 - Part 2: Update libjxl build files.
2025-03-13 23:35:44 +08:00
Moonchild
845db2526f
Issue #2697 - Part 1: Import libjxl 0.11.1 files to the tree.
2025-03-13 23:35:08 +08:00
roytam1
2a53c574f6
Merge remote-tracking branch 'origin/tracking' into custom
2025-03-13 23:05:24 +08:00
Shadow
d9c27beb51
No Issue - Stop warning if a network request failed.
...
Bug 1286036
2025-03-13 23:04:39 +08:00
Moonchild
5fd304507d
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-13 23:03:43 +08:00
Moonchild
2e4620b5af
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-13 23:01:46 +08:00
Moonchild
40ed1b10f4
Issue #2692 - Part 5: Split out compilation and evaluation APIs into its own header.
2025-03-13 22:59:38 +08:00
Moonchild
307621db50
Issue #2692 - Part 4: Split out off-thread compilation API to its own header.
2025-03-13 22:59:23 +08:00
Moonchild
eca185aa79
Issue #2692 - Part 3: Split out JS compiled script transcoding to its own header.
2025-03-13 22:59:08 +08:00
Moonchild
565fb4b05a
Issue #2692 - Part 2: Split out JS SourceBufferHolder to its own header.
2025-03-13 22:58:50 +08:00
Moonchild
9436bfa175
Issue #2692 - Part 1: Split out JS CompileOptions to its own header.
2025-03-13 22:58:36 +08:00
roytam1
a66a8fe8be
Merge remote-tracking branch 'origin/tracking' into custom
2025-03-12 10:32:44 +08:00
Shadow
c318657acd
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-12 10:31:54 +08:00
Shadow
a2c6127832
No Issue - Make nsCSPService cancel the channel if a redirect is blocked by CSP
...
Bug 1338304
2025-03-12 10:31:37 +08:00
Moonchild
8535573f07
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-12 10:31:17 +08:00
roytam1
8a35744175
Merge remote-tracking branch 'origin/tracking' into custom
2025-03-07 21:50:11 +08:00
Moonchild
28524bf6b5
No issue - Update Twemoji font to unicode 15.1.3
2025-03-07 21:49:52 +08:00
Moonchild
43a2299480
Disable potentially unsafe attempts at recovering JIT operations.
2025-03-07 21:49:32 +08:00
Moonchild
afefd0731b
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-07 21:44:02 +08:00
Shadow
37dcef684a
PR #2695 - Simplify block-value popping in Ion compilation
2025-03-07 21:43:39 +08:00
roytam1
e43876ec84
Merge remote-tracking branch 'origin/tracking' into custom
2025-02-19 07:12:26 +08:00
Moonchild
cc8e336172
[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 07:10:18 +08:00
roytam1
97534886ae
import from mozilla: Bug 1591366 - Always reserve 64 bits for frame property value r=dholbert (19499821190)
2025-02-19 01:15:45 +08:00
roytam1
6073fac18f
Merge remote-tracking branch 'origin/tracking' into custom
2025-02-19 01:14:59 +08:00
Moonchild
25570dc572
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-19 00:34:42 +08:00
Moonchild
2da039daac
Revert "Issue #2693 - Don't reflow children if they have 0 width."
...
This reverts commit 61a19f00f72598510ca8991a0831c82a09faa7be.
2025-02-19 00:34:27 +08:00
roytam1
594a360cbf
Revert "Issue #2693 - Don't reflow children if they have 0 width."
...
This reverts commit cb233feea0 .
2025-02-18 20:18:13 +08:00
roytam1
0d63037e56
dom/security: remove terse static assert from upstream changes
2025-02-18 19:17:37 +08:00
roytam1
d4f1c1faed
Merge remote-tracking branch 'origin/tracking' into custom
2025-02-18 19:13:36 +08:00
Moonchild
cb233feea0
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 19:11:56 +08:00
Moonchild
8b41e53028
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 19:11:42 +08:00
Moonchild
c41c1c63d5
[DOM] Honor security.csp.reporting.enabled pref in more places.
2025-02-18 19:11:24 +08:00
Moonchild
3bac3ab0b5
No issue - avoid potential underflow in StructuredClone.
...
Prevents potential loop-around if there's bogus internal Map data.
2025-02-18 19:10:57 +08:00
roytam1
0a18b05efd
nss: update nssckbi to 2.74
2025-02-13 21:22:34 +08:00
roytam1
d7396f6886
import from mozilla: Bug 1350925 part 2 - Assert that we're given clean ReflowOutput overflow areas in ReflowChild. rs=dholbert a=gchang (5763b4d39e4)
2025-02-13 21:02:55 +08:00
roytam1
7f4a92ec55
import from mozilla: Bug 1350925 part 1 - Reset the scrolled frame's ReflowOutput overflow areas before re-using it for another child reflow. r=dholbert a=gchang (8c70d11ecd1)
2025-02-13 21:02:15 +08:00