Automatic update from web-platform-tests
sensors: Remove cross-origin iframe test from runGenericSensorTests().
This test is wrong, which causes it to be flaky: it just adds an iframe and
waits for it to load without properly taking care of window focus, so the
sensor in the main window continued running and we could end up receiving an
unexpected "reading" event if the iframe's "load" event took to long to be
delivered.
Remove the test altogether in favor of run_generic_sensor_iframe_tests(),
which checks for the same thing the right way (although it is also a bit
flaky...).
Bug: 731018
Change-Id: I568f032233be767a2d2a3d50bd3de8d8ce3db0ef
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2204024
Auto-Submit: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
Commit-Queue: Reilly Grant <reillyg@chromium.org>
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#769458}
--
wpt-commits: 257af6a7bd889bf588a438d70f6f01fed9fca66f
wpt-pr: 23640
Automatic update from web-platform-tests
Mark AmbientLightSensor.https.html as a slow test.
ALS and Magnetometer have a maximum frequency of 10Hz, which can cause the
Generic Sensors test suite to take longer than normal to run.
Add the <meta> tag with the annotation to AmbientLightSensor.https.html, as
Magnetometer.https.html already has it.
Bug: 731018
Change-Id: Ia437fb2907c0e52caa281c8e709c1d48ca59873f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2203071
Auto-Submit: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
Commit-Queue: Reilly Grant <reillyg@chromium.org>
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#769453}
--
wpt-commits: 4d6f847054dbe39fb986fbd43cca4a8bd646663c
wpt-pr: 23639
Automatic update from web-platform-tests
sensors: Call GenericSensorTest.reset() in a cleanup function.
This addresses some of the flakiness in the sensors tests, in addition to
helping make it easier to find other sources of flakiness.
Instead of calling GenericSensorTest.reset() in a `finally` clause, use
t.add_cleanup() instead. The latter's behavior is more deterministic (see
https://github.com/web-platform-tests/wpt/pull/17924), and fixes an issue
where an EventWatcher would fail an assertion when receiving an unexpected
event, and GenericSensorTest.reset() would either not be called or called
after other tests had already started running.
Bug: 731018
Change-Id: Ifbb95b8067b153b70ecb3e6509f476164afd022e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2203378
Auto-Submit: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
Commit-Queue: Reilly Grant <reillyg@chromium.org>
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#769442}
--
wpt-commits: e909362eb429426f97d3c8731855075de9def0b2
wpt-pr: 23629
Automatic update from web-platform-tests
De-flaky some pointerevents wpt tests - Part 2
Because of Linux memory leak, pointerevent wpt tests
pointerevent_pointerleave_does_not_bubble.html,
pointerevent_pointerout_received_once.html and
pointerevent_setpointercapture_disconnected.html are flaky, we
should finish the test in the actions promise's callback to guarantee
the actions are all executed before the test finishes to avoid memory
leak.
Bug: 998948
Change-Id: I8e94ef1f2aba426c7ce58deed096c9ec56b10f80
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2198685
Commit-Queue: Lan Wei <lanwei@chromium.org>
Reviewed-by: Navid Zolghadr <nzolghadr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#769431}
--
wpt-commits: 03e2258e2a76ff3f8269f83c601aec770c437853
wpt-pr: 23609
Automatic update from web-platform-tests
De-flaky pointerlock/pointerevent_movementxy.html
Because of Linux memory leak, pointerevent wpt tests
pointerlock/pointerevent_movementxy.html is flaky, we should finish the
test in the actions promise's callback to guarantee the actions are all
executed before the test finishes to avoid memory leak.
Bug: 998948
Change-Id: I483ea75e5081faedb5c59296d7c5d4f40b3f3880
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2200154
Reviewed-by: Navid Zolghadr <nzolghadr@chromium.org>
Commit-Queue: Lan Wei <lanwei@chromium.org>
Cr-Commit-Position: refs/heads/master@{#769399}
--
wpt-commits: 71f24a0e457c86fba453e234d4de5aa635fb2d88
wpt-pr: 23614
Automatic update from web-platform-tests
Forced Colors Mode - revert at author origin
The spec now indicates that we should revert forced colors related
properties at the author origin rather than reverting back to the UA
level (https://www.w3.org/TR/css-color-adjust-1/#forced).
Bug: 970285
Change-Id: Id05c1fcde61ce7908223e570eb39039bbca931ca
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2181579
Commit-Queue: Alison Maher <almaher@microsoft.com>
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#769392}
--
wpt-commits: 6c82701a8cde89e61513229966f65b31960b31a9
wpt-pr: 23471
Automatic update from web-platform-tests
De-flaky some pointerevents wpt tests - Part 1
Because of Linux memory leak, pointerevent wpt tests
pointerevent_lostpointercapture_is_first.html,
pointerevent_pointerleave_descendant_over.html and
pointerevent_setpointercapture_invalid_pointerid.html are flaky, we
should finish the test in the actions promise's callback to guarantee
the actions are all executed before the test finishes to avoid memory
leak.
Bug: 998948
Change-Id: I3ccfd7dd23b8ac1165cec8f890ddb3c359dd9b4b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2197525
Reviewed-by: Navid Zolghadr <nzolghadr@chromium.org>
Commit-Queue: Lan Wei <lanwei@chromium.org>
Cr-Commit-Position: refs/heads/master@{#769364}
--
wpt-commits: ccba0304fd2faf26b2a082d6f11eb1c13e93f3a0
wpt-pr: 23571
Automatic update from web-platform-tests
[AspectRatio] aspect-ratio should apply even with width:auto;height:auto;
See discussion in https://github.com/w3c/csswg-drafts/issues/5060R=ikilpatrick@chromium.org
Fixed: 1082479
Change-Id: Ic1f47a5ba92cdbff96ce0b1d60e9741c1051c291
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2202691
Commit-Queue: Christian Biesinger <cbiesinger@chromium.org>
Auto-Submit: Christian Biesinger <cbiesinger@chromium.org>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#769360}
--
wpt-commits: bbf1f57cc2539e68e1a8d56685d2cae2eda9cc81
wpt-pr: 23625
Automatic update from web-platform-tests
[Azure Pipelines] start running inert element retargeting tests again (#20323)
Fixes https://github.com/web-platform-tests/wpt/issues/18634.
Also lists the right issues for Safari stable.
--
wpt-commits: 61411a256d1583145b9c38166254f256c1676ff9
wpt-pr: 20323
Automatic update from web-platform-tests
[EventTiming] Fix flakiness in dblclick test
The test is flaky on the bots because there are cases where the
processingStart is equal to startTime. Hence, relax the assert.
Bug: 1082739
Change-Id: I0e931a52ade3b714e7a613de3ee1d2187bd1cb1f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2202683
Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
Reviewed-by: Yoav Weiss <yoavweiss@chromium.org>
Cr-Commit-Position: refs/heads/master@{#769320}
--
wpt-commits: be7177f41d872bae3f1ba4836d7128142e09947f
wpt-pr: 23621
Automatic update from web-platform-tests
Preload: Add "timeout long" to preload WPTs
These tests occasionally time out on some platforms. I suspect these are
just slow.
Bug: 1051858, 1073346
Change-Id: I8ca11ceba3e71097138ad146ff359346f06eaa81
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2201798
Auto-Submit: Hiroki Nakagawa <nhiroki@chromium.org>
Commit-Queue: Dominic Farolino <dom@chromium.org>
Reviewed-by: Dominic Farolino <dom@chromium.org>
Cr-Commit-Position: refs/heads/master@{#769300}
--
wpt-commits: 9497c1dbeed283f8648a5bed0f568333b75a34f5
wpt-pr: 23602
Automatic update from web-platform-tests
[Lazyload]: Add image lazy loading relevant mutation tests
The bug https://crbug.com/1082961 outlines an issue whereby when
relevant mutations take place on a deferred loading=lazy image, these
mutations cause the image to be fetched immediately, which is the
incorrect behavior.
Bug: 1082961
Change-Id: I2eaeb0815266df55aa451e02cc29f91ca065c781
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2202684
Commit-Queue: Dominic Farolino <dom@chromium.org>
Reviewed-by: Fredrik Söderquist <fs@opera.com>
Cr-Commit-Position: refs/heads/master@{#769299}
--
wpt-commits: 64380e1f01ea0a603ec65ff2c3101239aceada00
wpt-pr: 23623
Automatic update from web-platform-tests
[ScrollTimeline] Ensure composited animations notify blink upon starting
KeyframeEffect is paused with local time for scroll-linked animations
when ticking. To make sure the start event of a keyframe model is sent
to blink, we should not set its run state to PAUSED until such event is
sent.
Worklet animation is also paused with local time but there is no need
to hold setting the run state to PAUSED because sending start event is
not applicable to worklet animations.
A regression test is added to make sure that blink gets notified so the
test won't timeout.
Bug: 1082351
Change-Id: I6224cdab3eb46cadb6b84fcb1c0de50f3f3d816c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2199405
Reviewed-by: Majid Valipour <majidvp@chromium.org>
Commit-Queue: Yi Gu <yigu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#769274}
--
wpt-commits: a190a45479f2cfab891e45b49f43c0542b1f9b16
wpt-pr: 23597
Automatic update from web-platform-tests
Clipboard API Tests: Move permissions tests to WPT.
Since https://github.com/web-platform-tests/wpt/pull/20461 and
https://github.com/web-platform-tests/wpt/issues/5671 were fixed, it now
becomes possible to automate some Web Platform Tests, and have them run
on all browsers automatically.
Clipboard API permission tests were previously outside WPT in order to
automate permissions using PermissionsHelper and detect regressions.
This allows us to share our permissions tests with other browsers
testing using WPT.
Bug: 1076691
Change-Id: I1ff6a8bbdf60b8d77fd8621efce840739fbeec23
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2200278
Auto-Submit: Darwin Huang <huangdarwin@chromium.org>
Commit-Queue: Victor Costan <pwnall@chromium.org>
Reviewed-by: Victor Costan <pwnall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#769171}
--
wpt-commits: 290d03696f5008625c2ebd1bfaf37eb9bff5bd79
wpt-pr: 23617
Automatic update from web-platform-tests
[docs] document how to get safaridriver logs for debugging (#23636)
--
wpt-commits: 6592af4107a349b9da01d28b78f769e57db1765b
wpt-pr: 23636
Automatic update from web-platform-tests
Added in special case for timeline inclusive end point
A special case is needed for timeline current time and phase calculation
when endScrollOffset is greater than or equal to the max offset. This
special case was removed when adding timeline phase, and is now being
added back in.
The special case makes it so that when no endScrollOffset is provided
(which is the default behavior) the max scroll offset is inclusive.
This means that it is not necessary to specify "fill: forwards" on an
effect to make sure it remains at the end of the effect when the scroll
has reached its maximum.
https://github.com/w3c/csswg-drafts/issues/4325#issuecomment-606723725
Bug: 1046833
Change-Id: I6184f9c6059e1a091b54d86f37e4ba4b63c6bd13
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2195085
Commit-Queue: Jordan Taylor <jortaylo@microsoft.com>
Reviewed-by: Majid Valipour <majidvp@chromium.org>
Cr-Commit-Position: refs/heads/master@{#768846}
--
wpt-commits: c13c576ef5d984358208c77147ba740ffea8e73b
wpt-pr: 23519
Automatic update from web-platform-tests
[client-hints] Ensure by-default&legacy hints behave with XO redirects
As a followup to [1], this CL ensures that on-by-default Client Hints
don't get removed from cross-origin redirects.
It similarly makes sure that legacy hints that don't abide to
FeaturePolicy get a free pass on the removal in that case.
Finally, it makes sure that UA-Mobile's FeaturePolicy's default value
is "all".
[1] https://chromium-review.googlesource.com/c/chromium/src/+/2178572
Bug: 911952, 1082072
Change-Id: I1f329a3c24397a287a1cbc333cd0976bb16d640a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2199107
Commit-Queue: Yoav Weiss <yoavweiss@chromium.org>
Reviewed-by: Maksim Orlovich <morlovich@chromium.org>
Reviewed-by: Aaron Tagliaboschi <aarontag@chromium.org>
Cr-Commit-Position: refs/heads/master@{#768549}
--
wpt-commits: eb6e99fbd9d5dca463a82368288593f56a1a7e36
wpt-pr: 23634
Automatic update from web-platform-tests
Remove documents.fonts.ready workaround (#23633)
Remove documents.fonts.ready workaround since the WebKit bug has
been fixed.
--
wpt-commits: 8d126975963efaf11efa210ce28c4f6a3d7faa21
wpt-pr: 23633
Automatic update from web-platform-tests
[Client-Hints] Fix cross-origin redirect leak (#23461)
Client Hints are not supposed to be sent across cross-origin
redirects unless FeaturePolicy indicates that they should.
This CL enforces that and adds tests to that effect.
Bug: 911952
Change-Id: If3453409385b50f84b7ae188965b81c24f87dfc8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2178572
Auto-Submit: Yoav Weiss <yoavweiss@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Reviewed-by: Scott Violet <sky@chromium.org>
Reviewed-by: Daniel Vogelheim <vogelheim@chromium.org>
Reviewed-by: Maksim Orlovich <morlovich@chromium.org>
Commit-Queue: Yoav Weiss <yoavweiss@chromium.org>
Cr-Commit-Position: refs/heads/master@{#768244}
Co-authored-by: Yoav Weiss <yoavweiss@chromium.org>
--
wpt-commits: 917170b66145b2e177eab988ad362870359ec6b9
wpt-pr: 23461
Automatic update from web-platform-tests
[PTZ] Expose image capture pan & tilt only if PTZ permission is granted
This CL makes sure the pan/tilt capabilities/constraints/settings
are available only if PTZ permission is granted to the website when the
the MediaCapturePanTilt feature is enabled.
If the MediaCapturePanTilt feature is disabled, the pan/tilt (not zoom)
capabilities/constraints/settings are not available due to the presence
of [RuntimeEnabled=MediaCapturePanTilt] attributes in WebIDLs while the
zoom capabilities/constraints/settings is still available regardless of
the PTZ permission.
An upcoming CL regarding PTZ support in getUserMedia will address a
potential race condition that may happen if PTZ permission status is not
retrieved when getting pan/tilt capabilities/constraints/settings.
Manual test: https://ptz.glitch.me/
Explainer: https://github.com/w3c/mediacapture-image/blob/master/ptz-explainer.md
Change-Id: Ieaefb0e239dd6921cdd4de5441afb7cd4050bf5b
Bug: 934063
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2151567
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Reviewed-by: Mounir Lamouri <mlamouri@chromium.org>
Reviewed-by: Andy Paicu <andypaicu@chromium.org>
Reviewed-by: Rijubrata Bhaumik <rijubrata.bhaumik@intel.com>
Reviewed-by: Guido Urdaneta <guidou@chromium.org>
Commit-Queue: François Beaufort <beaufort.francois@gmail.com>
Cr-Commit-Position: refs/heads/master@{#769235}
--
wpt-commits: 50c9fd23e39fde6b4d3a7ce540e5a8a159b6bad7
wpt-pr: 23226
Automatic update from web-platform-tests
device orientation: Ensure new reading values are available in tests.
Several tests in external/wpt/orientation-event/ have been flaky, especially
the Device Orientation ones.
The Device Orientation spec implementation in Blink uses its own timer at
60Hz to read from the shared memory buffer updated by the platform sensors,
rather than relying on OnSensorReadingChanged() being called by the platform
side. The MockSensor implementation in WPT uses window.setInterval() to
update the shared memory buffer and simulate a real platform sensor.
For some reason, the Mac bots in particular seem to cause those two timers
to get out of sync quite often, in which case the Device Orientation
implementation might end up reading an older value even though a test has
already called setMock{Motion,Orientation}Data() again.
Fix it by adding a workaround: in the Device Orientation tests (but not the
Generic Sensors ones), we immediately update the shared memory buffer when
changing a mock sensor's reading so that the value will always be available
to the Device Orientation code.
Bug: 1081633
Change-Id: Id12bbfc5c2b2f9dca6127797a95982b208fc4b5b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2199066
Commit-Queue: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
Auto-Submit: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#769207}
--
wpt-commits: dcc8f62cca9a82c05d0a70cdaf01d271301702d8
wpt-pr: 23595
Automatic update from web-platform-tests
Regenerated file based on https://github.com/w3c/woff2-tests/pull/15 (#23524)
Co-authored-by: Mike <mike@qtunes.org>
--
wpt-commits: 73bd4355b891665829c66e1b83d64bcc29197a16
wpt-pr: 23524
Automatic update from web-platform-tests
[ua-ch] Apply FP to UA and UA-Mobile
Currently FeaturePolicy isn't applied to hints that are sent by default:
Sec-CH-UA and Sec-CH-UA-Mobile.
That's wrong, as it doesn't allow sites to e.g. block those headers on
their own origin or on third-party origins.
This CL fixes that.
Bug: 1082252
Change-Id: Ia924b5539fb78fa664d90e7fdc8c7e79f19c657d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2203057
Commit-Queue: Yoav Weiss <yoavweiss@chromium.org>
Reviewed-by: Aaron Tagliaboschi <aarontag@chromium.org>
Cr-Commit-Position: refs/heads/master@{#769088}
--
wpt-commits: f9d12a5f8f0e7b0fbe067f01e6d71fd60bbe285d
wpt-pr: 23620
Automatic update from web-platform-tests
[css-grid] Add test checking the minimum contribution with percentages
The test checks grid track sizes coming from the minimum contribution of
an item, when the size properties contain percentages.
This is similar to grid-items/grid-item-percentage-sizes-00x.html tests,
but these are reftests so they check the size of the grid item instead
of the track sizes.
Also, after https://webkit.org/b/195967 some of the cases of this test
will pass in WebKit. The reftests will still fail due to other issues.
--
wpt-commits: 616f425e074db57f29e8c8559945fc4bfacd8393
wpt-pr: 23622
Automatic update from web-platform-tests
[LayoutNG] Change NGBlockLayoutAlgorithm::FinishInflow DCHECK.
If we had an empty linebox with a float inside it (and the float was
shifted due to other floats) it was possible for that linebox to fail
the DCHECK in:
ng_block_layout_algorithm.cc:1584
DCHECK(!normal_child_had_clearance || !is_self_collapsing);
Both of these conditions were true.
This patch changes the normal_child_had_clearance variable to only be
true if it was a *block* child (not inline), pushed by floats.
Bug: 1064987
Change-Id: Ie326437a637cc57d1b17f91ac5e49847fd13c983
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2137377
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Reviewed-by: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#768944}
--
wpt-commits: fc5fe7e3cc426b2b40440201d52511facf11961c
wpt-pr: 22736
Automatic update from web-platform-tests
Rename a test with a duplicate basename path
This is the only violation of the newly added lint in #23239.
This fixes https://crbug.com/1071867 .
--
wpt-commits: 5395fb6b97f756b057c453d93030bb29414a0096
wpt-pr: 23619
Automatic update from web-platform-tests
[WebDriver] Add test for triple click (#23456)
This test does a triple-click and then checks that the entire paragraph
has been selected.
This currently fails in all drivers.
--
wpt-commits: 3b5a990d7cbbb6fc196282a3f99c2c1bf9f04915
wpt-pr: 23456
Automatic update from web-platform-tests
Add lint for files with the same basename path (#23239)
Fixes#7570Closes#9957
Co-authored-by: @rohilla21 kritirohilla567@gmail.com
--
wpt-commits: e29608a4345c1003375c34c8be14ce37b7826d87
wpt-pr: 23239