933523 Commits

Author SHA1 Message Date
Kevin Babbitt
70e3dced13 Bug 1920823 [wpt PR 48330] - Resolve relative colors for canvas 2d, a=testonly
Automatic update from web-platform-tests
Resolve relative colors for canvas 2d

In https://crrev.com/c/5825542 we deferred resolution of all relative
colors until after parse time for compatibility with expectations on
serialized values. Canvas 2d was still expecting these colors to be
resolved at parse time. The fix is to adjust the code to expect and
handle unresolved color functions.

Bug: 368562233
Change-Id: Iaafcab7cd45c0222317fe84343e3139a76fb1315
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5883454
Commit-Queue: Kevin Babbitt <kbabbitt@microsoft.com>
Reviewed-by: Aaron Krajeski <aaronhk@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1359669}

--

wpt-commits: e3af2c724e7ddd08425d3fc0a26fda1637242436
wpt-pr: 48330
2024-09-27 08:23:24 +00:00
Jonathan Lee
808c62f02d Bug 1920836 [wpt PR 48333] - [wpt] Fix payment-extension-allowed-... when run with WebDriver, a=testonly
Automatic update from web-platform-tests
[wpt] Fix `payment-extension-allowed-...` when run with WebDriver

When the browsing context that loads testharness.js is cross-origin with
the one that uses testdriver.js,
a. Both must include `testdriver(-vendor).js`.
b. Before using `test_driver`, the non-testharness context should
   `set_test_context()` so that actions are sent to the right window
   [0]. The actions are currently dropped, causing a timeout [1].

Content shell happened to pass this test anyway because its testdriver
implementation hooks directly into the browser via internal JS bindings.

[0]: https://web-platform-tests.org/writing-tests/testdriver.html#using-test-driver-in-other-browsing-contexts
[1]: https://wpt.fyi/results/permissions-policy/payment-extension-allowed-by-permissions-policy-attribute.https.sub.html?run_id=5121684256587776&run_id=5170329056182272&run_id=5162177208254464&run_id=5118180100145152

Bug: None
Change-Id: I38b7f97507e02f2c16769f7e8e66f83c9f8953f3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5888751
Reviewed-by: Ari Chivukula <arichiv@chromium.org>
Commit-Queue: Jonathan Lee <jonathanjlee@google.com>
Cr-Commit-Position: refs/heads/main@{#1359666}

--

wpt-commits: f1e021ecd2d2516626e5e1c562f8b7cf1fbed95b
wpt-pr: 48333
2024-09-27 08:23:23 +00:00
moz-wptsync-bot
d47669a8a3 Bug 1920586 [wpt PR 48318] - Update wpt metadata, a=testonly
wpt-pr: 48318
wpt-type: metadata
2024-09-27 08:23:22 +00:00
Joey Arhar
57ca8b0da4 Bug 1920586 [wpt PR 48318] - Fix <label>s for base-select custom <button>, a=testonly
Automatic update from web-platform-tests
Fix <label>s for base-select custom <button>

This patch makes clicking on a label pointing to a base-select with an
author provided <button> focus the <button>, just like it focuses the
<select> element itself when there is no author provided <button>.

Change-Id: I12355e223de996138b64d9d9b17b8226eea6e06d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5879535
Reviewed-by: Traian Captan <tcaptan@chromium.org>
Commit-Queue: Joey Arhar <jarhar@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1359568}

--

wpt-commits: 47999dca71ee583c01875e3a8793acd0411c9766
wpt-pr: 48318
2024-09-27 08:23:21 +00:00
Jonathan Lee
e400cb370a Bug 1920809 [wpt PR 48328] - [wpt] Ignore testdriver messages in sandboxed_iframe.https.window.js, a=testonly
Automatic update from web-platform-tests
[wpt] Ignore testdriver messages in `sandboxed_iframe.https.window.js`

Fix two issues causing the test to fail spuriously upstream when run
with WebDriver [0]:
a. testdriver.js uses regular `postMessage()`/`onmessage` to communicate
   testdriver commands between the parent and child frames.
   Unfortunately, until [1] is resolved, tests that use `onmessage` need
   to be aware of this implementation detail and ignore the internal
   messages.
b. The parent needs `testdriver(-vendor).js` too so that testdriver
   commands from the child frame are correctly pumped out [2] to the
   harness, which will send the WebDriver command.

Content shell currently passes the test because its testdriver is backed
by internal JS bindings that directly hook into the browser.

[0]: https://wpt.fyi/results/serial/requestPort/sandboxed_iframe.https.window.html?run_id=5088854063448064
[1]: https://github.com/web-platform-tests/wpt/issues/48326
[2]: https://github.com/web-platform-tests/wpt/blob/8ae822f0/tools/wptrunner/wptrunner/testdriver-extra.js#L22

