Граф коммитов

748730 Коммитов

Автор SHA1 Сообщение Дата
Chris Hall 14c656dbfb Bug 1696981 [wpt PR 27892] - [Element Reflection] explicitly set attr-element should not prevent GC., a=testonly
Automatic update from web-platform-tests
[Element Reflection] explicitly set attr-element should not prevent GC.

An explicitly set attr-element is an internal reference from one element
to other element(s). This internal reference is then only exposed if
that reference relationship is considered valid, otherwise the accessors
will "lie" and pretend that the underlying reference is not set by
returning appropriate default values.

A relationship can only be valid if the referenced element is inserted
into the DOM, in which case the reference from its DOM parent will keep
it alive.

If a referenced element is not inserted into the DOM, the only way it
can later become a valid and exposed reference is if there is another
valid reference somewhere (e.g. inside Javascript) which will be used to
insert the referenced element into the DOM at a later point.

If a referenced element is not currently within the DOM, then the only
way it can later become valid and exposed is by being inserted into the
DOM, which requires another reference somewhere (e.g. within Javascript)
to be used to insert into the DOM.

This means that if no other references exist, then the referenced
element(s) can be safely garbage collected as this reference is in an
invalid state (referenced element not in DOM), and we can never reach a
valid state (no other references).

Updating internal maps to store WeakMember(s) rather than Member(s).
This necessitated a move from HeapVector to HeapLinkedHashSet, as
HeapVector does not support WeakMember(s) as elements.
The array setters/getters perform conversion between HeapVector and
HeapLinkedHashSet to keep the V8 bindings happy.

Change-Id: If9733a8affaf9b0b74b705115909627c1dd8e173
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2695010
Reviewed-by: Kent Tamura <tkent@chromium.org>
Reviewed-by: Alice Boxhall <aboxhall@chromium.org>
Reviewed-by: Meredith Lane <meredithl@chromium.org>
Commit-Queue: Chris Hall <chrishall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#860058}

--

wpt-commits: 166fdd4a0a8db278e825763791055c8d0b1cf6ef
wpt-pr: 27892
2021-03-15 08:34:22 +00:00
Stephen McGruer 3fa68581cb Bug 1696980 [wpt PR 27897] - [docs] Add note on debugging fuzzy reftests using `wpt run`, a=testonly
Automatic update from web-platform-tests
[docs] Add note on debugging fuzzy reftests using `wpt run`

--
Update docs/writing-tests/reftests.md

Co-authored-by: Michael[tm] Smith <mike@w3.org>
--

wpt-commits: cf3a350bb24e6167e2ab99124f6bb085aad50fea, 33c860724a03814b0b36bce38b68262ea29bc0bb
wpt-pr: 27897
2021-03-15 08:34:21 +00:00
Lan Wei 323acb3e45 Bug 1696975 [wpt PR 27883] - Simulate mouse inputs in pointerevents/pointerevent_pointerId_scope.html, a=testonly
Automatic update from web-platform-tests
Simulate mouse inputs in pointerevents/pointerevent_pointerId_scope.html

Use testdriver Action API to simulate mouse move actions in
third_party/blink/web_tests/external/wpt/pointerevents/
pointerevent_pointerId_scope.html.

