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

720559 Коммитов

Автор SHA1 Сообщение Дата
Ian Kilpatrick 42c9f58982 Bug 1656092 [wpt PR 24805] - [FlexNG] Fix great-grandchild relative-position offsets., a=testonly
Automatic update from web-platform-tests
[FlexNG] Fix great-grandchild relative-position offsets.

In order to determine the correct size to resolve %-based relative
top offsets against we need to determine if the available-size given
to a flex-item is definite.

Previously this worked as there was a bit on the LayoutBox which
captured this information. This patch for NG flex-items allows for
looking at the previous constraint space while outside of layout.

Bug: 1108508
Change-Id: I3104b7afd4d96b707a8110eb2ed5d59d17129580
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2327838
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Reviewed-by: David Grogan <dgrogan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#793028}

--

wpt-commits: fd5a851b2e6bd60ff49060f1b42197c976273728
wpt-pr: 24805
2020-07-31 12:02:23 +00:00
Marijn Kruisselbrink 7daec6a3b0 Bug 1654919 [wpt PR 24728] - [NativeFS] Writing an unreadable Blob should cause an error., a=testonly
Automatic update from web-platform-tests
[NativeFS] Writing an unreadable Blob should cause an error.

Instead of claiming success and writing 0 bytes.

Bug: 1045918
Change-Id: I729ecff8753d0486f101fdf0e801509363636a04
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2316440
Commit-Queue: Marijn Kruisselbrink <mek@chromium.org>
Reviewed-by: Darwin Huang <huangdarwin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#792973}

--

wpt-commits: 223b6fe256730a17784393c4a04dac9e942b0d24
wpt-pr: 24728
2020-07-31 12:02:23 +00:00
David Grogan d6c0501cb7 Bug 1655824 [wpt PR 24786] - [FlexNG] Flex items can't be relayout roots, even with `contain`, a=testonly
Automatic update from web-platform-tests
[FlexNG] Flex items can't be relayout roots, even with `contain`

When a flex item is a relayout root, it gets neither the flexed nor
stretched dimensions from the parent flexbox. Though this problem seems
to manifest only when the flex item is a legacy layout node.

This change causes a 5% regression in the change-text-css-contain perf
test, even though it doesn't use flex, probably just because we test for
flex-item before deciding that a node with `contain: layout size` can be
a layout root.

Bug: 1108675
Change-Id: Iec0d35557ebfbf3136bd66fe986ba2456e0d92ab
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2322074
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Commit-Queue: David Grogan <dgrogan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#792833}

--

wpt-commits: 3b29525440ec57478a885a7d34f7475a4eb38854
wpt-pr: 24786
2020-07-31 12:02:22 +00:00
Ziran Sun fe088dfb94 Bug 1655922 [wpt PR 24795] - Python 3: Fix prefix in xhr tests, a=testonly
Automatic update from web-platform-tests
Python 3: Fix prefix in xhr tests

--

wpt-commits: 476af79370db1a292b28db5879f565d7fff10a39
wpt-pr: 24795
2020-07-31 12:02:22 +00:00
Philipp Hancke f981aa743e Bug 1653507 [wpt PR 24645] - webrtc wpt: fix split.https.html firefox compatibility, a=testonly
Automatic update from web-platform-tests
webrtc wpt: fix split.https.html firefox compatibility

The test does not work as intended in Firefox as described in
  https://bugzilla.mozilla.org/show_bug.cgi?id=1643050
since Firefox does not use the same fingerprint/certificate for different
peerconnections on the same page and puts the fingerprint into the SDP sessionpart.
With the change the test connects and gets video on the other end but still
fails in Firefox since it relies on connectionState which is not implemented.

BUG=None