Bug: None
Change-Id: Iddb130f92c1877e389a46cb89a35c21bbfd1b625
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5888384
Reviewed-by: Jack Hsieh <chengweih@chromium.org>
Commit-Queue: Jonathan Lee <jonathanjlee@google.com>
Cr-Commit-Position: refs/heads/main@{#1359563}

--

wpt-commits: 50433bccd99443bf1c59165a0c9a5b88a3c5c3ae
wpt-pr: 48328
2024-09-27 08:23:21 +00:00
Peter Kotwicz
b0c1ccdc29 Bug 1920577 [wpt PR 48316] - [Digital credentials WPT] Fix non-fully-active test, a=testonly
Automatic update from web-platform-tests
[Digital credentials WPT] Fix non-fully-active test

This CL switches the test to use navigator.credentials instead of
navigator.identity. navigator.credentials handles ScriptState::ContextIsValid() == false

BUG=343991289

Change-Id: If04237247ada802b6cd2447bc6336422658a94c6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5882341
Commit-Queue: Peter Kotwicz <pkotwicz@chromium.org>
Reviewed-by: Ken Buchanan <kenrb@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1359564}

--

wpt-commits: 2684c095bd0faa0dcefac102887d3b633b22732a
wpt-pr: 48316
2024-09-27 08:23:20 +00:00
moz-wptsync-bot
e4927d3019 Bug 1920795 [wpt PR 48327] - Update wpt metadata, a=testonly
wpt-pr: 48327
wpt-type: metadata
2024-09-27 08:23:19 +00:00
moz-wptsync-bot
b28177c21c Bug 1920795 [wpt PR 48327] - FSA: Remove all file entry removing cleanup in directory tests, a=testonly
Automatic update from web-platform-tests
FSA: Remove all file entry removing cleanup in directory tests

Now that directory tests have a cleanup function builtin to clear up any
files left behind, remove all the previous cleanup code that added this.

Mostly a mechanical change of removing the test argument from these
functions:
- createEmptyFile
- createDirectory
- createFileWithContents
- create_file_system_handles

Verified that all these functions appear in directory_test.

Bug: 346991169
Change-Id: I751cd6c3eb5292ac791de872a89abe195490c7e7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5878964
Reviewed-by: Christine Hollingsworth <christinesm@chromium.org>
Commit-Queue: Nathan Memmott <memmott@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1359545}

--

