Releases: web-platform-tests/wpt
merge_pr_50787
Skip view transitions when we resize the viewport size.
Also, we have to make sure we resolve or reject the finished promise in
SkipTransition()
because mPhase
may not be Done in
CallUpdateCallback()
.
Besides, we have to update tests to wait for the load event of the popup
window because the original document of this popup window may get replaced
by a new blank one. In order to make sure we start view transitions in the
correct document, we have to wait until the popup window is loaded.
If we don't wait the load event, it may cause timeout because we destroy
the original document (which runs view tranistions) after some animation
frames, and so we keep waiting the new animation frames or any promises
of the view transitions (but they are skipped because the original
doucment has been destroy).
Note that the resizeTo()
API may not work on mobile, e.g. Android, so
we may get timeout when waiting for resize
event. That's why we expect
TIMEOUT in window-resize-aborts-transition.html and expect FAIL in
window-resize-aborts-transition-before-ready.html for android.
Differential Revision: https://phabricator.services.mozilla.com/D237995
bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1919356
gecko-commit: 13e5b704f147517dddb3b291da4a927252284356
gecko-reviewers: view-transitions-reviewers, emilio
merge_pr_50786
Update Web Speech API to check for detached context
This CL updates the new installOnDevice and availableOnDevice APIs of the Web Speech API to check for detached context.
Spec changes: WebAudio/web-speech-api#138
Bug: 40286514
Change-Id: I024a3b906e4d3838fb9c77578a67c57e0249dc2b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6259599
Commit-Queue: Evan Liu evliu@google.com
Reviewed-by: Fr beaufort.francois@gmail.com
Cr-Commit-Position: refs/heads/main@{#1421672}
merge_pr_50784
Bail out from ScrollFrameIntoVisualViewport if the given position:fixed element is outside of the viewport.
Differential Revision: https://phabricator.services.mozilla.com/D237853
bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1947223
gecko-commit: 1425e6d7a4a298ceb415e12ede07bb3711771fca
gecko-reviewers: dlrobertson
merge_pr_50780
Part 3: Update cors-crossorigin-requests.html expected error message.
Update the error event handler in crossorigin-common.js to pass the error.name
into log.
Differential Revision: https://phabricator.services.mozilla.com/D238423
bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1948589
gecko-commit: 6b93c2bdc25de6cf16c03bf11609dc2b4666779e
gecko-reviewers: jonco
merge_pr_50726
Remove the 'variants' param from instantiated variants
The 'variants' parameter is used to generate the list of Variant
instances for a given test. It's not useful to keep it around once the
Variant objects are created, or else, each Variant object ends up
carrying the full list of all variant configs in it's params.
Bug: 40207206
Change-Id: I462ad791836dd439385b8ad7a5afd9c278343279
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6204125
Reviewed-by: Andres Ricardo Perez andresrperez@chromium.org
Commit-Queue: Jean-Philippe Gravel jpgravel@chromium.org
Cr-Commit-Position: refs/heads/main@{#1422138}
merge_pr_50518
[testdriver] Add some test_driver.bidi.bluetooth commands and event (#50518)
Add the following WebDriver BiDi commands and event and extend the documentation:
test_driver.bidi.bluetooth.simulatePreconnectedPeripheral
method matchingbluetooth.simulatePreconnectedPeripheral
test_driver.bidi.bluetooth.handleRequestDevicePrompt
method matchingbluetooth.handleRequestDevicePrompt
test_driver.bidi.bluetooth.requestDevicePromptUpdated
method matchingbluetooth.requestDevicePromptUpdated
merge_pr_50785
Translator: Echo empty string
If the an empty string is passed to AITranslator.translate, then echo it
back. This does two things:
- Aligns with the spec more since it wants us to echo back any
non-translatable content. - Fixes an issue where passing an empty string to translate causes us to
reject the translate promise.
Fixed: 392057205, 395120677
Change-Id: I05bda0c7b8b75145d9b9fd58183bdaf174e8dd95
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6245038
Commit-Queue: Nathan Memmott memmott@chromium.org
Reviewed-by: Ming-Ying Chung mych@chromium.org
Cr-Commit-Position: refs/heads/main@{#1421657}
merge_pr_50783
[functions] Handle {}-wrapper at parse-time
Each argument to a custom function is a "comma containing production",
which requires some special handling of "{}" [1]. In short, commas
and "{}" blocks are not allowed in arguments, unless the whole argument
is wrapped in "{}". This makes it possible to pass values containing
a comma as a single argument, e.g.: --foo({1, 2}, 3).
This CL just implements the parse-time enforcement of these rules;
a subsequent CL will make StyleCascade::ResolveFunctionInto aware
of this behavior.
[1] https://drafts.csswg.org/css-values-5/#component-function-commas
Bug: 325504770, 390205875
Change-Id: Ic9abeb9884b503e31ae3b5ffa0b5ff58c74d5677
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6276539
Reviewed-by: Steinar H Gunderson sesse@chromium.org
Commit-Queue: Anders Hartvoll Ruud andruud@chromium.org
Cr-Commit-Position: refs/heads/main@{#1421638}
merge_pr_50782
Support light-dark() in Highlight Pseudos
The color scheme should be copied from the originating element,
according to the spec.
https://drafts.csswg.org/css-pseudo-4/#highlight-styling
Fixed: 393176251
Change-Id: Ic1051b090c6f36b50ca890596508f01a8cb5e731
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6278646
Reviewed-by: Anders Hartvoll Ruud andruud@chromium.org
Commit-Queue: Stephen Chenney schenney@chromium.org
Cr-Commit-Position: refs/heads/main@{#1421633}
merge_pr_50781
Update parsing of *progress() functions notation
As per https://issues.chromium.org/issues/40944203
from
and to
are now commas.
Bug: 4094420
Change-Id: Id8375ce4c6604b36bed5d1000f0babb59cbc2b83
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6276170
Commit-Queue: Daniil Sakhapov sakhapov@chromium.org
Reviewed-by: Anders Hartvoll Ruud andruud@chromium.org
Cr-Commit-Position: refs/heads/main@{#1421595}