FranklinDM
adaf6c3221
Issue #1592 - Follow-up: Ensure topmost scope marker is cleaned up
2023-05-24 09:02:40 +08:00
FranklinDM
3d917c9965
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-05-24 09:02:22 +08:00
FranklinDM
1c2dd6aee0
Issue #2250 - Part 1: Return early if the element being tested for is likely an ancestor and does not have an assigned slot
2023-05-24 09:02:07 +08:00
Job Bautista
a00793acff
Issue #2221 - Follow-up: Simplify jit_ioncheck{1|2|3}_deunified_sources assignment.
2023-05-18 09:39:50 +08:00
Job Bautista
a2b45a9d53
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-05-18 09:39:39 +08:00
Job Bautista
bbb91e4833
Issue #2246 - Implement Array find from last.
...
Based on the implementation from Mozilla bug 1704385.
2023-05-18 09:39:18 +08:00
FranklinDM
6ae0a69ac7
Issue #1765 - Part 3: Provided token type should be used in LookForTokenType
...
I didn't realize this immediately after moving the code into a method. Oops.
2023-05-15 09:14:24 +08:00
FranklinDM
d678cc2c45
Issue #1765 - Part 2: Implement calc() parsing inside rgb/a() and the non-hue component of hsl/a()
...
This also adds a new helper method for checking the type of tokens that will be parsed after the current token, which is useful for determining the unit of values inside calc() functions.
Partially based on 8a0897d23f
2023-05-15 09:14:07 +08:00
FranklinDM
73a6dc3122
Issue #1765 - Part 1: Move ReduceNumberCalcOps struct up higher, rename IsCSSTokenCalcFunction to CSSParserImpl::IsCalcFunctionToken
2023-05-15 09:13:47 +08:00
Job Bautista
ae27fff4bb
Issue #2241 - Part 7.2 Follow-up: Fix build bustage due to unified building in Basilisk.
...
Tag #80
2023-05-15 09:13:28 +08:00
Job Bautista
e072ef0dfc
Issue #2241 - Part 8: Remove non-working layout.css.DOM*.enabled prefs.
...
A follow-up to fdfe7a8245eb33db252f2a9a3474ac931f15a7d8.
2023-05-15 09:13:07 +08:00
Job Bautista
4ec35fdcf2
Issue #2241 - Part 7.2: Implement .fromRect and .fromQuad.
...
Backported from Mozilla bug 1558101.
2023-05-15 09:12:47 +08:00
Job Bautista
0e2f687f4d
Issue #2241 - Part 7.1: Implement .fromFloat{32/64}Array.
...
Backported from Mozilla bug 1558101.
2023-05-15 09:12:41 +08:00
Job Bautista
10bdcb7e5f
Issue #2241 - Part 6: Implement DOMMatrix.fromMatrix.
...
Also fixes .multiply() to use DOMMatrixInit.
Backported from Mozilla bug 1560462.
2023-05-15 09:12:03 +08:00
Job Bautista
51f812bb80
Issue #2241 - Part 4&5 Follow-up: Fix WebIDL errors
...
Remove [Pref] attribute from Geometry interfaces as they're now exposed to web
workers too via Part 5.
Remove nonexistent toJSON objects erroneously added in Part 4.1.
2023-05-15 09:11:46 +08:00
Job Bautista
c3042a2f41
Issue #2241 - Part 5: Expose Geometry interfaces to web workers.
...
Exposes DOMMatrix, DOMPoint, DOMQuad, and DOMRect to workers.
Backported from Mozilla bug 1420580.
2023-05-15 09:11:24 +08:00
Job Bautista
69e45fd84e
Issue #2241 - Part 4.3: Move devtools over to getBounds().
...
This leaves getAdjustedQuads alone because it lives in its own world and its
result gets sent over IPC. That leaves things in a bit of an intermediate state,
but that should be OK for now.
Backported from Mozilla bug 1186265.
2023-05-15 09:11:07 +08:00
Job Bautista
840658ab39
Issue #2241 - Part 4.2: Resurrect DOMQuad.bounds, but deprecated.
...
This also forces DOMQuad.toJSON() to only return the points.
Backported from Mozilla bug 1186265.
2023-05-15 09:10:49 +08:00
Job Bautista
60c88dd11b
Issue #2241 - Part 4.1: Get DOMPoint, DOMQuad, DOMRect, DOMMatrix a bit closer to spec.
...
Backported from Mozilla bug 1186265's part 1.
2023-05-15 09:10:31 +08:00
Job Bautista
d2c3ea08eb
Issue #2241 - Part 3: Extend DOMMatrixReadOnly to allow instantiation with a Matrix4x4.
...
Backported from Mozilla bug 1355675.
2023-05-15 09:10:14 +08:00
Job Bautista
621868a340
Issue #2241 - Part 2: Add SameValueZero implementation to mfbt/FloatingPoint.h
...
Backported from Mozilla bug 1560658.
This is to prevent duplication of code while implementing DOMMatrix operations.
2023-05-15 09:09:58 +08:00
Job Bautista
ec2fb72568
Issue #2241 - Part 1: Move {js::,JS_}{{Strictly,Loosely}Equal,SameValue} into their own header and implementation files
...
Backported from Mozilla bug 1516742.
The .from* methods are going to depend on SameValueZero, which needs to be
visible to /dom. This patch provides the foundation for that.
2023-05-15 09:09:41 +08:00
FranklinDM
1ae0d6ff7f
[Pale-Moon] No issue - Remove invalid key attribute on Permissions menu item
...
There wasn't any assigned key combination for the Permissions page when this menu item was added. This is a follow-up to c2fd8a6466e1005f4266753708e7c8a38442db54
Oddly enough, there's actually a check if the key element exists. Unlike the warning for key conflicts on keyboards, this one doesn't show up on the Error Console and is available only on debug builds.
2023-05-12 10:42:53 +08:00
FranklinDM
a39686b91b
[Pale-Moon] No issue - Ensure window.location exists before checking against the browser URL
2023-05-12 10:42:11 +08:00
FranklinDM
4a9e6100ec
[Pale-Moon] No issue - Silence tab closing animation assert if the tabbrowser is not visible
2023-05-12 10:41:16 +08:00
Job Bautista
aadd6244c1
[Pale-Moon] Issue MoonchildProductions/UXP#1451 - Follow-up: Only copy hunspell shared library if we're not building against system Hunspell.
...
We've never supported system Hunspell AFAICS, but if that time comes, we should
prevent packaging from breaking if building against system Hunspell on *nix.
2023-05-12 10:40:35 +08:00
Job Bautista
6b13231b96
[Basilisk] Issue MoonchildProductions/UXP#1451 - Follow-up: Only copy hunspell shared library if we're not building against system Hunspell.
...
We've never supported system Hunspell AFAICS, but if that time comes, we should
prevent packaging from breaking if building against system Hunspell on *nix.
2023-05-12 10:40:08 +08:00
Moonchild
e39dc9d9b9
No issue - block a few problematic DLLs.
2023-05-11 09:29:07 +08:00
Moonchild
ea32d13dc3
No issue - Disable ms-cxh and ms-cxh-full protocol handling.
2023-05-11 09:28:50 +08:00
Moonchild
500af2fe51
[widget] Rewrite data-read loop in OnDataAvailable.
...
The read-loop in OnDataAvailable was needlessly baroque and used a very
strange dialect of Hungarian notation. Factored out the zero-element
case for simplicity, and added justification in comments as-appropriate.
2023-05-11 09:28:28 +08:00
Moonchild
cc6ef1f3b1
No issue - Limit JPEG decoder memory allocation to surface cache size.
...
This means that for trivial images whose header specifies large
dimensions but with no image data, we don't waste a lot of memory.
See BZ bug 1277397
2023-05-11 09:27:46 +08:00
Brian Smith
fae36a95ec
No Issue - Updates to Mac packaging for notarization. Add Mac entitlements. Switch to using "create" instead of "makehybrid" when creating the disk image. This fixes bogus extended attributes which interfere with the code signature. Finally add any -bin or dylibs in the Resources folder since --deep skips that folder.
2023-05-10 11:57:07 +08:00
Brian Smith
1c70f64e7c
Issue #2236 - Fix import.meta module error in lambdas by moving parseGoal() into SharedContext. Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1604792 Also remove ParseGoal being passed through Parser introduced in #1691 Part 2.
2023-05-10 11:55:55 +08:00
FranklinDM
2d6c419661
Issue #2234 - Part 3: Update tests
...
Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1402649 and https://bugzilla.mozilla.org/show_bug.cgi?id=1382306
2023-05-09 11:39:39 +08:00
FranklinDM
e52da4707d
Issue #2234 - Part 2: Ensure that the created async function wrapper is valid
...
This excludes the GC-related changes (cell pointer asserts) since we don't have them. This bug should be revisited if we'd ever plan on porting those asserts over.
Partially based on https://bugzilla.mozilla.org/show_bug.cgi?id=1402649
2023-05-09 11:39:17 +08:00
FranklinDM
ab1c0a384d
Issue #2234 - Part 1: Create async function wrapper when instantiating module functions
...
This excludes the change that removes "excessive" rooting from the Lambda* methods in Interpreter.cpp.
Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1382306
2023-05-09 11:39:03 +08:00
Job Bautista
9693552c5c
Issue #2232 - Parse exported async functions.
2023-05-09 11:38:49 +08:00
Moonchild
5b7f259abf
Issue #1691 - Follow-up: Ship dynamic module imports enabled by default.
2023-05-05 23:00:45 +08:00
Martok
84eadbe3cf
No Issue - Do not parse or return body for XHRs with HEAD/CONNECT method or content-length=0
...
Based-on: m-c 1392220, 1437360
2023-05-05 23:00:30 +08:00
Moonchild
f1759b33ff
Issue #1656 - Remove more vim control lines.
...
Vim control lines were re-introduced or not entirely cleaned up.
This nukes them again.
Removing from accessible, [root], tools, uriloader, widget, xpcom and
xpfe.
Resolves #1656
2023-05-05 23:00:05 +08:00
Moonchild
a39fd9e75f
Issue #1656 - Remove more vim control lines.
...
Vim control lines were re-introduced or not entirely cleaned up.
This nukes them again.
Removing from modules, netwerk, security, storage, testing, toolkit, and
a few scattered misc files. More to come.
2023-05-05 22:59:16 +08:00
Moonchild
2f117eecaa
Issue #1656 - Remove more vim control lines.
...
Vim control lines were re-introduced or not entirely cleaned up.
This nukes them again.
Removing from embedding, extensions, gfx, hal, ipc, layout, mailnews,
media and memory. More to come.
2023-05-05 22:57:19 +08:00
Moonchild
c9b8a576da
Issue #1656 - Remove more vim control lines.
...
Vim control lines were re-introduced or not entirely cleaned up.
This nukes them again.
Removing from dom. More to come.
2023-05-04 10:47:14 +08:00
Moonchild
d388e478a0
Issue #1656 - Remove more vim control lines.
...
Vim control lines were re-introduced or not entirely cleaned up.
This nukes them again.
Removing from the rest of js, caps, chrome, config, devtools, docshell,
image, intl. More to come.
2023-05-04 10:46:38 +08:00
Moonchild
e6ff567de7
Issue #1656 - remove vim control lines from js/src
...
With recent work a bunch more vim control lines were re-introduced.
This nukes them again.
2023-05-04 10:46:02 +08:00
roytam1
fa52ac972f
Issue #2142 - follow-up rev 51db22ff, removing static keyword from upstream force-push rev aa6d42e5fc..63a00fdd25
2023-05-03 21:39:40 +08:00
FranklinDM
ae50e9e01d
Issue #2225 - Implement Element.replaceChildren
...
This accounts for refactoring changes (e.g. avoids RemoveChild*
changes).
Partially based on https://bugzilla.mozilla.org/show_bug.cgi?id=1626015
2023-05-02 23:55:52 +08:00
Brian Smith
a1f787fc8c
Issue #1691 - Follow-up: Fix videojs and potentially other problems. When rewriting the ExecutionContext code in ScriptLoader I accidentally removed some required code.
2023-05-02 23:53:33 +08:00
Martok
a7d8cecdb9
Issue #2097 - Handle Logical Assignment in Ion CFG
2023-05-01 23:35:25 +08:00
Martok
10951a169c
Issue #2097 - Implement logical assignment operators
...
Based-on: 1629106/1, 1684020
2023-05-01 13:27:04 +08:00