wpt-commits: 4a381c7dbdf744ae0ef9d7e87aeb26eedd68af84
wpt-pr: 48327
2024-09-27 08:23:18 +00:00
Karl Tomlinson
ee3eae9aa9 Bug 1919683 Release references to unused frames and update dimensions even when decoded frames are late in VideoSink r=media-playback-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D223697
2024-09-27 07:16:24 +00:00
Mozilla Releng Treescript
8e8c2f49ed no bug - Bumping Mobile l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
ach -> ff47975f5c8110af8284ad28eeabc7e66962202f
an -> ff47975f5c8110af8284ad28eeabc7e66962202f
ar -> ff47975f5c8110af8284ad28eeabc7e66962202f
ast -> ff47975f5c8110af8284ad28eeabc7e66962202f
az -> ff47975f5c8110af8284ad28eeabc7e66962202f
be -> ff47975f5c8110af8284ad28eeabc7e66962202f
bg -> ff47975f5c8110af8284ad28eeabc7e66962202f
bn -> ff47975f5c8110af8284ad28eeabc7e66962202f
br -> ff47975f5c8110af8284ad28eeabc7e66962202f
bs -> ff47975f5c8110af8284ad28eeabc7e66962202f
ca -> ff47975f5c8110af8284ad28eeabc7e66962202f
cak -> ff47975f5c8110af8284ad28eeabc7e66962202f
cs -> ff47975f5c8110af8284ad28eeabc7e66962202f
cy -> ff47975f5c8110af8284ad28eeabc7e66962202f
da -> ff47975f5c8110af8284ad28eeabc7e66962202f
de -> ff47975f5c8110af8284ad28eeabc7e66962202f
dsb -> ff47975f5c8110af8284ad28eeabc7e66962202f
el -> ff47975f5c8110af8284ad28eeabc7e66962202f
en-CA -> ff47975f5c8110af8284ad28eeabc7e66962202f
en-GB -> ff47975f5c8110af8284ad28eeabc7e66962202f
eo -> ff47975f5c8110af8284ad28eeabc7e66962202f
es-AR -> ff47975f5c8110af8284ad28eeabc7e66962202f
es-CL -> ff47975f5c8110af8284ad28eeabc7e66962202f
es-ES -> ff47975f5c8110af8284ad28eeabc7e66962202f
es-MX -> ff47975f5c8110af8284ad28eeabc7e66962202f
et -> ff47975f5c8110af8284ad28eeabc7e66962202f
eu -> ff47975f5c8110af8284ad28eeabc7e66962202f
fa -> ff47975f5c8110af8284ad28eeabc7e66962202f
ff -> ff47975f5c8110af8284ad28eeabc7e66962202f
fi -> ff47975f5c8110af8284ad28eeabc7e66962202f
fr -> ff47975f5c8110af8284ad28eeabc7e66962202f
fy-NL -> ff47975f5c8110af8284ad28eeabc7e66962202f
ga-IE -> ff47975f5c8110af8284ad28eeabc7e66962202f
gd -> ff47975f5c8110af8284ad28eeabc7e66962202f
gl -> ff47975f5c8110af8284ad28eeabc7e66962202f
gn -> ff47975f5c8110af8284ad28eeabc7e66962202f
gu-IN -> ff47975f5c8110af8284ad28eeabc7e66962202f
he -> ff47975f5c8110af8284ad28eeabc7e66962202f
hi-IN -> ff47975f5c8110af8284ad28eeabc7e66962202f
hr -> ff47975f5c8110af8284ad28eeabc7e66962202f
hsb -> ff47975f5c8110af8284ad28eeabc7e66962202f
hu -> ff47975f5c8110af8284ad28eeabc7e66962202f
hy-AM -> ff47975f5c8110af8284ad28eeabc7e66962202f
ia -> ff47975f5c8110af8284ad28eeabc7e66962202f
id -> ff47975f5c8110af8284ad28eeabc7e66962202f
is -> ff47975f5c8110af8284ad28eeabc7e66962202f
it -> ff47975f5c8110af8284ad28eeabc7e66962202f
ja -> ff47975f5c8110af8284ad28eeabc7e66962202f
ka -> ff47975f5c8110af8284ad28eeabc7e66962202f
kab -> ff47975f5c8110af8284ad28eeabc7e66962202f
kk -> ff47975f5c8110af8284ad28eeabc7e66962202f
km -> ff47975f5c8110af8284ad28eeabc7e66962202f
kn -> ff47975f5c8110af8284ad28eeabc7e66962202f
ko -> ff47975f5c8110af8284ad28eeabc7e66962202f
lij -> ff47975f5c8110af8284ad28eeabc7e66962202f
lo -> ff47975f5c8110af8284ad28eeabc7e66962202f
lt -> ff47975f5c8110af8284ad28eeabc7e66962202f
ltg -> ff47975f5c8110af8284ad28eeabc7e66962202f
lv -> ff47975f5c8110af8284ad28eeabc7e66962202f
meh -> ff47975f5c8110af8284ad28eeabc7e66962202f
mix -> ff47975f5c8110af8284ad28eeabc7e66962202f
ml -> ff47975f5c8110af8284ad28eeabc7e66962202f
mr -> ff47975f5c8110af8284ad28eeabc7e66962202f
ms -> ff47975f5c8110af8284ad28eeabc7e66962202f
my -> ff47975f5c8110af8284ad28eeabc7e66962202f
nb-NO -> ff47975f5c8110af8284ad28eeabc7e66962202f
ne-NP -> ff47975f5c8110af8284ad28eeabc7e66962202f
nl -> ff47975f5c8110af8284ad28eeabc7e66962202f
nn-NO -> ff47975f5c8110af8284ad28eeabc7e66962202f
oc -> ff47975f5c8110af8284ad28eeabc7e66962202f
pa-IN -> ff47975f5c8110af8284ad28eeabc7e66962202f
pl -> ff47975f5c8110af8284ad28eeabc7e66962202f
pt-BR -> ff47975f5c8110af8284ad28eeabc7e66962202f
pt-PT -> ff47975f5c8110af8284ad28eeabc7e66962202f
rm -> ff47975f5c8110af8284ad28eeabc7e66962202f
ro -> ff47975f5c8110af8284ad28eeabc7e66962202f
ru -> ff47975f5c8110af8284ad28eeabc7e66962202f
sk -> ff47975f5c8110af8284ad28eeabc7e66962202f
sl -> ff47975f5c8110af8284ad28eeabc7e66962202f
son -> ff47975f5c8110af8284ad28eeabc7e66962202f
sq -> ff47975f5c8110af8284ad28eeabc7e66962202f
sr -> ff47975f5c8110af8284ad28eeabc7e66962202f
sv-SE -> ff47975f5c8110af8284ad28eeabc7e66962202f
ta -> ff47975f5c8110af8284ad28eeabc7e66962202f
te -> ff47975f5c8110af8284ad28eeabc7e66962202f
th -> ff47975f5c8110af8284ad28eeabc7e66962202f
tl -> ff47975f5c8110af8284ad28eeabc7e66962202f
tr -> ff47975f5c8110af8284ad28eeabc7e66962202f
trs -> ff47975f5c8110af8284ad28eeabc7e66962202f
uk -> ff47975f5c8110af8284ad28eeabc7e66962202f
ur -> ff47975f5c8110af8284ad28eeabc7e66962202f
uz -> ff47975f5c8110af8284ad28eeabc7e66962202f
vi -> ff47975f5c8110af8284ad28eeabc7e66962202f
wo -> ff47975f5c8110af8284ad28eeabc7e66962202f
xh -> ff47975f5c8110af8284ad28eeabc7e66962202f
zam -> ff47975f5c8110af8284ad28eeabc7e66962202f
zh-CN -> ff47975f5c8110af8284ad28eeabc7e66962202f
zh-TW -> ff47975f5c8110af8284ad28eeabc7e66962202f
2024-09-27 07:03:36 +00:00
Mozilla Releng Treescript
16a56c6c31 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
ach -> ff47975f5c8110af8284ad28eeabc7e66962202f
af -> ff47975f5c8110af8284ad28eeabc7e66962202f
an -> ff47975f5c8110af8284ad28eeabc7e66962202f
ar -> ff47975f5c8110af8284ad28eeabc7e66962202f
ast -> ff47975f5c8110af8284ad28eeabc7e66962202f
az -> ff47975f5c8110af8284ad28eeabc7e66962202f
be -> ff47975f5c8110af8284ad28eeabc7e66962202f
bg -> ff47975f5c8110af8284ad28eeabc7e66962202f
bn -> ff47975f5c8110af8284ad28eeabc7e66962202f
bo -> ff47975f5c8110af8284ad28eeabc7e66962202f
br -> ff47975f5c8110af8284ad28eeabc7e66962202f
brx -> ff47975f5c8110af8284ad28eeabc7e66962202f
bs -> ff47975f5c8110af8284ad28eeabc7e66962202f
ca -> ff47975f5c8110af8284ad28eeabc7e66962202f
ca-valencia -> ff47975f5c8110af8284ad28eeabc7e66962202f
cak -> ff47975f5c8110af8284ad28eeabc7e66962202f
ckb -> ff47975f5c8110af8284ad28eeabc7e66962202f
cs -> ff47975f5c8110af8284ad28eeabc7e66962202f
cy -> ff47975f5c8110af8284ad28eeabc7e66962202f
da -> ff47975f5c8110af8284ad28eeabc7e66962202f
de -> ff47975f5c8110af8284ad28eeabc7e66962202f
dsb -> ff47975f5c8110af8284ad28eeabc7e66962202f
el -> ff47975f5c8110af8284ad28eeabc7e66962202f
en-CA -> ff47975f5c8110af8284ad28eeabc7e66962202f
en-GB -> ff47975f5c8110af8284ad28eeabc7e66962202f
eo -> ff47975f5c8110af8284ad28eeabc7e66962202f
es-AR -> ff47975f5c8110af8284ad28eeabc7e66962202f
es-CL -> ff47975f5c8110af8284ad28eeabc7e66962202f
es-ES -> ff47975f5c8110af8284ad28eeabc7e66962202f
es-MX -> ff47975f5c8110af8284ad28eeabc7e66962202f
et -> ff47975f5c8110af8284ad28eeabc7e66962202f
eu -> ff47975f5c8110af8284ad28eeabc7e66962202f
fa -> ff47975f5c8110af8284ad28eeabc7e66962202f
ff -> ff47975f5c8110af8284ad28eeabc7e66962202f
fi -> ff47975f5c8110af8284ad28eeabc7e66962202f
fr -> ff47975f5c8110af8284ad28eeabc7e66962202f
fur -> ff47975f5c8110af8284ad28eeabc7e66962202f
fy-NL -> ff47975f5c8110af8284ad28eeabc7e66962202f
ga-IE -> ff47975f5c8110af8284ad28eeabc7e66962202f
gd -> ff47975f5c8110af8284ad28eeabc7e66962202f
gl -> ff47975f5c8110af8284ad28eeabc7e66962202f
gn -> ff47975f5c8110af8284ad28eeabc7e66962202f
gu-IN -> ff47975f5c8110af8284ad28eeabc7e66962202f
he -> ff47975f5c8110af8284ad28eeabc7e66962202f
hi-IN -> ff47975f5c8110af8284ad28eeabc7e66962202f
hr -> ff47975f5c8110af8284ad28eeabc7e66962202f
hsb -> ff47975f5c8110af8284ad28eeabc7e66962202f
hu -> ff47975f5c8110af8284ad28eeabc7e66962202f
hy-AM -> ff47975f5c8110af8284ad28eeabc7e66962202f
hye -> ff47975f5c8110af8284ad28eeabc7e66962202f
ia -> ff47975f5c8110af8284ad28eeabc7e66962202f
id -> ff47975f5c8110af8284ad28eeabc7e66962202f
is -> ff47975f5c8110af8284ad28eeabc7e66962202f
it -> ff47975f5c8110af8284ad28eeabc7e66962202f
ja -> ff47975f5c8110af8284ad28eeabc7e66962202f
ja-JP-mac -> ff47975f5c8110af8284ad28eeabc7e66962202f
ka -> ff47975f5c8110af8284ad28eeabc7e66962202f
kab -> ff47975f5c8110af8284ad28eeabc7e66962202f
kk -> ff47975f5c8110af8284ad28eeabc7e66962202f
km -> ff47975f5c8110af8284ad28eeabc7e66962202f
kn -> ff47975f5c8110af8284ad28eeabc7e66962202f
ko -> ff47975f5c8110af8284ad28eeabc7e66962202f
lij -> ff47975f5c8110af8284ad28eeabc7e66962202f
lo -> ff47975f5c8110af8284ad28eeabc7e66962202f
lt -> ff47975f5c8110af8284ad28eeabc7e66962202f
ltg -> ff47975f5c8110af8284ad28eeabc7e66962202f
lv -> ff47975f5c8110af8284ad28eeabc7e66962202f
meh -> ff47975f5c8110af8284ad28eeabc7e66962202f
mk -> ff47975f5c8110af8284ad28eeabc7e66962202f
mr -> ff47975f5c8110af8284ad28eeabc7e66962202f
ms -> ff47975f5c8110af8284ad28eeabc7e66962202f
my -> ff47975f5c8110af8284ad28eeabc7e66962202f
nb-NO -> ff47975f5c8110af8284ad28eeabc7e66962202f
ne-NP -> ff47975f5c8110af8284ad28eeabc7e66962202f
nl -> ff47975f5c8110af8284ad28eeabc7e66962202f
nn-NO -> ff47975f5c8110af8284ad28eeabc7e66962202f
oc -> ff47975f5c8110af8284ad28eeabc7e66962202f
pa-IN -> ff47975f5c8110af8284ad28eeabc7e66962202f
pl -> ff47975f5c8110af8284ad28eeabc7e66962202f
pt-BR -> ff47975f5c8110af8284ad28eeabc7e66962202f
pt-PT -> ff47975f5c8110af8284ad28eeabc7e66962202f
rm -> ff47975f5c8110af8284ad28eeabc7e66962202f
ro -> ff47975f5c8110af8284ad28eeabc7e66962202f
ru -> ff47975f5c8110af8284ad28eeabc7e66962202f
sat -> ff47975f5c8110af8284ad28eeabc7e66962202f
sc -> ff47975f5c8110af8284ad28eeabc7e66962202f
scn -> ff47975f5c8110af8284ad28eeabc7e66962202f
sco -> ff47975f5c8110af8284ad28eeabc7e66962202f
si -> ff47975f5c8110af8284ad28eeabc7e66962202f
sk -> ff47975f5c8110af8284ad28eeabc7e66962202f
skr -> ff47975f5c8110af8284ad28eeabc7e66962202f
sl -> ff47975f5c8110af8284ad28eeabc7e66962202f
son -> ff47975f5c8110af8284ad28eeabc7e66962202f
sq -> ff47975f5c8110af8284ad28eeabc7e66962202f
sr -> ff47975f5c8110af8284ad28eeabc7e66962202f
sv-SE -> ff47975f5c8110af8284ad28eeabc7e66962202f
szl -> ff47975f5c8110af8284ad28eeabc7e66962202f
ta -> ff47975f5c8110af8284ad28eeabc7e66962202f
te -> ff47975f5c8110af8284ad28eeabc7e66962202f
tg -> ff47975f5c8110af8284ad28eeabc7e66962202f
th -> ff47975f5c8110af8284ad28eeabc7e66962202f
tl -> ff47975f5c8110af8284ad28eeabc7e66962202f
tr -> ff47975f5c8110af8284ad28eeabc7e66962202f
trs -> ff47975f5c8110af8284ad28eeabc7e66962202f
uk -> ff47975f5c8110af8284ad28eeabc7e66962202f
ur -> ff47975f5c8110af8284ad28eeabc7e66962202f
uz -> ff47975f5c8110af8284ad28eeabc7e66962202f
vi -> ff47975f5c8110af8284ad28eeabc7e66962202f
wo -> ff47975f5c8110af8284ad28eeabc7e66962202f
xh -> ff47975f5c8110af8284ad28eeabc7e66962202f
zh-CN -> ff47975f5c8110af8284ad28eeabc7e66962202f
zh-TW -> ff47975f5c8110af8284ad28eeabc7e66962202f
2024-09-27 07:03:30 +00:00
Dimi
dfe2e39046 Bug 1920676 - P1. Do not autofill into invisible <input> fields r=credential-management-reviewers,NeilDeakin
In the past we also autofill into invisible <input> fields for the
following scenario:

frame1:
<input id="visibile-cc-number"/>
<input id="invisibile-cc-name"/>
<input id="invisibile-cc-exp"/>

frame2:
<input id="invisibile-cc-number"/>
<input id="visibile-cc-name"/>
<input id="invisibile-cc-exp"/>

frame3:
<input id="invisibile-cc-number"/>
<input id="invisibile-cc-name"/>
<input id="visibile-cc-exp"/>

So when autofilling the first frame, we also autofill invisible fields in
the same frame - cc-name and cc-exp, and then the website propagates these
values to other frames. Although this behavior results in the correct autofill
for all visible <input> across different frames, it can cause issues with display
highlights, clearing autofill results.

Now that we have implemented support for autofill across iframes, we should no
longer autofill into invisible fields.

Differential Revision: https://phabricator.services.mozilla.com/D223294
2024-09-27 06:54:54 +00:00
Julien Cristau
8c12ef3cbc Bug 1921271 - update treeherder platform for windows11 perftest to match other tests. r=perftest-reviewers,sparky DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D223770
2024-09-27 06:49:35 +00:00
serge-sans-paille
4e78eee820 Bug 1919777 - Introduce MOZ_CONSTINIT as a C++17 - compatible alternative to C++20 constinit r=glandium
This attribute can be used to guarantee that some global initialization take
place at compile-time, avoiding library loading overhead and static
initialization order fiasco.

