FranklinDM
53e2e5d8d6
Issue #1375 - Part 1: Allow moving a reference into nsInterfaceHashtable
2023-03-02 14:28:09 +08:00
Moonchild
2d7d00b75a
No Issue - Remove speech recognition pref and enable TTS API by default.
...
Speech recognition was removed a while back. The pref is just leftover.
Having the TTS API available will provide some accessibility benefits
for users, so flip that on while we're here.
2023-02-28 10:46:08 +08:00
Moonchild
87b94f83ca
No Issue - Enable MSE for WebM on all platforms.
...
WebM is certainly mature enough to have hooked into MSE (default on
Linux and other for years now).
2023-02-28 10:45:54 +08:00
Moonchild
9b25202492
Issue #1361 - Enable WebComponents by default in the platform.
2023-02-28 10:45:39 +08:00
FranklinDM
b40c87a59a
Issue #1375 - Follow-up: Get the insertion point right when reconstructing direct children of a shadow root
...
This should've been changed alongside bug 1404789 when it landed.
2023-02-28 10:45:05 +08:00
FranklinDM
6a26ce3455
Issue #1375 - Follow-up: Remove shadow tree hacks in the frame constructor
...
This should've been removed alongside bug 1404789 when it landed.
2023-02-28 10:44:45 +08:00
u3shit
687733f9d1
Issue #2101 - Part 7: Add color range support on GPUs
2023-02-27 12:14:20 +08:00
u3shit
2b88f2c9ac
Issue #2101 - Part 6: Plumbing of ColorRange between video decoders and YUV convert
2023-02-27 12:11:30 +08:00
u3shit
e59e8c3b2c
Issue #2101 - Part 5: Add ColorRange support to video decoders
2023-02-27 12:10:57 +08:00
u3shit
b5f9e9abb6
Issue #2101 - Part 4: Add color range support to gfx/ycbcr
...
Loosely based on current mozilla code
https://hg.mozilla.org/mozilla-central/file/25a8668d92431d469b443f0f2030328bab754aea/gfx/ycbcr/yuv_convert.cpp
2023-02-27 12:09:18 +08:00
u3shit
a4d1f57b9e
Issue #2101 - Part 3: Update libyuv
...
Updated to version 1861, git revision 88b050f337cc0ca2a51800fe7bf4737222c87344 from
https://chromium.googlesource.com/libyuv/libyuv/
2023-02-27 12:08:54 +08:00
u3shit
42f3296899
Issue #2101 - Part 2: Use stdint.h types instead of uint8 and friends
...
Required for upcoming libyuv update
2023-02-27 12:06:38 +08:00
u3shit
c0c76cd455
Issue #2101 - Part 1: Add mColorRange info to YCbCrBuffer
...
https://hg.mozilla.org/integration/autoland/rev/6f4c7904cda8
2023-02-27 12:02:53 +08:00
u3shit
3e62b1fc9f
Issue #2118 - Part 2: Add support for Identity YUVColorSpace
...
https://hg.mozilla.org/mozilla-central/rev/be342c90755d11551623362f2058c0326f63bbb3
2023-02-27 11:08:35 +08:00
u3shit
beef437602
Issue #2118 - Part 1: Update gfxUtils YuvColorMatrix functions to match upstream mozilla code more closely.
...
https://hg.mozilla.org/mozilla-central/file/4fba5295dc19f9d2f5d065ba502a44d8f2dc9e85/gfx/thebes/gfxUtils.cpp#l1246
2023-02-27 11:07:38 +08:00
FranklinDM
55100bb28e
Issue #1344 - (Parser: C++) Don't reset containsHyphen value after finding one
2023-02-27 11:04:46 +08:00
FranklinDM
d9b7057ffd
Issue #1344 - (Parser: Java) Don't reset containsHyphen value after finding one
2023-02-27 11:04:25 +08:00
FranklinDM
edc45f6849
Issue #1593 - Follow-up: Fix :host selector matching
...
Previously, we would match `:host` if:
(a) we don't have any arguments and our parent is the shadow root, or;
(b) if any of the arguments match, then reject if we don't have a containing shadow
Revised, we would match `:host` if:
(Preconditions) The element must have a shadow root, the selector must not have any feature selectors, and it is not blocked from matching `:host` (e.g. .matches outside of the shadow root context)
(a) The selector does not have any arguments, or;
(b) It matches any of its arguments in the functional part of the pseudo-class
With this, we now pass these tests that were previously failing:
http://wpt.live/css/css-scoping/css-scoping-shadow-host-rule.html
http://wpt.live/css/css-scoping/host-descendant-002.html
http://wpt.live/css/css-scoping/host-multiple-001.html
Improved (1 less red box):
http://wpt.live/css/css-scoping/css-scoping-shadow-host-namespace.html
2023-02-27 11:03:50 +08:00
FranklinDM
ebe27baa23
Issue #1382 - Part 2: Add crash test
...
Based on https://bugzilla.mozilla.org/show_bug.cgi?id=842114
2023-02-27 11:03:31 +08:00
FranklinDM
691afc8c8b
Issue #1382 - Part 1: Remove assertion that GetPreEffectsVisualOverflowRect is called only by frames whose parent is an anonymous block
...
This is always hit if an SVG effect is applied on other frame types.
Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1340257
2023-02-27 11:03:05 +08:00
Brian Smith
cbc529bb0e
Issue #2117 - Part 2 - Revert "Follow up to d0eee8f01 - Run precomplete cmd during package staging"
...
This reverts commit c622e988fed60f2e868cd0419f5cf517323b5c2a.
2023-02-27 11:02:42 +08:00
Brian Smith
8bacb52ca3
Issue #2117 - Part 1 - Update Mac DMG platform names to intel64 for Intel and arm64 for Apple Silicon.
2023-02-27 11:02:18 +08:00
Moonchild
fa014f9e95
Issue #2046 - Follow-up: Fix debug assert using old chars definition.
2023-02-23 21:16:05 +08:00
FranklinDM
439c671b26
Issue #2078 - Follow-up: Propagate combinator restriction to :is()/:where()
...
Based on spec discussion: https://github.com/w3c/csswg-drafts/issues/5093
2023-02-23 21:15:40 +08:00
FranklinDM
83484a34f5
Issue #2078 - Follow-up: aPreventComplexSelectors should be passed
2023-02-23 21:15:12 +08:00
FranklinDM
53f5905381
Issue #2078 - Follow-up: Move isForgiving check to ParsePseudoClassWithSelectorListArg
2023-02-23 21:14:58 +08:00
FranklinDM
03a3385702
No issue - Move Has* function definition out of the header file for consistency
2023-02-23 21:14:41 +08:00
Moonchild
0b9698c80a
[DOM] WebCrypto: Check decoded key type before using it.
...
Just in case someone forces the wrong key type and misuses WebCrypto.
It won't be usable anyway so better to throw.
2023-02-22 07:08:44 +08:00
Moonchild
db89c5a05d
No issue - Refactor FindErrorInstanceOrPrototype
...
The logic here wasn't very transparent or easy to follow.
Doing a positive check to set the result instead of defaulting to it
also potentially prevents issues.
2023-02-22 07:07:58 +08:00
FranklinDM
9037d5662d
Issue #1593 - Follow-up: Accept only a single selector in the argument of :host/:host-context
...
Current spec says these two pseudo-classes accept only a single compound selector:
:host( <compound-selector> )
:host-context( <compound-selector> )
2023-02-22 07:07:39 +08:00
FranklinDM
0391e8ab09
Issue #1593 - Follow-up: Copy mIsRelevantLink value over rather than calling IsLink
...
Calling IsLink ignores whatever state we have for aTreeMatchContext and will trigger an assertion if aTreeMatchContext.mForStyling is false. This also adds a comment about what that line effectively does.
2023-02-22 07:07:21 +08:00
FranklinDM
9bebb3a61a
Issue #1593 - Follow-up: :host() should not automatically match if we have a non-empty selector list
2023-02-22 07:07:01 +08:00
FranklinDM
ba7e29a052
Issue #1823 - Ensure :host() and :host-context() are given proper weights
2023-02-22 07:06:43 +08:00
FranklinDM
6d77f755da
Issue #2078 - Part 6: Replace empty list head with the next non-empty list for forgiving selector lists
...
What happens here if aListHead is an empty selector list:
(1) next selector group is parsed and continues to the next iteration if it's empty or invalid
(2) if we're a forgiving selector list and aListHead is empty, replace it with the selector group that we've just parsed
(3) step 1 ignores invalid/empty, so we assert that step 2 should never have an empty selector list
2023-02-22 07:06:24 +08:00
FranklinDM
4ece7873e0
Issue #2078 - Part 5: Ensure :is() and :where() are given proper weights
2023-02-22 07:06:05 +08:00
FranklinDM
1c1473166f
Issue #2078 - Part 4: Unify selector list matching
...
This should allow pseudo-classes that accept selector lists to properly handle complex selectors. `:visited` is also matched inside selector lists.
A previous iteration of this commit had incorrect matching behavior when called from `RestrictedSelectorListMatches`.
2023-02-22 07:05:44 +08:00
FranklinDM
14e8922dca
Issue #2078 - Part 3: Rename nsCSSRuleProcessor::SelectorListMatches to RestrictedSelectorListMatches
...
This is in preparation for merging the logic of RestrictedSelectorListMatches and AnySelectorInArgListMatches.
2023-02-22 07:05:25 +08:00
FranklinDM
0648ec64bb
Issue #2078 - Part 2: Rename nsPseudoClassList->u.mSelectors to mSelectorList
...
This makes it clear that we're accessing a selector list (nsCSSSelectorList), which is different from the selectors (nsCSSSelector) contained inside a selector list. Previously, both were confusingly referred to as mSelectors.
2023-02-22 07:05:08 +08:00
FranklinDM
453b715ef6
Issue #2078 - Part 1: Update CSS rule processor to handle :is() and :where() CSS pseudo-classes
...
This modifies selector list parsing to accommodate being "forgiving". Aliases for the :is selector's former names were also included. Note that the older and prefixed variant `-moz-any` remains unforgiving.
2023-02-22 07:04:49 +08:00
Mavridis Philippe
e8f840bf2f
MailNews: Re-check availability of OAuth2 when hostname fields modified.
...
This is for those cases where the hostnme of the email address is not
the actual hostname of the e-mail service (e.g. GMail with a custom
domain).
This should resolve issue athenian200/epyrus#53 .
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
2023-02-22 07:04:18 +08:00
FranklinDM
b7d80962d0
No issue - Improve fallback handling and resolve PATH issues with python clobber command
2023-02-21 08:21:00 +08:00
FranklinDM
6dc8a7d813
Issue #1382 - Annotate crash with database name when storage connection not closed
...
Reported on https://bugzilla.mozilla.org/show_bug.cgi?id=1384036
This was fixed with an unrelated issue: https://bugzilla.mozilla.org/show_bug.cgi?id=1372823
2023-02-21 08:20:39 +08:00
FranklinDM
6d3500bb48
Issue #2111 - Implement CSSStyleRule.selectorText setter
...
Unlike the original patch, this copies Chrome behavior: ignores invalid values of selectorText without any console log.
Partially based on https://bugzilla.mozilla.org/show_bug.cgi?id=37468
2023-02-21 08:20:21 +08:00
Martok
87eaaee953
Issue #2046 - Move a bunch of functions in builtin/intl/CommonFunctions.js into more-specific files, where those functions are only used in a single more-specific file
2023-02-21 08:20:01 +08:00
Martok
cf2e2ed906
Issue #2046 - Move builtin/Intl.js (which now contains only shared functionality) to builtin/intl/CommonFunctions.js
2023-02-21 08:19:43 +08:00
Martok
45720521cf
Issue #2046 - Move Intl.Collator self-hosted code to a new builtin/intl/Collator.js file
2023-02-21 08:19:25 +08:00
Martok
a56b9e8324
Issue #2046 - Move Intl.NumberFormat self-hosted code to a new builtin/intl/NumberFormat.js file
2023-02-21 08:19:09 +08:00
Martok
38284ba8b4
Issue #2046 - Move Intl.DateTimeFormat self-hosted code to a new builtin/intl/DateTimeFormat.js file
2023-02-21 08:18:52 +08:00
Martok
e55cdd19a0
Issue #2046 - Move Intl.PluralRules self-hosted code to a new builtin/intl/PluralRules.js file
2023-02-21 08:18:37 +08:00
Martok
ae0eddc165
Issue #2046 - Move Intl.RelativeTimeFormat self-hosted code to a new builtin/intl/RelativeTimeFormat.js file
2023-02-21 08:18:19 +08:00