Change-Id: Id6529bcb32f37e657d6f79c8d94a4b69c4d15db3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2303391
Reviewed-by: Harald Alvestrand <hta@chromium.org>
Commit-Queue: Philipp Hancke <philipp.hancke@googlemail.com>
Cr-Commit-Position: refs/heads/master@{#792646}

--

wpt-commits: 21d0ad202f409a6e955ae3d000490db943bfaff3
wpt-pr: 24645
2020-07-31 12:02:22 +00:00
Stephen McGruer bdd3348a0d Bug 1655715 [wpt PR 24779] - Update interfaces/image-capture.idl and test, a=testonly
Automatic update from web-platform-tests
Update interfaces/image-capture.idl and test (#24779)

Closes https://github.com/web-platform-tests/wpt/pull/24764
--

wpt-commits: c273ba6a772dbc2326d5576f61d499e826e44dd9
wpt-pr: 24779
2020-07-31 12:02:21 +00:00
Gérard Talbot e2af2d0b69 Bug 1655873 [wpt PR 24794] - Corrections to selection-intercharacter-011 and 012 reference files, a=testonly
Automatic update from web-platform-tests
Corrections to selection-intercharacter-011 and 012 reference files (#24794)

--

wpt-commits: 43ef1ad9afcc9d9d922a5a96bc12b4eaf950960b
wpt-pr: 24794
2020-07-31 12:02:21 +00:00
moz-wptsync-bot 474a237416 Bug 1655836 [wpt PR 24788] - Update wpt metadata, a=testonly
wpt-pr: 24788
wpt-type: metadata
2020-07-31 12:02:20 +00:00
Gérard Talbot 206c83f623 Bug 1655836 [wpt PR 24788] - Added 9 new active-selection-* tests and their references, a=testonly
Automatic update from web-platform-tests
Added 9 new active-selection-* tests and their references (#24788)

--

wpt-commits: 9a60de15eda095faa363e76eec7cdc04fac36704
wpt-pr: 24788
2020-07-31 12:02:20 +00:00
Oriol Brufau 818090c834 Bug 1655208 [wpt PR 24748] - WebKit export of http://bugs.webkit.org/show_bug.cgi?id=214370, a=testonly
Automatic update from web-platform-tests
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=214370

--

wpt-commits: 279936164b3c36e7e328b32b51b088851458d607
wpt-pr: 24748
2020-07-31 12:02:19 +00:00
Xianzhu Wang b286998a78 Bug 1655331 [wpt PR 24757] - Fix layout shift tracking with 2d transforms, a=testonly
Automatic update from web-platform-tests
Fix layout shift tracking with 2d transforms

This fixes the following issues:

1. crbug.com/1109053 we reported transform changes as layout shifts.
  According to https://github.com/WICG/layout-instability#transform-changes
  we should ignore transform changes.
  This is fixed by just accumulating offsets of PaintOffsetTranslations
  for the additional offset for layout shift
  (previous offset_to_2d_translation_root,
   now additional_offset_to_layout_shift_root)
 Test: external/wpt/layout-instability/transform-change.html

2. Movement of transformed element itself was ignored. This is fixed by
  resetting the additional offset for layout shift after updating
  paint properties for child instead of during updating the properties
  because the offset applies to the transformed element itself.
 Test: external/wpt/layout-instability/move-transformed.html

3. Stale old additional offset for layout shift (previously baked in
  FragmentData::VisualRectTo2DTranslationRoot). We don't always update
  the offset when it changes because it's neither a paint property nor
  a paint invalidation data, thus the old data may be stale. To avoid
  that, now save VisualRectForLayoutShiftTracking() which is in the
  local transform space and is always updated, and recover the old
  additional offset from the old paint properties.

Bug: 1109053,1104794
Change-Id: I36a3dec0695f9674251e7f5ce85ae2411b135eda
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2316783
Reviewed-by: Chris Harrelson <chrishtr@chromium.org>
Reviewed-by: Steve Kobes <skobes@chromium.org>
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#792312}

--

wpt-commits: 321d9573a97057a9b25bf95d9e1b449f541537f6
wpt-pr: 24757
2020-07-31 12:02:19 +00:00
Stephen McGruer 74300f034f Bug 1655795 [wpt PR 24785] - Specify channel for stable Safari runs on Azure Pipelines, a=testonly
Automatic update from web-platform-tests
Specify channel for stable Safari runs on Azure Pipelines (#24785)

This should never have worked (yay), as the default for channel is `nightly`, but used to
do so before some recent refactoring. Properly specifying `--channel=stable` for Safari
should fix this.

See https://github.com/web-platform-tests/wpt/issues/24784
--

wpt-commits: 7c7fe3fed7aef60746613acca3e896380594d90c
wpt-pr: 24785
2020-07-31 12:02:18 +00:00
Robert Ma 45e0ad8238 Bug 1655759 [wpt PR 24783] - [wpt] Remove a redundant channel arg, a=testonly
Automatic update from web-platform-tests
[wpt] Remove a redundant channel arg (#24783)

from Chrome.find_nightly_binary and fix call sites.

Add a test, too, which helped to identify and fix a bug on macOS.
--

wpt-commits: 9a1bdfa6d5f1aa8dbb5094af1fad1dd8c5e681af
wpt-pr: 24783
2020-07-31 12:02:18 +00:00
moz-wptsync-bot 167cf42239 Bug 1653762 [wpt PR 24657] - Update wpt metadata, a=testonly
wpt-pr: 24657
wpt-type: metadata
2020-07-31 12:02:18 +00:00
ziransun 9c6030d845 Bug 1653762 [wpt PR 24657] - Python 3: Drop use of flush on ResponseWriter in a couple of files, a=testonly
Automatic update from web-platform-tests
Python 3: Drop use of flush on ResponseWriter in a couple of files (#24657)

This patch only drops the use of response.write.flush() in a couple of
files as they directly affect test results in Python 3.

Detailed discussions on dropping use of flush on ResponseWriter can be
found at https://github.com/web-platform-tests/wpt/pull/24617
(Also see #24719 )

--

wpt-commits: a5583f1f9f1eb9054b1d587abe54d05d7036ea28
wpt-pr: 24657
2020-07-31 12:02:17 +00:00
ziransun 36ce3972e8 Bug 1651937 [wpt PR 24531] - Python 3: port tests in cookie-store, a=testonly
Automatic update from web-platform-tests
Python 3: port tests in cookie-store (#24531)

Co-authored-by: Robert Ma <robertma@chromium.og>
--

wpt-commits: 79d185a6f5cb386314e8052c874f4492bb1e04d8
wpt-pr: 24531
2020-07-31 12:02:17 +00:00
Gérard Talbot 59daf02006 Bug 1655218 [wpt PR 24749] - Added background-attachment-353.html, a=testonly
Automatic update from web-platform-tests
Added background-attachment-353.html (#24749)

* Added background-attachment-353.html

* Added background-attachment-353.html
--

wpt-commits: 6e1e994aeeb2f3b6d0ea44078e197f146c88f1d5
wpt-pr: 24749
2020-07-31 12:02:16 +00:00
Guido Urdaneta d54e975c5b Bug 1655681 [wpt PR 24776] - Reland "Reland "Do not expose media devices before a successful getUserMedia()"", a=testonly
Automatic update from web-platform-tests
Reland "Reland "Do not expose media devices before a successful getUserMedia()""

This reverts commit e5e98cf1e56a06e03f3d3f71bfe854cdc3ea13ef.

Reason for revert: Tests have been corrected. New attempt.

Original change's description:
> Revert "Reland "Do not expose media devices before a successful getUserMedia()""
>
> This reverts commit 8b10bc20f5a16c1257a472c70afa0cd58c49a8be.
>
> Reason for revert: camera.CCAUISanity.fake is failing again: https://ci.chromium.org/p/chromium/builders/ci/chromeos-kevin-rel/27932
>
> Original change's description:
> > Reland "Do not expose media devices before a successful getUserMedia()"
> >
> > This reverts commit 69a6001995c51516b403dbde99a2db4c5054ce55.
> >
> > chrome-prefixed URLs are exempted from the getUserMedia() requirement.
> >
> > Original change's description:
> > > Revert "Do not expose media devices before a successful getUserMedia()"
> > >
> > > This reverts commit d64e736aa8c7976b12b33f92472f7950bf0215b9.
> > >
> > > Reason for revert: Caused chrome_all_tast_tests / camera.CCAUISanity.fake failures; e.g. https://ci.chromium.org/p/chrome/builders/ci/chromeos-betty-pi-arc-chrome/7680
> > >
> > > Original change's description:
> > > > Do not expose media devices before a successful getUserMedia()
> > > >
> > > > This is a spec-compliance change.
> > > >
> > > > This CL also adds some improvements to the blink MediaDevices unit test.
> > > >
> > > > Bug: 1101860
> > > > Change-Id: If2e7824df3b3dbd3cdb80f4bcf6b5c417d6f0ef2
> > > > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2279808
> > > > Commit-Queue: Guido Urdaneta <guidou@chromium.org>
> > > > Reviewed-by: Harald Alvestrand <hta@chromium.org>
> > > > Cr-Commit-Position: refs/heads/master@{#786253}
> > >
> > > TBR=hta@chromium.org,guidou@chromium.org
> > >
> > > Change-Id: I41b676c7d3e437c06d23f2b46270453f1cc81670
> > > No-Presubmit: true
> > > No-Tree-Checks: true
> > > No-Try: true
> > > Bug: 1101860
> > > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2288282
> > > Reviewed-by: Mohsen Izadi <mohsen@chromium.org>
> > > Commit-Queue: Mohsen Izadi <mohsen@chromium.org>
> > > Cr-Commit-Position: refs/heads/master@{#786615}
> >
> > TBR=mohsen@chromium.org,hta@chromium.org,guidou@chromium.org
> >
> > # Not skipping CQ checks because this is a reland.
> >
> > Bug: 1101860
> > Change-Id: I3fb6d9a620291cda57eb5fe48ce330b45425a5bc
> > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2289833
> > Commit-Queue: Guido Urdaneta <guidou@chromium.org>
> > Reviewed-by: Guido Urdaneta <guidou@chromium.org>
> > Reviewed-by: Harald Alvestrand <hta@chromium.org>
> > Cr-Commit-Position: refs/heads/master@{#791797}
>
> TBR=shik@chromium.org,hta@chromium.org,guidou@chromium.org,wtlee@chromium.org
>
> Change-Id: I6b18c308de10dc5e5251025fd887892ecfef938b
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Bug: 1101860
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2320081
> Reviewed-by: Adithya Srinivasan <adithyas@chromium.org>
> Commit-Queue: Adithya Srinivasan <adithyas@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#791822}

TBR=shik@chromium.org,hta@chromium.org,guidou@chromium.org,adithyas@chromium.org,wtlee@chromium.org

# Not skipping CQ checks because this is a reland.

Bug: 1101860
Change-Id: I43537e2be617b8d66f40ba1cbd73771a07b79507
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2320791
Reviewed-by: Guido Urdaneta <guidou@chromium.org>
Commit-Queue: Guido Urdaneta <guidou@chromium.org>
Cr-Commit-Position: refs/heads/master@{#792234}

--

wpt-commits: b2c600de6878a9b186d4b2c135fe5688f4cc3960
wpt-pr: 24776
2020-07-31 12:02:16 +00:00
moz-wptsync-bot ee70db22cf Bug 1654839 [wpt PR 24722] - Update wpt metadata, a=testonly
wpt-pr: 24722
wpt-type: metadata
2020-07-31 12:02:15 +00:00
arthursonzogni 995f63aecb Bug 1654839 [wpt PR 24722] - [COOP] access reporting. Remove excessive test cases., a=testonly
Automatic update from web-platform-tests
[COOP] access reporting. Remove excessive test cases.

The [window.idl] defines CrossOrigin indexed and named 'getter', but it
doesn't define their 'setter' counterpart.

As a result, we should remove test for them. They were added in excess.

[window.idl]: third_party/blink/renderer/core/frame/window.idl

Bug: chromium:1090273
Change-Id: I31fb77c65b82fef3d6f44297bfa63a331a9e1b02
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2315694
Reviewed-by: Yuki Shiino <yukishiino@chromium.org>
Reviewed-by: Camille Lamy <clamy@chromium.org>
Auto-Submit: Arthur Sonzogni <arthursonzogni@chromium.org>
Commit-Queue: Arthur Sonzogni <arthursonzogni@chromium.org>
Cr-Commit-Position: refs/heads/master@{#792214}

--

wpt-commits: 49aff0cd973d56736d0d9462b4f4d099ec38bb55
wpt-pr: 24722
2020-07-31 12:02:15 +00:00
moz-wptsync-bot 66c66c3fce Bug 1655705 [wpt PR 24778] - Update wpt metadata, a=testonly
wpt-pr: 24778
wpt-type: metadata
2020-07-31 12:02:14 +00:00
Ms2ger f198dba7d2 Bug 1655705 [wpt PR 24778] - Move WebAssembly toStringTag test and run it in js shells., a=testonly
Automatic update from web-platform-tests
Move WebAssembly toStringTag test and run it in js shells.

--

wpt-commits: 0dae4d670e27cf3f8ee42bf31292c70d0ef85db5
wpt-pr: 24778
2020-07-31 12:02:14 +00:00
Stephen McGruer 65e939d359 Bug 1655524 [wpt PR 24768] - [wptpr.live] Make sure to clean up old refs/prs-open/{pr}, a=testonly
Automatic update from web-platform-tests
[wptpr.live] Make sure to clean up old refs/prs-open/{pr} (#24768)

This expands the list of PRs that pr_preview.py looks at to include
those that have existing refs. That means that old PRs outside the
window will always have their deployments deleted, rather than being
kept forever.

Fixes https://github.com/web-platform-tests/wpt.live/issues/36
--

wpt-commits: d409a92831a5e9823d123489e606a308d4272648
wpt-pr: 24768
2020-07-31 12:02:13 +00:00
autofoolip 0e6496ca57 Bug 1655662 [wpt PR 24775] - Update interfaces/geolocation-API.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/geolocation-API.idl (#24775)

Source: https://github.com/tidoust/reffy-reports/blob/ad8c09d/ed/idl/geolocation-API.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/712457169
--

wpt-commits: 025707c3292db6b81244a56d44d47f062febc9b5
wpt-pr: 24775
2020-07-31 12:02:13 +00:00
Ian Kilpatrick 46815c5b4c Bug 1655602 [wpt PR 24773] - [FlexNG] Fix flex-item grid layout explosion., a=testonly
Automatic update from web-platform-tests
[FlexNG] Fix flex-item grid layout explosion.

When we had a column flex-item, which was also a grid, where the percent
template added up to something >100% on each layout the grid would grow
larger.

This was caused by some logic to fix relative-positioned children in:
https://chromium-review.googlesource.com/c/chromium/src/+/2093273

However when this value was read within layout, it could refer to the
previous layout. If numerous layouts occurred sequentially, this would
cause the layouts to grow unbounded.

This patch disables this path when read during layout for a flex-item
(in NG). During layout the flex-item should have a BoxLayoutExtraInput
set.

Bug: 1108928
Change-Id: I4d0d41755c9d33eb2b4c217ee6bfdb1acd48cbbf
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2320418
Reviewed-by: David Grogan <dgrogan@chromium.org>
Commit-Queue: David Grogan <dgrogan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#792193}

--

wpt-commits: f153a0513f12e53717c45b5bf1f1aaa2e3d02f87
wpt-pr: 24773
2020-07-31 12:02:13 +00:00
Tim Schumann 0c6a0133c2 Bug 1655684 [wpt PR 24777] - Revert "[COOP] Access reporting. Fix the python server.", a=testonly
Automatic update from web-platform-tests
Revert "[COOP] Access reporting. Fix the python server."

This reverts commit 9c96261a884c9ebd9daff66b7e41398d65c9d11c.

Reason for revert: This appears to have broken external/wpt/html/cross-origin-opener-policy/reporting/access-reporting/openee-accessed_openee-coop-ro.https.html

BUG: 1110254

Original change's description:
> [COOP] Access reporting. Fix the python server.
>
> A python server is used has a communication channel in between documents
> from different browsing context group and potentially cross-origin.
>
> There are two methods:
> - one for writing a message.
> - one for reading the message.
>
> I initially supposed we won't need to store more than one message in the
> stash. It turns out there are tests doing two write in a row without any
> read in the middle. It was throwing an exception when this
> happened.
>
> This patch makes the server to maintain a queue of messages instead. It
> doesn't throw errors anymore.
>
> Bug: chromium:1109194
> Change-Id: I25f8dc2c2a032781a4527a0994e94e46f85e12c9
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2317865
> Reviewed-by: Pâris Meuleman <pmeuleman@chromium.org>
> Commit-Queue: Arthur Sonzogni <arthursonzogni@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#791901}

TBR=clamy@chromium.org,arthursonzogni@chromium.org,pmeuleman@chromium.org

Change-Id: I87ba2caa07f80f42aa549929ade392485b968d6f
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: chromium:1109194
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2320572
Reviewed-by: Tim Schumann <tschumann@chromium.org>
Commit-Queue: Tim Schumann <tschumann@chromium.org>
Cr-Commit-Position: refs/heads/master@{#792184}

--

wpt-commits: 8a0eb4582d5f63590ad50cc8ccbd7633ffd17086
wpt-pr: 24777
2020-07-31 12:02:12 +00:00
moz-wptsync-bot 2d581b48da Bug 1655334 [wpt PR 24759] - Update wpt metadata, a=testonly
wpt-pr: 24759
wpt-type: metadata
2020-07-31 12:02:12 +00:00
Gérard Talbot efc82d4091 Bug 1655334 [wpt PR 24759] - Added 5 new selection-* tests and 5 references, a=testonly
Automatic update from web-platform-tests
Added 5 new selection-* tests and 5 references (#24759)

--

wpt-commits: 9a28e2c8d072c358bd94b97bc8bff6db8388b6b1
wpt-pr: 24759
2020-07-31 12:02:11 +00:00
Chris Harrelson 65a2326198 Bug 1655596 [wpt PR 24771] - SetNeedsPaint on tables when collapsed borders change, a=testonly
Automatic update from web-platform-tests
SetNeedsPaint on tables when collapsed borders change

Tables always paint collapsed borders, even if the rows are seprately
composited. While we don't need to invalidate paint for the table
(because the row is the DisplayItemClient for the borders), we do need
to cause repaint for its painting layer, because the table paints those
borders.

See also (*), which removed the code that previously had the same
effect. There was previously no test for this code.

(*) https://chromium-review.googlesource.com/c/chromium/src/+/2317848

Change-Id: I269101d3bf28445c0ec3d1f6bcad1a23cf3e46d4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2321234
Commit-Queue: Chris Harrelson <chrishtr@chromium.org>
Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#792138}

--

wpt-commits: ff1fd0c93e31a8525e4bfbf1f19edc0736e0a792
wpt-pr: 24771
2020-07-31 12:02:11 +00:00
Olga Gerchikov 758a498b5a Bug 1648494 [wpt PR 24341] - Implement ScrollTimeline.scrollOffsets API, a=testonly
Automatic update from web-platform-tests
Implement ScrollTimeline.scrollOffsets API

This change implements initializing ScrollTimeline with scrollOffsets
and reading back scrollOffsets.

Bug: 1094014
Change-Id: I9d39bcc2644cee1288d59a29119d9ac1d91b5080
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2264926
Reviewed-by: Robert Flack <flackr@chromium.org>
Commit-Queue: Olga Gerchikov <gerchiko@microsoft.com>
Cr-Commit-Position: refs/heads/master@{#792106}

--

wpt-commits: fb149eacad8873f8b1a6215063d1f6092b5f9821
wpt-pr: 24341
2020-07-31 12:02:10 +00:00
Dylan Cutler bee279fa5f Bug 1654940 [wpt PR 24730] - Have CookieStore reject cookies with no name and no value., a=testonly
Automatic update from web-platform-tests
Have CookieStore reject cookies with no name and no value.

The CookieStore spec recently changed to disallow setting cookies
using this API:

https://github.com/WICG/cookie-store/pull/150

This CL updates the implementation of CookieStore in Blink to
perform this additional check and updates the web platform
tests to reflect the new changes to the spec.

Bug: 1108964
Change-Id: I1bc60332551308498509c0e8bbc6823bd8375ab8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2316622
Reviewed-by: Ayu Ishii <ayui@chromium.org>
Commit-Queue: Dylan Cutler <dylancutler@google.com>
Cr-Commit-Position: refs/heads/master@{#791963}

--

wpt-commits: de61dd6ef3fe74554b638d741dc2b68bc44ad65f
wpt-pr: 24730
2020-07-31 12:02:10 +00:00
Marijn Kruisselbrink 613284c4b9 Bug 1654380 [wpt PR 24688] - [NativeFS] Update permissions API following spec change., a=testonly
Automatic update from web-platform-tests
[NativeFS] Update permissions API following spec change.

This implements the changes from https://github.com/WICG/native-file-system/pull/200.

Change-Id: I9702f9888c4f0fff2084143ac6077b8484dfce16
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2298296
Reviewed-by: Trent Apted <tapted@chromium.org>
Reviewed-by: Will Harris <wfh@chromium.org>
Reviewed-by: Victor Costan <pwnall@chromium.org>
Commit-Queue: Marijn Kruisselbrink <mek@chromium.org>
Cr-Commit-Position: refs/heads/master@{#792004}

--

wpt-commits: e85c3405f1269a2ca77ec9e4ea63a4df73ee754e
wpt-pr: 24688
2020-07-31 12:02:09 +00:00
ziransun a61398df82 Bug 1654734 [wpt PR 24716] - Add return statement for ResponseWriter.write_content() function., a=testonly
Automatic update from web-platform-tests
Add return statement for ResponseWriter.write_content() function. (#24716)

Related discussions:
https://github.com/web-platform-tests/wpt/pull/24617
https://github.com/web-platform-tests/wpt/pull/24657

Part of #24719
--

wpt-commits: 057105bbc50f00da5a22e47b42994af3580fa19f
wpt-pr: 24716
2020-07-31 12:02:09 +00:00
George Steel 597947d346 Bug 1654615 [wpt PR 24700] - Fix test of non-animatable properties., a=testonly
Automatic update from web-platform-tests
Fix test of non-animatable properties.

Follow-up to https://chromium-review.googlesource.com/c/chromium/src/+/2303353
addressing post-submission comments.

Add missed test case and fix list sorting.

Bug: 1105144
Change-Id: I307065b3a8f4915a8b400c328ef2998fa8305e7c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2314296
Reviewed-by: Oriol Brufau <obrufau@igalia.com>
Reviewed-by: Kevin Ellis <kevers@chromium.org>
Commit-Queue: George Steel <gtsteel@chromium.org>
Cr-Commit-Position: refs/heads/master@{#791933}

--

wpt-commits: 08846fbf9a3c39da2427d06e742a285c3400ee95
wpt-pr: 24700
2020-07-31 12:02:08 +00:00
Stephen McGruer 2605233630 Bug 1654808 [wpt PR 24720] - Document how to address the web-platform.test lint rule, a=testonly
Automatic update from web-platform-tests
Document how to address the web-platform.test lint rule (#24720)

See https://github.com/web-platform-tests/wpt/pull/24574#issuecomment-662404886

And update link in docs.
--

wpt-commits: 2afcc84e7da41d6763dca88c48a101f8c85d4ee9
wpt-pr: 24720
2020-07-31 12:02:08 +00:00
Robert Ma 359b4c8192 Bug 1655512 [wpt PR 24766] - [wpt] Fix the installation of ChromeDriver stable, a=testonly
Automatic update from web-platform-tests
[wpt] Fix the installation of ChromeDriver stable (#24766)

This was accidentally regressed in #24702 due to lack of comments or
tests, both of which are also added in this change.

Fixes #24753.

--

wpt-commits: 93f60af091e034be401e3915c3d699d495e7a5ea
wpt-pr: 24766
2020-07-31 12:02:08 +00:00
arthursonzogni 1cf4b2fcc9 Bug 1655114 [wpt PR 24740] - [COOP] Access reporting. Fix the python server., a=testonly
Automatic update from web-platform-tests
[COOP] Access reporting. Fix the python server.

A python server is used has a communication channel in between documents
from different browsing context group and potentially cross-origin.

There are two methods:
- one for writing a message.
- one for reading the message.

I initially supposed we won't need to store more than one message in the
stash. It turns out there are tests doing two write in a row without any
read in the middle. It was throwing an exception when this
happened.

This patch makes the server to maintain a queue of messages instead. It
doesn't throw errors anymore.

Bug: chromium:1109194
Change-Id: I25f8dc2c2a032781a4527a0994e94e46f85e12c9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2317865
Reviewed-by: Pâris Meuleman <pmeuleman@chromium.org>
Commit-Queue: Arthur Sonzogni <arthursonzogni@chromium.org>
Cr-Commit-Position: refs/heads/master@{#791901}

--

wpt-commits: f4927f9d8023557d15cddd8d9eb40ac079bf697e
wpt-pr: 24740
2020-07-31 12:02:07 +00:00
Oriol Brufau 9c70d6f466 Bug 1654408 [wpt PR 24692] - [css-lists] Fix marker not correctly updated in legacy layout, a=testonly
Automatic update from web-platform-tests
[css-lists] Fix marker not correctly updated in legacy layout

If a list item contains a block box, the layout tree is initially like:

  LayoutListItem {LI}
    LayoutBlockFlow (anonymous)
      LayoutListMarker {::marker}
    LayoutBlockFlow {P}
      LayoutText #text

However, an outside ::marker should appear in the same line as the first
non-marker text of the list item. Therefore, it's changed into:

  LayoutListItem {LI}
    LayoutBlockFlow (anonymous)
    LayoutBlockFlow {P}
      LayoutListMarker {::marker}
      LayoutText {#text}

But this was not happening when dynamically toggling list-style-type
between 'none' and some other value. The reason was that there was a
'NormalChildNeedsLayout()' condition, which would hold the 1st time, but
in following layouts it would be false.

This patch just removes that condition.

Bug: 1107783

TEST=external/wpt/css/css-lists/change-list-style-type-002.html

Change-Id: Ic82f1a474b0a0ddf2f2aab8a60afac299aa6e2d1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2310359
Reviewed-by: Koji Ishii <kojii@chromium.org>
Commit-Queue: Oriol Brufau <obrufau@igalia.com>
Cr-Commit-Position: refs/heads/master@{#791857}

--

wpt-commits: 79331ece5c30ca14a3bcc1674d4efe19f0657754
wpt-pr: 24692
2020-07-31 12:02:07 +00:00
Oriol Brufau 86f2908129 Bug 1655450 [wpt PR 24765] - [css-sizing] Migrate available-height-for-content.html to WPT, a=testonly
Automatic update from web-platform-tests
[css-sizing] Migrate available-height-for-content.html to WPT

This CL migrates fast/replaced/available-height-for-content.html to
external/wpt/css/css-sizing/available-height-for-replaced-content.html.

Change-Id: Ife10bdaf02857ff5b4e4142e6354c7d002671c3f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2320270
Commit-Queue: Oriol Brufau <obrufau@igalia.com>
Reviewed-by: Manuel Rego <rego@igalia.com>
Cr-Commit-Position: refs/heads/master@{#791872}

--

wpt-commits: ac02cee13c0ca67cb2f5a3e7f945ab8626783fdb
wpt-pr: 24765
2020-07-31 12:02:06 +00:00
Adithya Srinivasan 4ca94413fa Bug 1655516 [wpt PR 24767] - Revert "Reland "Do not expose media devices before a successful getUserMedia()"", a=testonly
Automatic update from web-platform-tests
Revert "Reland "Do not expose media devices before a successful getUserMedia()""

This reverts commit 8b10bc20f5a16c1257a472c70afa0cd58c49a8be.

Reason for revert: camera.CCAUISanity.fake is failing again: https://ci.chromium.org/p/chromium/builders/ci/chromeos-kevin-rel/27932

Original change's description:
> Reland "Do not expose media devices before a successful getUserMedia()"
>
> This reverts commit 69a6001995c51516b403dbde99a2db4c5054ce55.
>
> chrome-prefixed URLs are exempted from the getUserMedia() requirement.
>
> Original change's description:
> > Revert "Do not expose media devices before a successful getUserMedia()"
> >
> > This reverts commit d64e736aa8c7976b12b33f92472f7950bf0215b9.
> >
> > Reason for revert: Caused chrome_all_tast_tests / camera.CCAUISanity.fake failures; e.g. https://ci.chromium.org/p/chrome/builders/ci/chromeos-betty-pi-arc-chrome/7680
> >
> > Original change's description:
> > > Do not expose media devices before a successful getUserMedia()
> > >
> > > This is a spec-compliance change.
> > >
> > > This CL also adds some improvements to the blink MediaDevices unit test.
> > >
> > > Bug: 1101860
> > > Change-Id: If2e7824df3b3dbd3cdb80f4bcf6b5c417d6f0ef2
> > > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2279808
> > > Commit-Queue: Guido Urdaneta <guidou@chromium.org>
> > > Reviewed-by: Harald Alvestrand <hta@chromium.org>
> > > Cr-Commit-Position: refs/heads/master@{#786253}
> >
> > TBR=hta@chromium.org,guidou@chromium.org
> >
> > Change-Id: I41b676c7d3e437c06d23f2b46270453f1cc81670
> > No-Presubmit: true
> > No-Tree-Checks: true
> > No-Try: true
> > Bug: 1101860
> > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2288282
> > Reviewed-by: Mohsen Izadi <mohsen@chromium.org>
> > Commit-Queue: Mohsen Izadi <mohsen@chromium.org>
> > Cr-Commit-Position: refs/heads/master@{#786615}
>
> TBR=mohsen@chromium.org,hta@chromium.org,guidou@chromium.org
>
> # Not skipping CQ checks because this is a reland.
>
> Bug: 1101860
> Change-Id: I3fb6d9a620291cda57eb5fe48ce330b45425a5bc
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2289833
> Commit-Queue: Guido Urdaneta <guidou@chromium.org>
> Reviewed-by: Guido Urdaneta <guidou@chromium.org>
> Reviewed-by: Harald Alvestrand <hta@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#791797}

TBR=shik@chromium.org,hta@chromium.org,guidou@chromium.org,wtlee@chromium.org

Change-Id: I6b18c308de10dc5e5251025fd887892ecfef938b
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 1101860
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2320081
Reviewed-by: Adithya Srinivasan <adithyas@chromium.org>
Commit-Queue: Adithya Srinivasan <adithyas@chromium.org>
Cr-Commit-Position: refs/heads/master@{#791822}

--

wpt-commits: a11a13799c73fd9736882f07b83917624bed875e
wpt-pr: 24767
2020-07-31 12:02:06 +00:00
moz-wptsync-bot f97b4231b4 Bug 1654869 [wpt PR 24727] - Update wpt metadata, a=testonly
wpt-pr: 24727
wpt-type: metadata
2020-07-31 12:02:05 +00:00
Kevin Ellis cb42ded817 Bug 1654869 [wpt PR 24727] - Remove use of setTimeout in ref test for web-animations, a=testonly
Automatic update from web-platform-tests
Remove use of setTimeout in ref test for web-animations

Use requestAnimationFrames instead of setTimeouts in the ref tests to
accommodate variability in timing. The background color is animated
between green and red to better align with reftest guidelines.

The test to slow down the animation was removed since it would be
essentially equivalent to the zero playback rate test after the
refactoring.

Bug: 1108342, 1064127
Change-Id: Ie933b68cf45caabfa70fbe5deb881e120ea5e28a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2313157
Reviewed-by: Xida Chen <xidachen@chromium.org>
Commit-Queue: Kevin Ellis <kevers@chromium.org>
Cr-Commit-Position: refs/heads/master@{#791833}

--

wpt-commits: 5042344eb8042c6a5be8815add424e45a880f0fc
wpt-pr: 24727
2020-07-31 12:02:05 +00:00
moz-wptsync-bot 0c64460303 Bug 1651885 [wpt PR 24552] - Update wpt metadata, a=testonly
wpt-pr: 24552
wpt-type: metadata
2020-07-31 12:02:04 +00:00
Pâris MEULEMAN e76574e947 Bug 1651885 [wpt PR 24552] - [COOP report] Add support for report-only, a=testonly
Automatic update from web-platform-tests
[COOP report] Add support for report-only

This adds the support for report-only COOP triggered Browsing context
group switches.
During navigation, besides computing whether COOP triggers a BCG switch,
this also computes if any of the report-only policies would also trigger
a switch if they were effective, the resulting values are stored in
booleans within |CrossOriginOpenerPolicyStatus|.
This booleans are then used to trigger the navigation reports, and in a
follow up to trigger access reports.

Explainer [WIP]:
https://github.com/camillelamy/explainers/blob/master/coop_reporting.md

Specification [WIP]:
https://github.com/whatwg/html/pull/5518

Bug: 1099208
Change-Id: I2cb66ec5cdcd9d5b4658c28f0608bc6b52d0da6b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2241529
Commit-Queue: Pâris Meuleman <pmeuleman@chromium.org>
Reviewed-by: Camille Lamy <clamy@chromium.org>
Reviewed-by: Arthur Hemery <ahemery@chromium.org>
Auto-Submit: Pâris Meuleman <pmeuleman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#790781}

--

wpt-commits: 969178e38dd571ff68b74322430ecdf572abe2a3
wpt-pr: 24552
2020-07-31 12:02:04 +00:00
moz-wptsync-bot 2bda00b21a Bug 1654858 [wpt PR 24725] - Update wpt metadata, a=testonly
wpt-pr: 24725
wpt-type: metadata
2020-07-31 12:02:03 +00:00
Oriol Brufau 741f175922 Bug 1654858 [wpt PR 24725] - [css-pseudo] Support text-transform in ::marker, a=testonly
Automatic update from web-platform-tests
[css-pseudo] Support text-transform in ::marker

In https://github.com/w3c/csswg-drafts/issues/4206, the CSSWG resolved
that the 'text-transform' property should apply to ::marker, and that
by default it should be set to 'none' in the UA stylesheet.
This patch implements these changes.

Note that setting it to 'none' is an observable change in LayoutNG,
since it prevents the ::marker from inheriting the 'text-transform' of
the list item. This was considered a better behavior by the CSSWG, and
it's the behavior that legacy layout already had.

LayoutListMarker, used for ::marker with 'content: normal' in legacy
layout, doesn't implement the marker text as actual text. Therefore,
'text-transform' has no effect.

Bug: 1031667

TEST=external/wpt/css/css-pseudo/marker-default-styles.html
TEST=external/wpt/css/css-pseudo/marker-text-transform-default.html
TEST=external/wpt/css/css-pseudo/marker-text-transform-uppercase.html
TEST=external/wpt/css/css-pseudo/parsing/marker-supported-properties-in-animation.html
TEST=external/wpt/css/css-pseudo/parsing/marker-supported-properties.html
TEST=http/tests/devtools/elements/styles-2/pseudo-elements.js

Change-Id: I2c2b554f521139fabb502856fedc6230aa45c787
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2315872
Reviewed-by: Koji Ishii <kojii@chromium.org>
Commit-Queue: Oriol Brufau <obrufau@igalia.com>
Cr-Commit-Position: refs/heads/master@{#791815}

--

wpt-commits: 22901727d52297378d44b217af0b4c06d5b0a484
wpt-pr: 24725
2020-07-31 12:02:03 +00:00
moz-wptsync-bot 12a29a8865 Bug 1513417 [wpt PR 14470] - Update wpt metadata, a=testonly
wpt-pr: 14470
wpt-type: metadata
2020-07-31 12:02:02 +00:00
Ben Wagner 582f39496f Bug 1513417 [wpt PR 14470] - Add wpt test for font feature precedence for 'dlig'., a=testonly
Automatic update from web-platform-tests
Add wpt test for font feature precedence for 'dlig'.

The new Lato-Medium-Liga font is based on Lato-Medium 3.002 available
at https://github.com/latofonts/lato-source/tree/master/fonts/static/TTF
It is subset with hb-subset with "fiststfi " and the 'fi' ligatures
moved back to 'liga' (version 3.002 moved them to 'dlig'). The crossbar
of 't' in the 'st' ligature was also shorted to ensure that it would not
cover a normal 't'.

The Lato-Medium currently available to the tests is version 2.015 and
lacks a mapping from U+fb06 to the 'st' ligature glyph which was only
accessible through the 'dlig' feature. Lato-Medium 3.002 added this
mapping (required for this new test) but also moved the 'fi' ligatures
to 'dlig' and some existing tests depend on the 'fi' ligatures being in
'liga'.

This tests https://github.com/w3c/csswg-drafts/pull/3430

Change-Id: Iaf0ff1f99f3ec282bacb0e3cb44ede27d47fac5a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1294874
Reviewed-by: Dominik Röttsches <drott@chromium.org>
Commit-Queue: Ben Wagner <bungeman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#791807}

--

wpt-commits: f76fb70a30ce97c33425b30e4654ab4b5bce4fd1
wpt-pr: 14470
2020-07-31 12:02:02 +00:00
Robert Ma e9bdb17d4c Bug 1655192 [wpt PR 24745] - [wpt] Ignore testdriver* in changed files, a=testonly
Automatic update from web-platform-tests
[wpt] Ignore testdriver* in changed files

when detecting affected tests.

Fixes #14560 and #15485.

--

wpt-commits: 971af8fc1d0c9d8c53cca6e3b6bb42a6d4d072c5
wpt-pr: 24745
2020-07-31 12:02:01 +00:00
Guido Urdaneta 560ef68bf7 Bug 1655469 [wpt PR 24532] - Reland "Do not expose media devices before a successful getUserMedia()", a=testonly
Automatic update from web-platform-tests
Reland "Do not expose media devices before a successful getUserMedia()"

This reverts commit 69a6001995c51516b403dbde99a2db4c5054ce55.

chrome-prefixed URLs are exempted from the getUserMedia() requirement.

Original change's description:
> Revert "Do not expose media devices before a successful getUserMedia()"
>
> This reverts commit d64e736aa8c7976b12b33f92472f7950bf0215b9.
>
> Reason for revert: Caused chrome_all_tast_tests / camera.CCAUISanity.fake failures; e.g. https://ci.chromium.org/p/chrome/builders/ci/chromeos-betty-pi-arc-chrome/7680
>
> Original change's description:
> > Do not expose media devices before a successful getUserMedia()
> >
> > This is a spec-compliance change.
> >
> > This CL also adds some improvements to the blink MediaDevices unit test.
> >
> > Bug: 1101860
> > Change-Id: If2e7824df3b3dbd3cdb80f4bcf6b5c417d6f0ef2
> > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2279808
> > Commit-Queue: Guido Urdaneta <guidou@chromium.org>
> > Reviewed-by: Harald Alvestrand <hta@chromium.org>
> > Cr-Commit-Position: refs/heads/master@{#786253}
>
> TBR=hta@chromium.org,guidou@chromium.org
>
> Change-Id: I41b676c7d3e437c06d23f2b46270453f1cc81670
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Bug: 1101860
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2288282
> Reviewed-by: Mohsen Izadi <mohsen@chromium.org>
> Commit-Queue: Mohsen Izadi <mohsen@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#786615}

TBR=mohsen@chromium.org,hta@chromium.org,guidou@chromium.org

# Not skipping CQ checks because this is a reland.

Bug: 1101860
Change-Id: I3fb6d9a620291cda57eb5fe48ce330b45425a5bc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2289833
Commit-Queue: Guido Urdaneta <guidou@chromium.org>
Reviewed-by: Guido Urdaneta <guidou@chromium.org>
Reviewed-by: Harald Alvestrand <hta@chromium.org>
Cr-Commit-Position: refs/heads/master@{#791797}

--

wpt-commits: e88590918346d8d0d7a4bb768a78fea14ba71203
wpt-pr: 24532
2020-07-31 12:02:01 +00:00