Differential Revision: https://phabricator.services.mozilla.com/D222798
2024-09-27 06:25:22 +00:00
Karl Tomlinson
562aeabc50 Bug 1919683 keep the most recent video frame for presentation at video end or pause r=media-playback-reviewers,padenot
ClearFutureFrames() is not required in MaybeResolveEndPromise() when the
VideoQueue() is empty, because the queue is now not emptied until end of
playback.  An empty queue before end of playback means no frames have been set
in the VideoFrameContainer.

Differential Revision: https://phabricator.services.mozilla.com/D223694
2024-09-27 05:34:15 +00:00
Nicolas Chevobbe
e5eb4ac342 Bug 1916329 - [devtools] Adapt autocomplete/menu item hover style in High Contrast Mode. r=devtools-reviewers,accessibility-frontend-reviewers,ochameau,nlapre.
This is adding a couple theme variables to handle
the hover background/color for menu and autocomplete list.
The doorhanger item also have an active state which seems
pretty unique, so we're only handling this at the component
level.

Differential Revision: https://phabricator.services.mozilla.com/D223309
2024-09-27 04:59:23 +00:00
Nicolas Chevobbe
66df89993e Bug 1916354 - [devtools] Make request timing bars visible in High Contrast Mode. r=devtools-reviewers,jdescottes,accessibility-frontend-reviewers,nlapre.
This is adding highly contrasted, non-system colors picked by the a11y
team to override --theme-highlight-* colors in High Contrast Mode.

