Every synthesized mouse event for tests are important. So, they should never
be coalesced. This is required to write mochitests which synthesize `mousemove`
events via the parent process.
Differential Revision: https://phabricator.services.mozilla.com/D99317
Automatic update from web-platform-tests
Add flakiness for webaudio/the-audio-api/the-audiobuffer-interface/ctor-audiobuffer.html (#26730)
The order of 2 checks done in the tests is undeterministic, causing PASS lines to be printed in
in an inconsistent order and leading to flakiness in WebKit test suite. This patch does the
checks in a deterministic order to address the issue.
Co-authored-by: Chris Dumez <cdumez@apple.com>
--
wpt-commits: 2ab8d794f0c48068703f4d9769bf693ac5b52a3f
wpt-pr: 26730
Automatic update from web-platform-tests
[PTZ] Copy image capture settings when cloning MediaStreamTrack
This CL makes sure all ImageCapture related capabilities, constraints,
and settings are copied to the cloned MediaStreamTrack. This wasn't the
case before.
Bug: 934063
Change-Id: I783d0804e56f46152e1ba02255ff454dd1ba76aa
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2567917
Reviewed-by: Guido Urdaneta <guidou@chromium.org>
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Commit-Queue: François Beaufort <beaufort.francois@gmail.com>
Cr-Commit-Position: refs/heads/master@{#833827}
--
wpt-commits: bdffc9f6f513baccaf98efa18eb74a2c0232cc82
wpt-pr: 26738
Automatic update from web-platform-tests
[selectors4] Implement :dir pseudo-class
This patch adds support for the new ":dir" pseudo-class.
The patch is covered by several of tests imported from the web tests
including generic tests in addition to the tests from Firefox and
apart from some minor changes on current tests to add the new selector.
Intent-to-ship thread is available at:
https://groups.google.com/u/1/a/chromium.org/g/blink-dev/c/p0Wc66rbVOc
BUG=576815
Change-Id: I503c6af95d9c5817e3e71b1b2025a5562929f0d8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2460849
Commit-Queue: Miyoung Shin <myid.shin@igalia.com>
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/master@{#833712}
--
wpt-commits: 7741972130489134a88f7873fe9fd0430f33784d
wpt-pr: 26159
Automatic update from web-platform-tests
Add support for ReadableStreamBYOBReader & ByteStreamController
This CL adds the main implementation for supporting BYOB readers
and byte stream controllers for readable streams according to
the Streams API standard[1]. As added in previous CLs, this is
done using polymorphism where there are two base classes:
- ReadableStreamGenericReader, and
- ReadableStreamController
which the default/BYOB readers and default/byte stream controllers
inherit from. This approach is further elaborated upon in detail
in the design document[2].
The three main classes that implementation was added for in
this CL are:
1. ReadableStreamBYOBReader
2. ReadableByteStreamController
3. ReadableStreamBYOBRequest
This CL also includes:
- new GetBYOBReader unittest
- UnderlyingSource WebIDL files [3]
among other things for adding the functionality of supporting
readable byte streams.
[1] https://streams.spec.whatwg.org/
[2] https://docs.google.com/document/d/1rvKpGjppeqRSWntokY-ft_hU2i2us8gis6zgrrLWSTI/view#
[3] https://streams.spec.whatwg.org/#underlying-source-api
Bug: 614302
Change-Id: I380258453e6fd5d617810e21fa8996f8f08b26f1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2537281
Commit-Queue: Nidhi Jaju <nidhijaju@google.com>
Reviewed-by: Yutaka Hirano <yhirano@chromium.org>
Reviewed-by: Adam Rice <ricea@chromium.org>
Cr-Commit-Position: refs/heads/master@{#833711}
--
wpt-commits: 274af4bd211a011849d035eaeb768d0f447208d9
wpt-pr: 26714
Automatic update from web-platform-tests
Add restrictions to allowed extensions for File System Access API
These restrictions apply to showOpenFilePicker and showSaveFilePicker.
Existing restriction:
- Extension must start with "."
New restrictions:
- Allowed code points: [A-Za-z0-9+.]
- Extension length cannot exceed to 16, inclusive of leading "."
- Extension cannot end with "."
- Extension cannot end with "local" or "lnk"
Bug: 1137247, 1140410, 1140417, 1152327
Change-Id: I593f7ca60e05177402885bd3026add16b3a07d0c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2568534
Reviewed-by: Marijn Kruisselbrink <mek@chromium.org>
Commit-Queue: Austin Sullivan <asully@chromium.org>
Cr-Commit-Position: refs/heads/master@{#833695}
--
wpt-commits: eb572878163035359e8480d439e7aeb224e51802
wpt-pr: 26721
Automatic update from web-platform-tests
Add tests for form newline normalization in filenames
--
wpt-commits: a8fad46bc951b7270eb9d92ee3f8875b7245ef3b
wpt-pr: 26747
Automatic update from web-platform-tests
Correctly handle detach during (de)compression
Sometimes CompressionStream and DecompressionStream enqueue multiple
output chunks for a single input chunk. When this happens, JavaScript
code can detach the input ArrayBuffer while the stream is processing it.
This will cause an error when zlib tries to read the buffer again
afterwards.
To prevent this, buffer output chunks until the entire input chunk has
been processed, and then enqueue them all at once.
Bug: 1151298
Change-Id: I03fca26fc641d54b09067e3994b76ee8efca6839
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2567539
Commit-Queue: Adam Rice <ricea@chromium.org>
Reviewed-by: Yutaka Hirano <yhirano@chromium.org>
Cr-Commit-Position: refs/heads/master@{#833659}
--
wpt-commits: 0f98fe9643ca13faec61bce35e40f0d676011745
wpt-pr: 26698
Automatic update from web-platform-tests
Simulate user inputs in pointerevent_fractional_coordinates.html
Use testdriver Action API to simulate mouse and touch actions in
pointerevents/pointerevent_fractional_coordinates.html.
Bug: 1145677
Change-Id: I8ec66844c7662a88b9e7cb3d792778e9b6df6f57
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2568605
Commit-Queue: Lan Wei <lanwei@chromium.org>
Reviewed-by: Liviu Tinta <liviutinta@chromium.org>
Cr-Commit-Position: refs/heads/master@{#833597}
--
wpt-commits: 35450a5d2eb710e579c1554872247fa3eae7b5e9
wpt-pr: 26728
Previous behavior was to allow requests if the user has ever interacted with
the window. This patch changes from sticky activation to transient
activation.
WindowContext is used rather than Document for the
HasValidTransientUserGestureActivation() test because user activation is a
property of the Window/global.
The error reported when WindowContext is null is the same as that for missing
transient activation, which is keeping the existing behavior.
https://searchfox.org/mozilla-central/rev/66547980e8e8ca583473c74f207cae5bac1ed541/dom/base/Document.cpp#15806
i.e. a missing WindowContext is still treated as missing transient activation.
Depends on D98274
Differential Revision: https://phabricator.services.mozilla.com/D98275
This is intended to be a hotfix for the URL bar regression. Ideally there should be a spec or this behavior should be removed completely.
Previously select() scrolled back to the start position before the regression, but this fix does not restore that behavior.
Differential Revision: https://phabricator.services.mozilla.com/D98972
After this patch, the testcase still triggers soft assertions like
ASSERTION: Placeholder relationship should have been torn down already;
this might mean we have a stray placeholder in the tree.
We have multiple bugs filed for this assertions such as bug 856269.
Differential Revision: https://phabricator.services.mozilla.com/D90760