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
roytam1
462805f0ee
Merge remote-tracking branch 'origin/tracking' into custom
2023-05-11 09:29:55 +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
roytam1
e70aa9a4a1
Merge remote-tracking branch 'origin/tracking' into custom
2023-05-10 11:57:40 +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
roytam1
725b27a0f5
Merge remote-tracking branch 'origin/tracking' into custom
2023-05-05 23:02:05 +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
roytam1
6235ca420d
Merge remote-tracking branch 'origin/tracking' into custom
2023-05-04 10:47:54 +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
roytam1
f0dfd9ac73
Merge remote-tracking branch 'origin/tracking' into custom
2023-05-02 23:56:43 +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
roytam1
75c6c6d5b5
Merge remote-tracking branch 'origin/tracking' into custom
2023-05-01 23:35:51 +08:00
Martok
a7d8cecdb9
Issue #2097 - Handle Logical Assignment in Ion CFG
2023-05-01 23:35:25 +08:00
roytam1
a248550543
Merge remote-tracking branch 'origin/tracking' into custom
2023-05-01 14:44:54 +08:00
Martok
10951a169c
Issue #2097 - Implement logical assignment operators
...
Based-on: 1629106/1, 1684020
2023-05-01 13:27:04 +08:00
Martok
ba9647a12a
Issue #2142 - Remove the temporary fields option
...
Now that everything is finished, we don't need the feature flag any more.
2023-05-01 13:27:04 +08:00
Martok
1fac189aea
Issue #2142 - Implement class static block
...
Based-on: m-c 1712138/{2,3}, 1713155/2
2023-05-01 13:27:03 +08:00
Martok
22a9d46ef1
Issue #2142 - Track isFieldInitializer on JSScript instead of Scope
...
Introduce a FunctionSyntaxKind for FieldInitializer since special rules
(around `arguments`) apply. At the same time we can move the flag from the
scope to the JSScript. This is similar to how derived constructors are handled
and makes the initWithEnclosingScope code closer to initWithEnclosingContext.
This version is a bit more complex than Mozilla's due to different storage of
bit flags on JSScript.
Based-on: m-c 1636800
2023-05-01 13:27:03 +08:00
Martok
c3b19191f3
Issue #2142 - Parse and process static class fields
...
Based-on: m-c 1535804/{6,7}
2023-05-01 13:27:03 +08:00
Martok
b187006a7e
Issue #2142 - Support SuperProperty in field initializers
...
Based-on: m-c 1555037/2
2023-05-01 13:27:03 +08:00
Martok
e0b5528c29
Issue #2142 - Optimize .initializers scoping and emitter
...
* Refactor code for emitting the .initializers array into ClassEmitter
* Only emit .initializers scope when actually required
* Remove unfinished code to handle non-present class field initialisers
* Use predicate count_if and any_of of ListNode
* Remove unnecessary parameters for class field parsing
Based-on: m-c 1553744, 1555979, 1555037/1, 1535804/{1-5}
2023-05-01 13:27:03 +08:00
Martok
c206114966
Issue #2142 - Set anonymous function name in field initializer
...
This was done wildly different in m-c 1552875, in the interest of keeping
|setOrEmitSetFunName| around it is implemented differently here.
2023-05-01 13:27:03 +08:00
Martok
f0b06f5ad6
Issue #2142 - Don't treat PNK_NAME specially emitAssignmentOrInit
...
If there ever was a point where this structure "avoids duplication", at least since the
*OpEmitter refactor emitting PNK_NAME differently makes it actually harder to follow.
Mozilla makes the same change at a different time.
2023-05-01 13:27:02 +08:00
Martok
f374ab472d
Issue #2142 - Emit field keys in correct order
...
Based-on: m-c 1552229
2023-05-01 13:27:02 +08:00
Martok
1031b1fc43
Issue #2142 - Pass through arguments in synthesized constructors for derived classes
...
Based-on: m-c 1552022
2023-05-01 13:27:02 +08:00
Martok
bcb6203e4f
Issue #2142 - Fix several scoping issues in field initializers
...
Based-on: m-c 1540789, 1547130, 1547467
2023-05-01 13:27:02 +08:00
Martok
8c6750014c
Issue #2142 - Restrict contents of direct eval in fields
...
Based-on: m-c 1542406
2023-05-01 13:27:02 +08:00
Martok
849ab4417c
Issue #2142 - Use JSOP_INITPROP for field initializers
...
We don't want to call setters for field initialization.
Based-on: m-c 1535471, 1547035
2023-05-01 13:27:01 +08:00
Martok
447261cf87
Issue #2142 - Implement ASI for fields
...
Based-on: m-c 1529772/{3,4}
2023-05-01 13:27:01 +08:00
Martok
014953c532
Issue #2142 - Factor out PropertyName parsing from Parser::propertyName()
...
Based-on: m-c 1529772/{1,2}
2023-05-01 13:27:01 +08:00
Martok
235ca77949
Issue #2142 - Handle fields in derived classes
...
* Don't name field initializer lambdas
Based-on: m-c 1534721, 1551454, 1542448
2023-05-01 13:27:01 +08:00