Differential Revision: https://phabricator.services.mozilla.com/D223474
2024-09-27 04:58:28 +00:00
Karl Tomlinson
098fbae913 Bug 1919683 change MediaDecoderOwner::AbstractMainThread() from instance to class method r=media-playback-reviewers,padenot
This no longer needs to be an instance method since
https://hg.mozilla.org/mozilla-central/rev/324cc7d374d1860a1743fa7f8a33a782e3bd4177#l50.524

Another mock MediaDecoderOwner implementation will be added for GTests and
having the single AbstractMainThread() implementation saves having to add
another.

Maintaining the method on MediaDecoderOwner retains the clarification that the
different clients are using the same event queue mechanism.

Differential Revision: https://phabricator.services.mozilla.com/D223696
2024-09-27 04:43:19 +00:00
Karl Tomlinson
b8ea2a092b Bug 1919683 remove optional parameters from RenderVideoFrames() r=padenot
unused and inappropriate since
https://hg.mozilla.org/mozilla-central/rev/379a22d155982c7f109dc60d7a98bfd67fdff664

Differential Revision: https://phabricator.services.mozilla.com/D223695
2024-09-27 04:35:50 +00:00
Karl Tomlinson
3268a83ed7 Bug 1919683 correct documentation of media.ruin-av-sync.enabled r=media-playback-reviewers,padenot
The documentation implied that a minimum queue size of 0 would remedy A/V sync
but this actually just changes the effect to a playback stall, as reported in
bug 1316571 and others.

A subsequent patch will restore the minimum queue size of 1, but still
drop frames while the video is playing.

Differential Revision: https://phabricator.services.mozilla.com/D223693
2024-09-27 04:28:39 +00:00
Karl Tomlinson
13ab4c423a Bug 1919683 add a description to an optional assert r=media-playback-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D223692
2024-09-27 04:28:39 +00:00
Karl Tomlinson
3e2991e94b Bug 1919683 move big endian 32-bit integer helper to MediaSourceUtil r=media-playback-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D223691
2024-09-27 04:28:39 +00:00
Masayuki Nakano
837f3a1ff2 Bug 1919824 - Make NativeKey::GetFollowingCharMessage return false when removed dead char message is a fake one r=m_kato
In bug 1910287, we made the method accept `WM_DEADCHAR` message whose `wParam`
is `0` as a valid char message.  However, it may be different from found dead
char message at least for an Ethiopic Syllable input.