Bug: 1145677
Change-Id: I4c155c28411ab1329067ba6979e25784397584db
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2729929
Reviewed-by: Mustaq Ahmed <mustaq@chromium.org>
Commit-Queue: Lan Wei <lanwei@chromium.org>
Cr-Commit-Position: refs/heads/master@{#859987}

--

wpt-commits: ad061cb0ecac2905ae1a388315f60198db559993
wpt-pr: 27883
2021-03-15 08:34:21 +00:00
Morten Stenshorne b75bc1affb Bug 1696972 [wpt PR 27895] - Add 6 transform / compositing block fragmentation tests., a=testonly
Automatic update from web-platform-tests
Add 6 transform / compositing block fragmentation tests.

None of them pass by default in Blink. 3 of them pass with
CompositeAfterPaint enabled, while the other 3 also need
LayoutNGBlockFragmentation in addition to CompositeAfterPaint.

Bug: 1058792, 471333, 829028
Change-Id: I99d31cf67e6c4009b6d29e2520c653658b217d1c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2734794
Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org>
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/master@{#859913}

--

wpt-commits: d182ea4fe7920d881213fe418bafd5f86a28ada8
wpt-pr: 27895
2021-03-15 08:34:20 +00:00
moz-wptsync-bot 14a57a2fe6 Bug 1696970 [wpt PR 27888] - Update wpt metadata, a=testonly
wpt-pr: 27888
wpt-type: metadata
2021-03-15 08:34:20 +00:00
Lan Wei 23c2fe2e28 Bug 1696970 [wpt PR 27888] - Fix mouse-events/mousemove-between.html on WebKit Linux MSAN, a=testonly
Automatic update from web-platform-tests
Fix mouse-events/mousemove-between.html on WebKit Linux MSAN

WPT test uievents/order-of-events/mouse-events/mousemove-between.html
timeout on WebKit Linux MSAN, because the mouse actions are generated
and sent too fast that some mouse moves maybe coalesced, so we missed
some mouse events. I added "pause" action for each mouse move, so that
we will handle each individual mouse move, so we will get the correct
mouse action sequence.

Bug: 1182532
Change-Id: I29e1d4832e9eb5b1ffb362d7c5e7475d1e34faf0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2731228
Reviewed-by: Mustaq Ahmed <mustaq@chromium.org>
Commit-Queue: Lan Wei <lanwei@chromium.org>
Cr-Commit-Position: refs/heads/master@{#859834}

--

wpt-commits: c886ddac5b825e70ece4eefa86fecc48597e2fc3
wpt-pr: 27888
2021-03-15 08:34:19 +00:00
Rob Buis 79add7ae64 Bug 1695510 [wpt PR 27817] - [AspectRatio] Fix flex-aspect-ratio-026.html in legacy, a=testonly
Automatic update from web-platform-tests
[AspectRatio] Fix flex-aspect-ratio-026.html in legacy

Implement min/max size transfers for replaced elements:
https://drafts.csswg.org/css-sizing-4/#aspect-ratio-size-transfers

Mark both flex-aspect-ratio-025.html and flex-aspect-ratio-026.html as
passing for legacy and update these tests to take both main and cross
size padding into account.

Add flex-aspect-ratio-027.html to verify that min/max-size transfer does not always happen just because aspect-ratio is present.

Bug: 1164135
Change-Id: I20a26cbe256ae5d6a66c5763c7b12f814a3d7ef6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2721723
Commit-Queue: Rob Buis <rbuis@igalia.com>
Reviewed-by: Christian Biesinger <cbiesinger@chromium.org>
Cr-Commit-Position: refs/heads/master@{#859812}

--

wpt-commits: 8cbe46672c1f0ec7e09e0a9ff289d897391d91e0
wpt-pr: 27817
2021-03-15 08:34:19 +00:00
moz-wptsync-bot 2b5ccf165d Bug 1695283 [wpt PR 27805] - Update wpt metadata, a=testonly
wpt-pr: 27805
wpt-type: metadata
2021-03-15 08:34:18 +00:00
Shengfa bdeadc6b94 Bug 1695283 [wpt PR 27805] - Remove unused variable and move reset session to a function, a=testonly
Automatic update from web-platform-tests
Remove unused variable and move reset session to a function (#27805)

--

wpt-commits: b3f0923459b5c08e0d3ffa1f57d2449c86619c3a
wpt-pr: 27805
2021-03-15 08:34:18 +00:00
moz-wptsync-bot 74febd6c44 Bug 1696969 [wpt PR 27896] - Update wpt metadata, a=testonly
wpt-pr: 27896
wpt-type: metadata
2021-03-15 08:34:17 +00:00
Christian Biesinger 68836297e0 Bug 1696969 [wpt PR 27896] - Allow fuzzy matching for replaced-element-003, a=testonly
Automatic update from web-platform-tests
Allow fuzzy matching for replaced-element-003

The exact color value of the green in the video can be slightly different,
allow for that.

--

wpt-commits: 92b7f3d73748d0b8d9a2e8ffe2b05b9d127a6933
wpt-pr: 27896
2021-03-15 08:34:17 +00:00
moz-wptsync-bot 412e6045ac Bug 1695722 [wpt PR 27842] - Update wpt metadata, a=testonly
wpt-pr: 27842
wpt-type: metadata
2021-03-15 08:34:17 +00:00
arthursonzogni 22a0ff0085 Bug 1695722 [wpt PR 27842] - [credentialless]: WPT iframe localStorage, a=testonly
Automatic update from web-platform-tests
[credentialless]: WPT iframe localStorage

Check whether <iframe> inside a COEP:credentialless document have access
to its localStorage.

This is an adaptation from:
[WPT cookie full credentialless]
https://chromium-review.googlesource.com/c/chromium/src/+/2723531
but checking the localStorage instead of cookies.

Bug: 1175099
Change-Id: I27716c99c9c7301ccd6d8fb4f44fbe67dae68223
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2726242
Reviewed-by: Mike West <mkwst@chromium.org>
Commit-Queue: Arthur Sonzogni <arthursonzogni@chromium.org>
Cr-Commit-Position: refs/heads/master@{#859749}

--

wpt-commits: 68594ce25726aca27ad81ba3098639fe9f1bed69
wpt-pr: 27842
2021-03-15 08:34:16 +00:00
Joey Arhar 0ea5fdba2d Bug 1696968 [wpt PR 27891] - Call SetNeedsAssignmentRecalc in HTMLSlotElement::ChildrenChanged, a=testonly
Automatic update from web-platform-tests
Call SetNeedsAssignmentRecalc in HTMLSlotElement::ChildrenChanged

Bug: 1184357
Change-Id: Id9e804e5762ac6c40ba1be0620401d219d6f4d90
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2734104
Commit-Queue: Joey Arhar <jarhar@chromium.org>
Reviewed-by: Mason Freed <masonfreed@chromium.org>
Cr-Commit-Position: refs/heads/master@{#859652}

--

wpt-commits: e58cde68851afa192214f60a021f1e56b4172b7a
wpt-pr: 27891
2021-03-15 08:34:16 +00:00
moz-wptsync-bot 556ae3ac8e Bug 1696966 [wpt PR 27890] - Update wpt metadata, a=testonly
wpt-pr: 27890
wpt-type: metadata
2021-03-15 08:34:15 +00:00
Dale Curtis 573a848710 Bug 1696966 [wpt PR 27890] - Provide a default object size for VideoFrame from CanvasImageSource., a=testonly
Automatic update from web-platform-tests
Provide a default object size for VideoFrame from CanvasImageSource.

Some elements won't provide a default object size, since they prefer
to render into a sized destination. As such we need to ask for what
the CanvasImageSource thinks its default size is in some cases.

R=tguilbert

Fixed: 1184128
Test: Updated unittests
Change-Id: I2b3ee6a054925458c2f681621f4f30f9d542d113
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2733669
Auto-Submit: Dale Curtis <dalecurtis@chromium.org>
Commit-Queue: Thomas Guilbert <tguilbert@chromium.org>
Reviewed-by: Thomas Guilbert <tguilbert@chromium.org>
Cr-Commit-Position: refs/heads/master@{#859646}

--

wpt-commits: eee77f31c78f28d53518f21e168e2c1ad8e7ecf9
wpt-pr: 27890
2021-03-15 08:34:15 +00:00
Philip Jägenstedt fc561d7def Bug 1692011 [wpt PR 27574] - [CSS21] move tests from vendor-imports into the main suite, a=testonly
Automatic update from web-platform-tests
[CSS21] move tests from vendor-imports into the main suite (#27574)

--

wpt-commits: db942aaa4fefc5202e44303e5efe610eeb492ad1
wpt-pr: 27574
2021-03-15 08:34:14 +00:00
Ian Kilpatrick 4fa0cff503 Bug 1695743 [wpt PR 27846] - [GridNG] Fix failing scrollable overflow tests., a=testonly
Automatic update from web-platform-tests
[GridNG] Fix failing scrollable overflow tests.

There were never passing in legacy, but is relatively trivial to pass
in NG.

Effectively NG has the concept of the "inflow-bounds" which for grid
layout is the size of the grid. Legacy never has this clear separation
(kinda using the intrinsic-block-size as a proxy).

Additionally fixes the tests (these have never passed in any browser
so had some "obvious" mistakes).

Bug: 1045599
Change-Id: I990f450ee7ec00a2fd730d402e25632b8c748cd3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2727860
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Reviewed-by: Ethan Jimenez <ethavar@microsoft.com>
Reviewed-by: Christian Biesinger <cbiesinger@chromium.org>
Reviewed-by: Kurt Catti-Schmidt <kschmi@microsoft.com>
Cr-Commit-Position: refs/heads/master@{#859503}

--

wpt-commits: a12b65954997fb3aa62aba24128b5cbbabc30e64
wpt-pr: 27846
2021-03-15 08:34:14 +00:00
Don b99a3976bb Bug 1696962 [wpt PR 27880] - Decode str in check_key_cert, a=testonly
Automatic update from web-platform-tests
Decode str in check_key_cert (#27880)

Converts to a bytes-like object to eliminate the `TypeError`.

Fixes #27879
--

wpt-commits: 5c496d309c2d31c9867ef7a5023a6f7021ba0751
wpt-pr: 27880
2021-03-15 08:34:13 +00:00
autofoolip 7e4b850c68 Bug 1696961 [wpt PR 27882] - Update interfaces/html.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/html.idl (#27882)

Source: https://github.com/w3c/webref/blob/8f0c596/ed/idl/html.idl
Build: https://travis-ci.org/w3c/webref/builds/218890839
--

wpt-commits: 651b198bb162ae9cc03c6a9c816a371edc966318
wpt-pr: 27882
2021-03-15 08:34:13 +00:00
Reilly Grant c8f02b3023 Bug 1695775 [wpt PR 27848] - usb: Move protected interface class enforcement to the browser process, a=testonly
Automatic update from web-platform-tests
usb: Move protected interface class enforcement to the browser process

This change moves the definition and enforcement of the list of USB
interface classes which cannot be claimed by code using the WebUSB API
from the renderer process to the browser process. In addition to the
obvious security benefit this enables the list to be controlled by
policy and other flags which are more easily accessed from the browser
process.

Bug: 1056757
Change-Id: Iea3009e2a4453d0a1bbee496b5a67259ec4099d3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2728108
Reviewed-by: David Roger <droger@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Matt Reynolds <mattreynolds@chromium.org>
Commit-Queue: Reilly Grant <reillyg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#859436}

--

wpt-commits: 972ca5b6693bffebebc5805e1b9da68a6876e1f6
wpt-pr: 27848
2021-03-15 08:34:12 +00:00
Tom McKee 347bbde032 Bug 1695730 [wpt PR 27843] - [ResourceTiming] Interrogate more attributes in Resource Timing WPT, a=testonly
Automatic update from web-platform-tests
[ResourceTiming] Interrogate more attributes in Resource Timing WPT

The Resource Timing spec enumerates the attributes for
PerformanceResourceTiming values as well as rules for what each
attribute must contain.

This changes adds tests to validate the computed attributes match
expectations from the spec.

Bug: 1171767
Change-Id: Ic5d284e7cb4a5d186a7cd8fefab342eac916e4fb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2727516
Reviewed-by: Yoav Weiss <yoavweiss@chromium.org>
Commit-Queue: Tom McKee <tommckee@chromium.org>
Cr-Commit-Position: refs/heads/master@{#859365}

--

wpt-commits: bd23e127fcc1456779eded21dda1c1dac66fc1d9
wpt-pr: 27843
2021-03-15 08:34:12 +00:00
moz-wptsync-bot 6d6a712143 Bug 1695941 [wpt PR 27857] - Update wpt metadata, a=testonly
wpt-pr: 27857
wpt-type: metadata
2021-03-15 08:34:11 +00:00
Mike West 7865060cb5 Bug 1695941 [wpt PR 27857] - WPT: `Sec-Fetch-*` headers aren't accessible in service workers., a=testonly
Automatic update from web-platform-tests
WPT: `Sec-Fetch-*` headers aren't accessible in service workers.

As requested in https://github.com/whatwg/fetch/pull/993.

Change-Id: Ie6096154ad9f6af73e2c26e0bb0c8f72a2a7a99a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2727263
Reviewed-by: Matt Falkenhagen <falken@chromium.org>
Commit-Queue: Mike West <mkwst@chromium.org>
Cr-Commit-Position: refs/heads/master@{#859345}

--

wpt-commits: df6a144d964283f2929eeb937af2806d9aafec62
wpt-pr: 27857
2021-03-15 08:34:11 +00:00
moz-wptsync-bot 026a08812b Bug 1696955 [wpt PR 27871] - Update wpt metadata, a=testonly
wpt-pr: 27871
wpt-type: metadata
2021-03-15 08:34:11 +00:00
Rune Lillesveen 8ceb6980c8 Bug 1696955 [wpt PR 27871] - Apply properties to ::first-line according to spec, a=testonly
Automatic update from web-platform-tests
Apply properties to ::first-line according to spec

Use a cascade filter like we do for ::first-letter.

Remove unnecessary style adjustments for ::first-letter and
::first-line.

Fixes DCHECK failure after not loading a pending image for ::first-line
with display: none.

Bug: 1182504
Change-Id: Iea7c450da46278e8af2f56e169275183c32add1a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2729816
Commit-Queue: Rune Lillesveen <futhark@chromium.org>
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/master@{#859342}

--

wpt-commits: ffc4f58489682aeed9711519be5f9a1967b1ec20
wpt-pr: 27871
2021-03-15 08:34:10 +00:00
moz-wptsync-bot 2563fbbf63 Bug 1696927 [wpt PR 27872] - Update wpt metadata, a=testonly
wpt-pr: 27872
wpt-type: metadata
2021-03-15 08:34:10 +00:00
Titouan Rigoudy ad300f347d Bug 1696927 [wpt PR 27872] - [Private Network Access] Rename WPT fetch/ subdirectory., a=testonly
Automatic update from web-platform-tests
[Private Network Access] Rename WPT fetch/ subdirectory.

Bug: chromium:1183811
Change-Id: I66311e37e608fe66a18cffb833c43eead25f9e72
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2727442
Commit-Queue: Arthur Hemery <ahemery@chromium.org>
Auto-Submit: Titouan Rigoudy <titouan@chromium.org>
Reviewed-by: Arthur Hemery <ahemery@chromium.org>
Cr-Commit-Position: refs/heads/master@{#859320}

--

wpt-commits: 5b5efcee01f042b42b9efb9c843f957ef6c36ba5
wpt-pr: 27872
2021-03-15 08:34:09 +00:00
moz-wptsync-bot 8b08337a2a Bug 1696073 [wpt PR 27869] - Update wpt metadata, a=testonly
wpt-pr: 27869
wpt-type: metadata
2021-03-15 08:34:09 +00:00
Dale Curtis 65530263e3 Bug 1696073 [wpt PR 27869] - Fix VideoFrame orientation issues, remove public accessor., a=testonly
Automatic update from web-platform-tests
Fix VideoFrame orientation issues, remove public accessor.

Since we aren't quite sure how we want to expose orientation yet,
remove the public accessor from the IDL. As part of doing this
add a bunch of tests for orientation and fix the bugs they found.

As part of fixing these issues, VideoFrameImageUtil now prefers
soft flips to hard flips. Otherwise when using the non SkImage
path, Canvas 'image-orientation: none' won't work properly.

Bug: 1140137,1182435
Test: Lots of new tests.
Change-Id: Ib86754303db473c5829e6a7cbe682d9847b33b2e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2730247
Auto-Submit: Dale Curtis <dalecurtis@chromium.org>
Commit-Queue: Kenneth Russell <kbr@chromium.org>
Reviewed-by: Kenneth Russell <kbr@chromium.org>
Reviewed-by: Dan Sanders <sandersd@chromium.org>
Cr-Commit-Position: refs/heads/master@{#859307}

--

wpt-commits: 4d0922f5e75c2424a68df5d3edc965b21388d740
wpt-pr: 27869
2021-03-15 08:34:08 +00:00
autofoolip 55ffbee9b7 Bug 1695979 [wpt PR 27863] - Remove interfaces/SRI.idl, a=testonly
Automatic update from web-platform-tests
Remove interfaces/SRI.idl (#27863)

Source: https://github.com/w3c/webref/blob/3339433/ed/idl/SRI.idl
Build: https://travis-ci.org/w3c/webref/builds/218749104
--

wpt-commits: 3d522116eac83085df47dd7f5bf3bc297ca5d165
wpt-pr: 27863
2021-03-15 08:34:08 +00:00
moz-wptsync-bot f0fd854ace Bug 1694635 [wpt PR 27760] - Update wpt metadata, a=testonly
wpt-pr: 27760
wpt-type: metadata
2021-03-15 08:34:07 +00:00
Antonio Sartori 1b8739625e Bug 1694635 [wpt PR 27760] - Add WPT for referrer policy inheritance to popup, a=testonly
Automatic update from web-platform-tests
Add WPT for referrer policy inheritance to popup

Web platform tests did not cover referrer policy inheritance for a
popup. This CL adds a test for it.

Bug: 1130587
Change-Id: I5005bdf249b707ef1f55b39c717534663a9ecf2e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2689774
Reviewed-by: Dominic Farolino <dom@chromium.org>
Reviewed-by: Mike West <mkwst@chromium.org>
Commit-Queue: Mike West <mkwst@chromium.org>
Cr-Commit-Position: refs/heads/master@{#859291}

--

wpt-commits: 8a6ff0ac7d37c68a5a27600a12b0622d707f80f4
wpt-pr: 27760
2021-03-15 08:34:07 +00:00
moz-wptsync-bot 59900d8db9 Bug 1692425 [wpt PR 27602] - Update wpt metadata, a=testonly
wpt-pr: 27602
wpt-type: metadata
2021-03-15 08:34:06 +00:00
David Grogan ad66106f49 Bug 1692425 [wpt PR 27602] - [css-layout] Don't let contain-intrinsic-size establish an aspect ratio, a=testonly
Automatic update from web-platform-tests
[css-layout] Don't let contain-intrinsic-size establish an aspect ratio

contain:size on a replaced element kills its natural aspect ratio. Blink
had been treating contain-intrinsic-size values as establishing a new
aspect ratio, but this was not supposed to happen. E.g. the following
should have no aspect ratio:

<img src="100x100.png" style="contain: size; contain-intrinsic-size: 40px 20px">

This change has the side effect of making HasAspectRatio() logically
imply !GetAspectRatio.IsEmpty().

Flex has a DCHECK enforcing that logical relationship, which was
triggered in the canvas test case in this patch.

Fixed: 1175526
Change-Id: I592820a133bfea88ecdff42aade0814cf96ff922
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2691931
Commit-Queue: David Grogan <dgrogan@chromium.org>
Reviewed-by: Christian Biesinger <cbiesinger@chromium.org>
Cr-Commit-Position: refs/heads/master@{#859266}

--

wpt-commits: b964db08565d01d21c778783da8e9b5d403de3d4
wpt-pr: 27602
2021-03-15 08:34:06 +00:00
Eugene Zemtsov 64c9ecd7ef Bug 1695827 [wpt PR 27854] - webcodecs: Prevent sporadic timeouts of (audio|video)-encoder.any.js, a=testonly
Automatic update from web-platform-tests
webcodecs: Prevent sporadic timeouts of (audio|video)-encoder.any.js

1. Make the audio test faster by encoding less input and comparing
   only every 10th sample.
2. Video test  with reset() no longer relies on flooding encoder with
   frames which was prone to races and timeouts.
3. Declare the tests as slow, because even in their reduced form
   they take about 20 seconds with MSAN enabled.

Bug: 1182691
Change-Id: I21fd08e62866fdcf9b3d2133b8cb82676d93d0b6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2728493
Commit-Queue: Eugene Zemtsov <eugene@chromium.org>
Reviewed-by: Thomas Guilbert <tguilbert@chromium.org>
Cr-Commit-Position: refs/heads/master@{#859205}

--

wpt-commits: fd21a6df7feb1c6eaef9bdb3b576b84f66d4b4d3
wpt-pr: 27854
2021-03-15 08:34:06 +00:00
Ana SollanoKim a9a586130a Bug 1696029 [wpt PR 27866] - [GridNG] Separation of legacy and NG when there is a position change, a=testonly
Automatic update from web-platform-tests
[GridNG] Separation of legacy and NG when there is a position change

The logic for invalidating the grid when there is a change in its style
needs to different in legacy and NG. A previous change
https://chromium-review.googlesource.com/c/chromium/src/+/2713389
attempted to change the object that was getting invalidated from the
parent to the containing block. However, this approach will only work
for NG.

Changes in the properties listed in GridStyleChanged already force a
full layout on this box due to how the properties are specified in
third_party/blink/renderer/core/style/computed_style_diff_functions.json5
For out-of-flow elements with grid container as containing block, we
currently need to run the entire algorithm for placing and sizing.

Legacy grid needed the extra invalidation |DirtyGrid()| of the cached
state on LayoutGrid before re-running layout on the grid container.

Bug: 1183122, 1183192
Change-Id: Icc5280e7c25802858b55fc0ace4fc2f16359e09e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2728287
Reviewed-by: Kurt Catti-Schmidt <kschmi@microsoft.com>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Reviewed-by: Daniel Libby <dlibby@microsoft.com>
Commit-Queue: Ana Sollano Kim <ansollan@microsoft.com>
Cr-Commit-Position: refs/heads/master@{#859177}

--

wpt-commits: e5b144368951eb417299e38f4aba2cfd125ef6d5
wpt-pr: 27866
2021-03-15 08:34:05 +00:00
moz-wptsync-bot b4625aba0f Bug 1695981 [wpt PR 27864] - Update wpt metadata, a=testonly
wpt-pr: 27864
wpt-type: metadata
2021-03-15 08:34:05 +00:00
Mason Freed ca75f4372c Bug 1695981 [wpt PR 27864] - More changes related to removal of <object usemap>, a=testonly
Automatic update from web-platform-tests
More changes related to removal of <object usemap>

See [1] and [2] for more context, but this just removes more
of the test cases that assume <object usemap> is a thing.

[1] https://crrev.com/858634
[2] https://github.com/web-platform-tests/wpt/pull/27184

Bug: 1182910
Change-Id: I6f7bdc6ec33bf9c1cbf3722cd4505a277e1ced56
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2729397
Commit-Queue: Mason Freed <masonfreed@chromium.org>
Auto-Submit: Mason Freed <masonfreed@chromium.org>
Reviewed-by: Joey Arhar <jarhar@chromium.org>
Cr-Commit-Position: refs/heads/master@{#859170}

--

wpt-commits: 58a7619139e80cfad0571957031c9872ea89f05f
wpt-pr: 27864
2021-03-15 08:34:04 +00:00
Morten Stenshorne 0ecb2d34f9 Bug 1695583 [wpt PR 27833] - Add box-shadow fragmentation test., a=testonly
Automatic update from web-platform-tests
Add box-shadow fragmentation test.

Bug: 269061
Change-Id: I09bdafc189d4c430447d13eac509468bbc303501
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2725095
Reviewed-by: Philip Jägenstedt <foolip@chromium.org>
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/master@{#859130}

--

wpt-commits: 3aeeaa97033c7632defbcc0461415772b655df46
wpt-pr: 27833
2021-03-15 08:34:04 +00:00
moz-wptsync-bot 0c185549ff Bug 1692026 [wpt PR 27578] - Update wpt metadata, a=testonly
wpt-pr: 27578
wpt-type: metadata
2021-03-15 08:34:03 +00:00
Hassan Talat 88774ddc47 Bug 1692026 [wpt PR 27578] - dpwas:Add ongeometrychange event to WindowControlsOverlay, a=testonly
Automatic update from web-platform-tests
dpwas:Add ongeometrychange event to WindowControlsOverlay

For PWAs with WindowControlsOverlay, This CL adds an ongeometrychange
event for whenever the overlay bounds or visibility changes to notify
the app. An example of changing bounds would be when the app is
launched, the app origin is displayed and then hidden.

Explainer: https://github.com/WICG/window-controls-overlay/blob/master/explainer.md
Design Doc: https://docs.google.com/document/d/1k0YL_-VMLIfjYCgJ2v6cMvuUv2qMKg4BgLI2tJ4qtyo/edit?usp=sharing
I2P: https://groups.google.com/a/chromium.org/forum/#!msg/blink-dev/cper6nNLFRQ/hU91kfCWBQAJ

Bug: 937121
Change-Id: Ic0f6e76883d3ec5fc98f8d1bf734e72aa49de2c2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2686584
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Avi Drissman <avi@chromium.org>
Commit-Queue: Hassan Talat <hatalat@microsoft.com>
Cr-Commit-Position: refs/heads/master@{#859080}

--

wpt-commits: b70298f62e33058eb501e0b3c09e1a993ab421af
wpt-pr: 27578
2021-03-15 08:34:03 +00:00
moz-wptsync-bot f89606e33a Bug 1695212 [wpt PR 27801] - Update wpt metadata, a=testonly
wpt-pr: 27801
wpt-type: metadata
2021-03-15 08:34:02 +00:00
Xida Chen 4c44207e58 Bug 1695212 [wpt PR 27801] - [Reland]: Repaint when bgcolor animation is triggered, a=testonly
Automatic update from web-platform-tests
[Reland]: Repaint when bgcolor animation is triggered

This CL is the reland of:
https://chromium-review.googlesource.com/c/chromium/src/+/2698847

The above CL was reverted because the layout test added was flaky.
In this CL, PS#1 is the reverted CL, and we need to make sure
that the test is no longer flaky.

It turns out that it was the non-virtual version that was flaky,
and the reason is that double raf doesn't seem to be enough to
make the animation jump into the mid-point. I have tested
locally with 500 runs, and the failure rate is ~99%, Oh, that's
bad...

The reason is that run_web_tests might run with a 1ms raf timer
which would be too fast to guarantee the screenshot would be
after the step change.

The solution is very simple, which is to use triple raf instead
of double raf, I have ran both the virtual and non-virtual version
of the test, each one for 500 times locally, and there is no
failure at all.

Bug: 1177320
Change-Id: I95f576994a5d67bf8319b5b1f33e8e6fca6d4bb8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2716060
Commit-Queue: Xida Chen <xidachen@chromium.org>
Reviewed-by: Robert Flack <flackr@chromium.org>
Reviewed-by: Kevin Ellis <kevers@chromium.org>
Cr-Commit-Position: refs/heads/master@{#859050}

--

wpt-commits: 06b9e9a505a800d2f3c66df51bbc066a4ee9c890
wpt-pr: 27801
2021-03-15 08:34:02 +00:00
Xiaocheng Hu f759e8b920 Bug 1694782 [wpt PR 27766] - Mark ComputedStyle of DateTimeEditElement as font-metric-dependent, a=testonly
Automatic update from web-platform-tests
Mark ComputedStyle of DateTimeEditElement as font-metric-dependent

DateTimeEditElement::CustomStyleForLayoutObject() measures text width
with the current font, and then uses the result to set the computed
value of 'width'. Therefore, this patch marks this ComputedStyle as
font-metric-dependent, so that we can properly invalidate it when font
changes.

Bug: 1167555
Change-Id: I50cf068062bf36223de2949cea83c75a834f59d1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2718492
Reviewed-by: Fredrik Söderquist <fs@opera.com>
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Reviewed-by: Mason Freed <masonfreed@chromium.org>
Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#859046}

--

wpt-commits: e30d360fe5b37f77753452beb32e794aeca11b0f
wpt-pr: 27766
2021-03-15 08:34:01 +00:00
Sergio b3420a14ba Bug 1695988 [wpt PR 27865] - Improve flexbox-basic-* tests robustness, a=testonly
Automatic update from web-platform-tests
Fix (#27865)

Six of those tests are failing in WebKit because one of the subtests of each test generates two boxes with decimal values for heights which generates some rounding issues due to https://bugs.webkit.org/show_bug.cgi?id=222603

So although the bug in WebKit is valid, the main point of the flexbox test is not to check that but the flexbox behaviour with different types of elements as flex items. By carefully tunning the flex fractions we can end up with decimal values that are properly rounded in WebKit even if bug 222603 is not fixed.
--

wpt-commits: 299d8d9a7f9a17e3753c0f0a120408c03bc817c7
wpt-pr: 27865
2021-03-15 08:34:01 +00:00
Kent Tamura 1a2b3db776 Bug 1695826 [wpt PR 27853] - html: autofocus should work even if the URL contains a non-empty fragment, a=testonly
Automatic update from web-platform-tests
html: autofocus should work even if the URL contains a non-empty fragment

This CL implements the specification change of [1].

- Check existence of :target instead of a non-empty fragment
- Accept autofocus only if all ancestors are in the same origin
- Fix WPT document-with-fragment-valid.html

[1] https://github.com/whatwg/html/pull/6204

Bug: 1046357
Change-Id: Ic83b00b7b48ee94f087974368b5daec98849fc49
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2727997
Commit-Queue: Mason Freed <masonfreed@chromium.org>
Auto-Submit: Kent Tamura <tkent@chromium.org>
Reviewed-by: Mason Freed <masonfreed@chromium.org>
Cr-Commit-Position: refs/heads/master@{#859029}

--

wpt-commits: 4f0a3ea67ef9134ebe34463faec6ba8f6adbf37c
wpt-pr: 27853
2021-03-15 08:34:00 +00:00
autofoolip 31fde11643 Bug 1695978 [wpt PR 27862] - Update interfaces/webvtt.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/webvtt.idl (#27862)

Source: https://github.com/w3c/webref/blob/3339433/ed/idl/webvtt.idl
Build: https://travis-ci.org/w3c/webref/builds/218749104
--

wpt-commits: 66032cbd0bbe54b39e3b9329b729b7e1d287123f
wpt-pr: 27862
2021-03-15 08:34:00 +00:00
autofoolip 590bd36cc3 Bug 1695976 [wpt PR 27861] - Update interfaces/css-parser-api.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/css-parser-api.idl (#27861)

Source: https://github.com/w3c/webref/blob/3339433/ed/idl/css-parser-api.idl
Build: https://travis-ci.org/w3c/webref/builds/218749104
--

wpt-commits: 95f52393fd07c68e2dfef4532b2c0a14d87351a9
wpt-pr: 27861
2021-03-15 08:34:00 +00:00
autofoolip 0765cfab94 Bug 1695975 [wpt PR 27860] - Update interfaces/SVG.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/SVG.idl (#27860)

Source: https://github.com/w3c/webref/blob/3339433/ed/idl/SVG.idl
Build: https://travis-ci.org/w3c/webref/builds/218749104
--

wpt-commits: b90d136b33c623ca9174138fb413d566719e01d6
wpt-pr: 27860
2021-03-15 08:33:59 +00:00