In the case, we found a WM_DEADCHAR whose `wParam` may not be `0`.  Then, we
remove the message from the queue.  However, the keyboard/IME makes us to
remove a dummy message whose wParam (inputting character) is NULL and scancode
is 0.  Finally, the found message keeps staying in the queue.  The crash report
comes after we started accepting WM_DEADCHAR with NULL character above.
However, we haven't handled only a part of dead key sequence but the user tried
to input Ethiopic Syllable.  Therefore, it's hard to guess that the user starts
using Firefox with the IME at the timing and the the user keeps using Firefox
with unfunctional IME.  Perhaps the IME does something different hack for us to
make itself available on Firefox.  Therefore, we should just return `false` as
what we did to make the caller give up removing the following messages.

Differential Revision: https://phabricator.services.mozilla.com/D223245
2024-09-27 04:03:36 +00:00
Sandor Molnar
2a9d68b8e3 Backed out changeset a434dcc2855b (bug 1921083) for causing mochitest failures @ test_interfaces_secureContext.html CLOSED TREE 2024-09-27 06:42:55 +03:00
Erich Gubler
f1a9e5c7c5 Bug 1921083: feat(webgpu): stub out GPU.wgslLanguageFeatures r=webgpu-reviewers,webidl,jimb,saschanaz
Differential Revision: https://phabricator.services.mozilla.com/D223631
2024-09-27 02:38:31 +00:00
Drew Willcoxon
d5c5e03932 No bug - SNG-1837 - Stop pre-fetching the urlbar weather suggestion. r=daisuke
This also removes VPN detection. That was only really necessary back when the
weather suggestion was zero-prefix, i.e., when it was shown simply by clicking
in the urlbar without typing anything. I think if you go to the trouble of
typing a weather keyword, we should show you the suggestion even if you're on a
VPN.

Differential Revision: https://phabricator.services.mozilla.com/D223874
2024-09-27 01:59:28 +00:00
Emilio Cobos Álvarez
a6bd05ded7 Bug 1917331 - Fix debug_assert triggered by a wpt on android.
MANUAL PUSH: trivial fix CLOSED TREE
2024-09-26 18:47:14 -07:00
Lina Butler
f3aee97c59 Bug 1919655 - Support importing kvstore databases from multiple directories. r=nanj
This commit extends the Skv importer to allow consolidating multiple
Rkv databases in different storage directories, which add-ons would
like to do when they migrate (bug 1919530).

`nsIKeyValueImporter` is now a fluent builder interface. Callers can
use `importer.add{Database, AllDatabases}()` to configure the importer
to import Rkv databases in the same storage directory, and use
`importer.addSourcePath().add{Database, AllDatabases()}` to configure
importing databases from other directories. The reworked `import()`
method does the actual import.

Differential Revision: https://phabricator.services.mozilla.com/D223229
2024-09-27 00:59:16 +00:00
Lina Butler
91767450ff Bug 1919655 - Encapsulate kvstore::fs::canonicalize into WidePathBuf. r=nanj
`kvstore` uses "wide" `ns{A}String`s (potentially ill-formed UTF-16
strings) to represent paths in its XPCOM interface methods.
`ns{A}String` doesn't implement `Hash` or the built-in comparison
traits, so a wide path can't currently be used as a map key.

This commit introduces a `WidePathBuf` wrapper type, with the same
semantics as an `ns{A}String` path, but usable as a map key.

Differential Revision: https://phabricator.services.mozilla.com/D223228
2024-09-27 00:59:16 +00:00
Mozilla Releng Treescript
0fd526033b no bug - Import translations from android-l10n r=release a=l10n CLOSED TREE 2024-09-27 00:21:51 +00:00
Boris Chiou
3713ce5f57 Bug 1917331 - Add test for a random floating-point number to make sure we create the transition for the custom properties. r=layout-reviewers,firefox-style-system-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D223629
2024-09-26 23:57:13 +00:00
Emilio Cobos Álvarez
e24d5d2784 Bug 1917331 - Keep parsed value when uncomputing for animations. r=boris,firefox-style-system-reviewers
I think this is a bit more consistent, and makes us preserve the
invariant that from_computed_value().to_computed_value() round-trips.

Differential Revision: https://phabricator.services.mozilla.com/D223878
2024-09-26 23:57:13 +00:00
Brad Werth
7f17300129 Bug 1919114 Part 3: Update fuzziness of reftests with no gpu process. r=gfx-reviewers,aosmond,taskgraph-reviewers,jmaher
Allowing (once again) a no-gpu-process option increases the number of
pixels which get antialiased differently than the reference image. The
images continue to largely match; it's just an increase in the number of
close-but-not-quite pixels.

Differential Revision: https://phabricator.services.mozilla.com/D223395
2024-09-26 23:55:39 +00:00
Brad Werth
c285fa7a68 Bug 1919114 Part 2: Add a no-gpu-process test variant for reftests and media mochitests. r=taskgraph-reviewers,gfx-reviewers,jcristau,jmaher,aosmond
This allows us to test platforms that support GPU process without
enabling the GPU process. It may help us flush out differing test
outcomes between the two cases. Eventually this will be retired when all
platforms have mature GPU process implementations.

Differential Revision: https://phabricator.services.mozilla.com/D222340
2024-09-26 23:55:39 +00:00
Brad Werth
ff9adab15d Bug 1919114 Part 1: Allow UtilityAudioDecoderChild::CreateVideoBridge to work without a GPU process. r=aosmond
At some point, UtilityAudioDecoderChild lost the ability to work
*without* a GPU process. This patch remedies that by creating an
alternate connection for the endpoint, modeled after the code in
RDDProcessManager.

Differential Revision: https://phabricator.services.mozilla.com/D223015
2024-09-26 23:55:38 +00:00
Maxx Crawford
d16ad42be9 Bug 1921326 - Separate unified ads API enabled pref into independent prefs for tiles and spocs r=home-newtab-reviewers,places-reviewers,thecount,adw
Differential Revision: https://phabricator.services.mozilla.com/D223848
2024-09-26 23:37:17 +00:00
Sandor Molnar
433339fc5e Bug 1921090 - Fix fenix lint failure CLOSED TREE 2024-09-27 02:43:30 +03:00
Sammy Khamis
b39fbd3aa6 Bug 1920559: Synced tabs sidebar should take full width when device does not support closing tabs r=sync-reviewers,sidebar-reviewers,jsudiaman,LougeniaBailey
Differential Revision: https://phabricator.services.mozilla.com/D223246
2024-09-26 22:42:43 +00:00
Jeff Boek
f497f09636 Bug 1920598 - Show a warning for opening more than 15 tabs from a folders 3 dot menu r=android-reviewers,matt-tighe
Depends on D223825

Differential Revision: https://phabricator.services.mozilla.com/D223858
2024-09-26 22:19:30 +00:00
Jeff Boek
503a3d5564 Bug 1921308 - Adds new folder button to the bottom of the selection list r=android-reviewers,matt-tighe
Differential Revision: https://phabricator.services.mozilla.com/D223825
2024-09-26 22:19:29 +00:00
Jeff Boek
9a1a392415 Bug 1921300 - Prevent saving a bookmark with an empty title r=android-reviewers,matt-tighe
Differential Revision: https://phabricator.services.mozilla.com/D223824
2024-09-26 22:19:29 +00:00
Jeff Boek
9cd580d2f2 Bug 1921091 - Adds ability to move multi-selected items r=android-reviewers,matt-tighe
Depends on D223769

Differential Revision: https://phabricator.services.mozilla.com/D223823
2024-09-26 22:19:29 +00:00
Jeff Boek
c48311024c Bug 1919949 - Delete bookmark using undo snackbar r=android-reviewers,matt-tighe
Depends on D223768

Differential Revision: https://phabricator.services.mozilla.com/D223769
2024-09-26 22:19:28 +00:00
Jeff Boek
3d5d906870 Bug 1921138 - Update the multi-select title based on the number of items that will be deleted r=android-reviewers,matt-tighe
Depends on D223664

Differential Revision: https://phabricator.services.mozilla.com/D223768
2024-09-26 22:19:28 +00:00
Jeff Boek
3bc873b230 Bug 1921141 - Implements multi-select deletion using the snackbar and deletion dialog r=android-reviewers,matt-tighe
Differential Revision: https://phabricator.services.mozilla.com/D223664
2024-09-26 22:19:27 +00:00
Jeff Boek
b338b4243b Bug 1921133 - Add dialog to confirm when a user wants to delete a folder r=android-reviewers,matt-tighe
Differential Revision: https://phabricator.services.mozilla.com/D223663
2024-09-26 22:19:27 +00:00
Jeff Boek
f764675d44 Bug 1921090 - Presents and undo snackbar when deleting a bookmark item using the menu r=android-reviewers,matt-tighe
Differential Revision: https://phabricator.services.mozilla.com/D223662
2024-09-26 22:19:27 +00:00
Jeff Boek
6bbbea275f Bug 1921093 - Adds snackbar that gets displayed when trying to edit a desktop folder r=android-reviewers,matt-tighe
Differential Revision: https://phabricator.services.mozilla.com/D223661
2024-09-26 22:19:26 +00:00
Jeff Boek
b58af9c4da Bug 1921065 - Adds edit folder screen and store functionality to edit a folder r=android-reviewers,matt-tighe
Differential Revision: https://phabricator.services.mozilla.com/D223660
2024-09-26 22:19:26 +00:00
Sandor Molnar
f1654c9d4a Bug 1767721 - Skip 'browser_dbg-browser-toolbox-workers.js' on mac & win for frequent failures. r=intermittent-reviewers,jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D223873
2024-09-26 22:09:53 +00:00