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

51781 Коммитов

Автор SHA1 Сообщение Дата
Gregory Mierzwinski cd877463f0 Bug 1675157 - Handle gzipped mobile profiles in raptor. r=perftest-reviewers,AlexandruIonescu
This patch makes raptor handle the gzipped profiles that come from browsertime when the tests are run on mobile.

Differential Revision: https://phabricator.services.mozilla.com/D98231
2020-12-04 15:42:09 +00:00
Mihai Alexandru Michis 457296a859 Backed out 67 changesets (bug 1679322, bug 1680005, bug 1680165, bug 1679328, bug 1680143, bug 1680409, bug 1675513, bug 1680029, bug 1680552, bug 1680553, bug 1679899, bug 1680413, bug 1679895, bug 1679900, bug 1679955, bug 1679902, bug 1680346, bug 1679980, bug 1680340, bug 1680222, bug 1680632, bug 1680305, bug 1679920, bug 1679569, bug 1679672, bug 1680117, bug 1680115, bug 1680174, bug 1678317, bug 1680176, bug 1676958, bug 1680415, bug 1680078, bug 1680663, bug 1679996, bug 1679599, bug 1679993, bug 1679024, bug 1679069, bug 1680350, bug 1679067, bug 1679846, bug 1679029, bug 1669612, bug 1679919, bug 1679570, bug 1676460, bug 1678394, bug 1679943, bug 1679926) for causing wpt leaks.
CLOSED TREE

Backed out changeset 08d9a76a912d (bug 1680663)
Backed out changeset 43289b69898b (bug 1680663)
Backed out changeset c54a684dbd70 (bug 1680409)
Backed out changeset 35695baf0cd7 (bug 1680632)
Backed out changeset 4bb74424681c (bug 1679069)
Backed out changeset 77c7c4cc95eb (bug 1680340)
Backed out changeset fb01c9e1cc8d (bug 1680340)
Backed out changeset 90238d97c978 (bug 1680176)
Backed out changeset b3c5c730b392 (bug 1679067)
Backed out changeset 6a73586d0c7a (bug 1679067)
Backed out changeset 4a7e0730d7f1 (bug 1680552)
Backed out changeset a95b0fe507e0 (bug 1680553)
Backed out changeset ca7b6fb8a0e9 (bug 1680222)
Backed out changeset 40dc4b06a6a2 (bug 1680222)
Backed out changeset 1b300fd372fb (bug 1680346)
Backed out changeset 3ec3ed991603 (bug 1680413)
Backed out changeset 12df026355e8 (bug 1680413)
Backed out changeset 720accde8c8f (bug 1680415)
Backed out changeset e73610b1b4f9 (bug 1678317)
Backed out changeset c68cb403b34a (bug 1678317)
Backed out changeset 768c14f81815 (bug 1676460)
Backed out changeset 56e1a8d30892 (bug 1676460)
Backed out changeset eb5952ba1958 (bug 1676958)
Backed out changeset fddc6114a3cb (bug 1676958)
Backed out changeset 5bbf4e83b91a (bug 1680350)
Backed out changeset c9cddf20eeec (bug 1680350)
Backed out changeset 9a351269f3e9 (bug 1680165)
Backed out changeset ad34bb605a18 (bug 1680165)
Backed out changeset a9e597411b1d (bug 1680115)
Backed out changeset 5cf5bbad028f (bug 1679024)
Backed out changeset 0d9ff56d46b7 (bug 1680305)
Backed out changeset 82e9e83b6d3c (bug 1680174)
Backed out changeset 984e7ac419ef (bug 1679328)
Backed out changeset 1e60a9a52a5d (bug 1679328)
Backed out changeset ed4c80dab2f8 (bug 1680078)
Backed out changeset 1eb9fc5b8d15 (bug 1669612)
Backed out changeset bbff40206580 (bug 1680143)
Backed out changeset 3b0ab6daa070 (bug 1679322)
Backed out changeset cb9396002c9c (bug 1680117)
Backed out changeset c771a3b155c9 (bug 1675513)
Backed out changeset 58936167a157 (bug 1679920)
Backed out changeset b27cdb388bdf (bug 1679920)
Backed out changeset 03705f52b0a0 (bug 1679926)
Backed out changeset ed7115c2c3f8 (bug 1680005)
Backed out changeset b71bb11ae3bb (bug 1679980)
Backed out changeset 3693bbbff389 (bug 1679980)
Backed out changeset 51aeb77109c0 (bug 1680029)
Backed out changeset fde59549f693 (bug 1679993)
Backed out changeset 4d783fba033d (bug 1679993)
Backed out changeset 59f10b7a13a1 (bug 1679919)
Backed out changeset 5d4ff363748d (bug 1679846)
Backed out changeset ea51bd6c0589 (bug 1679599)
Backed out changeset 2efd52a63562 (bug 1679570)
Backed out changeset 9641419b8161 (bug 1679569)
Backed out changeset 86b43f8e84f3 (bug 1679996)
Backed out changeset ec05e752c1f9 (bug 1679029)
Backed out changeset d568e641b791 (bug 1679955)
Backed out changeset 2f2e995c714c (bug 1679899)
Backed out changeset 434852b39519 (bug 1679899)
Backed out changeset 98ca4e7ce514 (bug 1679900)
Backed out changeset 374e1a9134bc (bug 1679900)
Backed out changeset 40ed1779d8a1 (bug 1679943)
Backed out changeset 1f0bb3921fb3 (bug 1679902)
Backed out changeset 37c7bf4399fe (bug 1679672)
Backed out changeset f4c00cd52dce (bug 1678394)
Backed out changeset 098eab7a7977 (bug 1678394)
Backed out changeset 0bb1bdd25991 (bug 1679895)
2020-12-04 20:51:58 +02:00
Kevin Jacobs c27baf9ddb Bug 1678079 - Add PSM support and xpcshell tests for ECH. r=keeler,kershaw
This patch enables PSM and Firefox to use TLS 1.3 Encrypted Client Hello (draft -08). Specifically:
  - Compile NSS with NSS_ENABLE_DRAFT_HPKE=1
  - Add ECH "public_name" handling in SSLServerCertVerification.cpp (see: https://tools.ietf.org/html/draft-ietf-tls-esni-08#section-6.3.2)
  - Adds `mIsAcceptedEch` to TransportSecurityInfo, and xpcshell tests for ECH use cases
  - Adds EncryptedClientHelloServer to facilitate the xpcshell tests
  - Un-ifdef Set/GetEchConfigs code in nsNSSIOLayer.cpp. Also reverted the Base64 encoding and decoding, as the data returned from DNS is already decoded (wire-format).

Differential Revision: https://phabricator.services.mozilla.com/D92651
2020-12-04 15:26:17 +00:00
Gregory Mierzwinski 50dfc2cb3a Bug 1672142 - Update mozperftest perfdocs to include new test. r=tarek,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D98773
2020-12-04 15:47:22 +00:00
Gregory Mierzwinski bac48c02e2 Bug 1676499 - Remove application name from benchmark perfherder extraOptions. r=perftest-reviewers,kimberlythegeek
Differential Revision: https://phabricator.services.mozilla.com/D98359
2020-12-04 14:15:52 +00:00
James Graham 3f8da25152 Bug 1680663 - Update asan allow list following sync, r=aryx
Differential Revision: https://phabricator.services.mozilla.com/D98752
2020-12-04 14:04:45 +00:00
moz-wptsync-bot b2c4d4c847 Bug 1680663 - [wpt-sync] Update web-platform-tests to 92a7e0486f73461372fe6b93009f16f5ab6cfe29, a=testonly
MANUAL PUSH: wpt sync bot

wpt-head: 92a7e0486f73461372fe6b93009f16f5ab6cfe29
wpt-type: landing
2020-12-04 10:46:08 +00:00
Kent Tamura 3a351e9a44 Bug 1680409 [wpt PR 26732] - Support 'disclosure-open' and 'disclosure-closed' for 'list-style-type' property, a=testonly
Automatic update from web-platform-tests
Support 'disclosure-open' and 'disclosure-closed' for 'list-style-type'
property

* core/css, core/style, web_tests/external/wpt:
  Changes to recognize new keywords 'disclosure-open' and
  'disclosure-closed'.

* layout/layout_details_marker.*,
  layout/layout_tree_as_text.cc,
  paint/details_marker_painter.*:
  Changes to make DetailsMarkerPainter::GetCanonicalPath() static in
  order to share it with ListMarkerPainter.
  These files has no behavior changes.

* paint/list_marker_painter.cc:
  Calls DetailsMarkerPainter::GetCanonicalPath() to get a Path, and draw
  it on |context|.

* layout/list_marker.cc:
  Adjust the layout size for 'disclosure-*'.
  The size of 'circle', 'disc', 'square' is "ascent * 1 / 3", and it's
  too small for 'disclosure-*'.  We apply "font_height * 2 / 3" instead,
  and it's same as the default size of ::-webkit-details-marker.

* layout/list_marker_text.cc, wtf/text/character_names.h:
  Add text representations of 'disclosure-open' and 'disclosure-closed'.

This CL adds a simple rendering test. A following CL will add more
coverage.

I2S: https://t.co/1a7z357RV9

Bug: 590014
Change-Id: I1acad5a102c7cfcc91101fca283fde32fefae06f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2567548
Commit-Queue: Kent Tamura <tkent@chromium.org>
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Reviewed-by: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#833566}

--

wpt-commits: 92a7e0486f73461372fe6b93009f16f5ab6cfe29
wpt-pr: 26732
2020-12-04 10:46:07 +00:00
Reilly Grant ba691ebde9 Bug 1680632 [wpt PR 26752] - serial: Export manual tests into Web Platform Tests, a=testonly
Automatic update from web-platform-tests
serial: Export manual tests into Web Platform Tests

These tests don't have any automation dependencies (since they are
manual) so can be exported first.

Bug: 884928
Change-Id: I6a3b9240d7ce8d61bfea43e5445d1334725bbd64
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2572745
Commit-Queue: Reilly Grant <reillyg@chromium.org>
Commit-Queue: Joshua Bell <jsbell@chromium.org>
Auto-Submit: Reilly Grant <reillyg@chromium.org>
Reviewed-by: Joshua Bell <jsbell@chromium.org>
Cr-Commit-Position: refs/heads/master@{#833542}

--

wpt-commits: 1cc8547873324c7b70ab00e5d2f7d6d0b0b59774
wpt-pr: 26752
2020-12-04 10:46:07 +00:00
Lan Wei 2a410d7ceb Bug 1679069 [wpt PR 26626] - Simulate user inputs in css/selectors/focus-visible-004.html, a=testonly
Automatic update from web-platform-tests
Simulate user inputs in css/selectors/focus-visible-004.html

Use testdriver Action API to simulate mouse click actions in
css/selectors/focus-visible-004.html.

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

--

wpt-commits: 733dbcfd53c36c69104b24b27b3cc44e09b6a3fa
wpt-pr: 26626
2020-12-04 10:46:06 +00:00
moz-wptsync-bot a0fdbfe03d Bug 1680340 [wpt PR 26724] - Update wpt metadata, a=testonly
wpt-pr: 26724
wpt-type: metadata
2020-12-04 10:46:06 +00:00
Lan Wei 48f0874da0 Bug 1680340 [wpt PR 26724] - Simulate user inputs in pointerevent_capture_suppressing_mouse.html, a=testonly
Automatic update from web-platform-tests
Simulate user inputs in pointerevent_capture_suppressing_mouse.html

Use testdriver Action API to simulate mouse actions in
pointerevents/pointerevent_capture_suppressing_mouse.html.

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

--

wpt-commits: 88780a69aa6ef42becab170fc1ddec9e5a61704e
wpt-pr: 26724
2020-12-04 10:46:05 +00:00
Reilly Grant a94cf410aa Bug 1680176 [wpt PR 26713] - usb: Support composite devices using the WinUSB driver, a=testonly
Automatic update from web-platform-tests
usb: Support composite devices using the WinUSB driver

This adds support for an uncommon configuration in which a composite USB
device has the WinUSB driver loaded for the whole device rather than
using Microsoft's composite driver to create device nodes for each
device function.

A manual test which confirms that all calls to claimInterface() succeed
or fail in a reasonable time has been added.

Bug: 1150758
Change-Id: If86d2e21dbc575cadea943a9c319029a10c78b36
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2568546
Reviewed-by: Matt Reynolds <mattreynolds@chromium.org>
Commit-Queue: Reilly Grant <reillyg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#833505}

--

wpt-commits: 7f680aee5f41278be2b4146b7669b5cc8caec47f
wpt-pr: 26713
2020-12-04 10:46:05 +00:00
moz-wptsync-bot 989ab3c54c Bug 1679067 [wpt PR 26624] - Update wpt metadata, a=testonly
wpt-pr: 26624
wpt-type: metadata
2020-12-04 10:46:05 +00:00
Lan Wei 35b1ed14a5 Bug 1679067 [wpt PR 26624] - Simulate user inputs in css/selectors/focus-visible-003.html, a=testonly
Automatic update from web-platform-tests
Simulate user inputs in css/selectors/focus-visible-003.html

Use testdriver Action API to simulate mouse click actions in
css/selectors/focus-visible-003.html.

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

--

wpt-commits: c7c5d9402225a17a0c13d58747d4d0088b299d46
wpt-pr: 26624
2020-12-04 10:46:04 +00:00
autofoolip 873fd02ea2 Bug 1680552 [wpt PR 26744] - Update interfaces/dom.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/dom.idl (#26744)

Source: https://github.com/w3c/webref/blob/c0276fa/ed/idl/dom.idl
Build: https://travis-ci.org/w3c/webref/builds/206383228
--

wpt-commits: 86cfde80305fbdba39c5a0b9b2a16c30e4b5e943
wpt-pr: 26744
2020-12-04 10:46:04 +00:00
autofoolip a25d456eb7 Bug 1680553 [wpt PR 26745] - Update interfaces/webrtc.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/webrtc.idl (#26745)

Source: https://github.com/w3c/webref/blob/c0276fa/ed/idl/webrtc.idl
Build: https://travis-ci.org/w3c/webref/builds/206383228
--

wpt-commits: 152d3f56a2dca1c0121dc2173eb0fa4b3ab7b8bd
wpt-pr: 26745
2020-12-04 10:46:03 +00:00
moz-wptsync-bot 05ee24f39f Bug 1680222 [wpt PR 26716] - Update wpt metadata, a=testonly
wpt-pr: 26716
wpt-type: metadata
2020-12-04 10:46:03 +00:00
Harald Alvestrand c50a934404 Bug 1680222 [wpt PR 26716] - Test closing multiple datachannels, a=testonly
Automatic update from web-platform-tests
Test closing multiple datachannels

Tests that when a PeerConnection closes, all open datachannels
get the error and close events.
(The bug was fixed earlier, but this adds a test for it)

Bug: webrtc:6881
Change-Id: I4734f3d29333dcad98c34cf5dbdc8d4b04a5f986
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2568278
Commit-Queue: Harald Alvestrand <hta@chromium.org>
Reviewed-by: Henrik Boström <hbos@chromium.org>
Cr-Commit-Position: refs/heads/master@{#833346}

--

wpt-commits: dc60fe2cbd1292bb2166feba1f24971969e26154
wpt-pr: 26716
2020-12-04 10:46:02 +00:00
James Graham 22c3dbf512 Bug 1680346 [wpt PR 26726] - Update vendored enum34 to 1.10, a=testonly
Automatic update from web-platform-tests
Update vendored enum34 to 1.10

--

wpt-commits: 8dce02d5eeabbb228dadb5c24bc27138c52a352c
wpt-pr: 26726
2020-12-04 10:46:02 +00:00
moz-wptsync-bot b73058b961 Bug 1680413 [wpt PR 26733] - Update wpt metadata, a=testonly
wpt-pr: 26733
wpt-type: metadata
2020-12-04 10:46:01 +00:00
Hiroshige Hayashizaki b07789d609 Bug 1680413 [wpt PR 26733] - [Import Maps] Sync tests in WPT and WICG repository (WPT side), a=testonly
Automatic update from web-platform-tests
[Import Maps] Sync tests in WPT and WICG repository (WPT side)

WPT side: https://github.com/web-platform-tests/wpt/pull/26733
WICG side: https://github.com/WICG/import-maps/pull/237

After these PRs, the data-driven JSON files are identical
in the WPT and WICG repositories.

This CL (WPT side) mostly imports changes from WICG repository.

-expected.txt are added because the spec-side updates
corresponding to the newly imported tests are not yet implemented
in Chromium, and will be removed in upcoming Chromium CLs:
https://chromium-review.googlesource.com/c/chromium/src/+/2491594/
https://chromium-review.googlesource.com/c/chromium/src/+/2570012/

Bug: 848607
Change-Id: Iad3e04a785474ad5844bfcd47dcc7c65691a9a35
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2570445
Commit-Queue: Hiroshige Hayashizaki <hiroshige@chromium.org>
Reviewed-by: Domenic Denicola <domenic@chromium.org>
Cr-Commit-Position: refs/heads/master@{#833316}

--

wpt-commits: 7c8ce54c416ec81e766661c10b8d352691291743
wpt-pr: 26733
2020-12-04 10:46:01 +00:00
Hiroshige Hayashizaki 43bd562241 Bug 1680415 [wpt PR 26734] - [Import Maps] Fix error reporting in test helper, a=testonly
Automatic update from web-platform-tests
[Import Maps] Fix error reporting in test helper

Just to plumb message correctly.

Bug: 848607
Change-Id: I753963ba5a25da085e60c7ac0bd2f8466aaa3aa9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2570020
Reviewed-by: Domenic Denicola <domenic@chromium.org>
Commit-Queue: Hiroshige Hayashizaki <hiroshige@chromium.org>
Cr-Commit-Position: refs/heads/master@{#833315}

--

wpt-commits: c65846a8d51fa3577b8910c84db1326f0c63083f
wpt-pr: 26734
2020-12-04 10:46:00 +00:00
moz-wptsync-bot 373efa4fea Bug 1678317 [wpt PR 26575] - Update wpt metadata, a=testonly
wpt-pr: 26575
wpt-type: metadata
2020-12-04 10:46:00 +00:00
Arthur Hemery 9ae1592fbf Bug 1678317 [wpt PR 26575] - [CORS-RFC1918] Adding WPT tests for fetch in insecure contexts., a=testonly
Automatic update from web-platform-tests
[CORS-RFC1918] Adding WPT tests for fetch in insecure contexts.

Adds tests verifying that fetch takes into account the CORS-RFC1918
restrictions regarding secure contexts.

These tests are ran with the CORS-RFC1918 flag as a virtual suite
because the flag currently breaks other non related tests due to
inheritance rules not being implemented.

Bug: 1138907
Change-Id: I0b5241c0ed13b4b6247310f19fdd0889351ee54b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2517593
Commit-Queue: Arthur Hemery <ahemery@chromium.org>
Reviewed-by: Titouan Rigoudy <titouan@chromium.org>
Reviewed-by: Arthur Sonzogni <arthursonzogni@chromium.org>
Cr-Commit-Position: refs/heads/master@{#833313}

--

wpt-commits: 9533c723edd37e31e092edcb6bbf29c636d2f087
wpt-pr: 26575
2020-12-04 10:45:59 +00:00
moz-wptsync-bot b0ab25a0f7 Bug 1676460 [wpt PR 26472] - Update wpt metadata, a=testonly
wpt-pr: 26472
wpt-type: metadata
2020-12-04 10:45:59 +00:00
Benjamin Gruenbaum 5004b5c087 Bug 1676460 [wpt PR 26472] - Test addEventListener abort signal, a=testonly
Automatic update from web-platform-tests
DOM: signal support for addEventListener()

Tests for https://github.com/whatwg/dom/pull/919.
--

wpt-commits: 625e1310ce19e9dde25b01f9eda0452c6ec274da
wpt-pr: 26472
2020-12-04 10:45:58 +00:00
moz-wptsync-bot 67c93632bb Bug 1676958 [wpt PR 26514] - Update wpt metadata, a=testonly
wpt-pr: 26514
wpt-type: metadata
2020-12-04 10:45:58 +00:00
Lan Wei f7c5dd48bb Bug 1676958 [wpt PR 26514] - Simulate user inputs in input-events/input-events-get-target-ranges.html, a=testonly
Automatic update from web-platform-tests
Simulate user inputs in input-events/input-events-get-target-ranges.html

Use testdriver Action API to simulate key actions in
input-events/input-events-get-target-ranges.html Added . We have to
disable it because we do not support key actions in gpuBenchmarking
when running the tests in our chromium bots.

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

--

wpt-commits: 4ac59dc8fb85817b4cf8fc801b524ed74743d2c1
wpt-pr: 26514
2020-12-04 10:45:58 +00:00
moz-wptsync-bot 2b3859404b Bug 1680350 [wpt PR 26727] - Update wpt metadata, a=testonly
wpt-pr: 26727
wpt-type: metadata
2020-12-04 10:45:57 +00:00
Olivier Yiptong 55c643d523 Bug 1680350 [wpt PR 26727] - FontAccess: Fail concurrent font chooser requests, a=testonly
Automatic update from web-platform-tests
FontAccess: Fail concurrent font chooser requests

This changes the behavior from concurrent font chooser requests all
returning the same data from a single chooser invocation to failing a
subsequent request.

As implemented, the User Activation check will consume the activation,
failing any other in-flight requests.

Fixed: 1149621
Change-Id: If14e7e12ff52967e8dc49c383a66da94995c9134
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2568931
Commit-Queue: Olivier Yiptong <oyiptong@chromium.org>
Auto-Submit: Olivier Yiptong <oyiptong@chromium.org>
Reviewed-by: Joshua Bell <jsbell@chromium.org>
Cr-Commit-Position: refs/heads/master@{#833129}

--

wpt-commits: 6053b17de25520801d0534efbf3f7d200104ece0
wpt-pr: 26727
2020-12-04 10:45:57 +00:00
moz-wptsync-bot e4f2b928b2 Bug 1680165 [wpt PR 26710] - Update wpt metadata, a=testonly
wpt-pr: 26710
wpt-type: metadata
2020-12-04 10:45:56 +00:00
David Van Cleve d36628450d Bug 1680165 [wpt PR 26710] - Make <meta name=referrer content=default> use the default referrer policy, a=testonly
Automatic update from web-platform-tests
Make <meta name=referrer content=default> use the default referrer policy

The HTML meta tag allows one to set a document's referrer policy by
providing values to
  <meta rel=referrer content={referrer policy here}>

In addition to all of the referrer policy identifiers (unsafe-url,
no-referrer-when-downgrade, etc), the HTML spec allows a few legacy
values for the "content" attribute:
  "never" is treated as if it instead read "no-referrer",
  "always" as "unsafe-url",
  "origin-when-crossorigin" as "origin-when-cross-origin", and
  "default" as "no-referrer-when-downgrade".

This CL incorporates a behavior change proposed in a new spec pull
request https://github.com/whatwg/html/pull/5783, which updates the
"default" meta tag keyword to, instead of being statically mapped to
no-referrer-when-downgrade", cross-reference the actual default policy
value.

It also adds test coverage for all of the legacy keywords by adding new
test cases to wpt/referrer-policy/spec.src.json; the referrer policy
WPTs didn't previously cover this behavior.

Additionally, the CL removes a few now-redundant Blink web tests
covering the behavior that WPTs now verify.

This change is web-visible, but I think it's arguably covered by the
recently shipped change updating the default referrer policy from its
previous value of no-referrer-when-downgrade to a new value of
strict-origin-when-cross-origin. [1] At the time the <meta> behavior was
originally written into the spec, there wasn't an explicit single source
of truth for the "default referrer policy" per se: instead, specs
(Fetch, HTML, and the WebAppSec Referrer Policy spec) individually
defined fallback behavior in "no policy specified" cases by referring
specifically to the "no-referrer-when-downgrade" policy value.

[1]: https://groups.google.com/a/chromium.org/g/blink-dev/c/lqFuqwZDDR8/m/nKPRTc7DAQAJ

Fixed: 1154350
Change-Id: Ifb3bf9aa9f773c64af1a6e79f39511cf1c1bd8fa
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2567977
Reviewed-by: Hiroshige Hayashizaki <hiroshige@chromium.org>
Reviewed-by: Jeremy Roman <jbroman@chromium.org>
Commit-Queue: David Van Cleve <davidvc@chromium.org>
Cr-Commit-Position: refs/heads/master@{#833114}

--

wpt-commits: 260262e3293459fed0f73c430100706abdc32a45
wpt-pr: 26710
2020-12-04 10:45:56 +00:00
Xianzhu Wang 19c1cc1a98 Bug 1680115 [wpt PR 26705] - Avoid problem of decomposited effect on SVG root, a=testonly
Automatic update from web-platform-tests
Avoid problem of decomposited effect on SVG root

This CL avoids the problem by

- Disabling compositing of SVG child for will-change:top etc. which
  don't apply.

- Including CompositingReason::kSVGRoot on the effect node (if exists)
  on SVG root to prevent the effect node from being decomposited during
  PaintArtifactCompositor::Update(), to ensure the composited layer for
  SVG root will create a render surface when needed. We still need to
  create a better solution for this (tracked by crbug.com/1154097).

Because CompositingReason::kSVGRoot is for pre-CompositeAfterPaint
CompositeSVG only to create a GraphicsLayer with
ShouldCreateLayersAfterPaint, this CL also disable the logic for
CompositeAfterPaint.

Bug: 1152691
Change-Id: Ic194501698c0afd5a058647344f812077ed07709

--

wpt-commits: 545c70be7ba0f19e557b529ebb8fdf6e56eeb3cd
wpt-pr: 26705
2020-12-04 10:45:55 +00:00
Nicolás Peña Moreno c198dade85 Bug 1679024 [wpt PR 26614] - [LongTasks] Truncate duration to 1 ms resolution, a=testonly
Automatic update from web-platform-tests
[LongTasks] Truncate duration to 1 ms resolution

Bug: 1146022
Change-Id: I71c726fdb85d432271220c66557a0fc64bdd341d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2552846
Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
Reviewed-by: Yoav Weiss <yoavweiss@chromium.org>
Cr-Commit-Position: refs/heads/master@{#832970}

--

wpt-commits: d1aaf685cfb02e0350701550afe4146d555f2461
wpt-pr: 26614
2020-12-04 10:45:55 +00:00
Philip Jägenstedt b1d6222c78 Bug 1680305 [wpt PR 26722] - [css-multicol] move tests from vendor-imports into the main suite, a=testonly
Automatic update from web-platform-tests
[css-multicol] move tests from vendor-imports into the main suite (#26722)

These tests pass everywhere, and have no tricky dependencies.

Part of https://github.com/web-platform-tests/wpt/issues/8615.
--

wpt-commits: 2b631b86937343a916fcd49eb11a518b2b064f85
wpt-pr: 26722
2020-12-04 10:45:54 +00:00
David Grogan 8306f2ab07 Bug 1680174 [wpt PR 26712] - [css-flex] Port some mozilla tests to check-layout, a=testonly
Automatic update from web-platform-tests
[css-flex] Port some mozilla tests to check-layout

These files, from
external/wpt/css/vendor-imports/mozilla/mozilla-central-reftests/flexbox/flexbox-align-content*
have ~70 test cases each. Chrome fails some of them but not others. With
check-layout we can use -expected.txt files to prevent regressions for
the cases that we pass.  With the current ref tests, we have to disable
an entire file if we fail even one case in it.

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

--

wpt-commits: 3b3569632df0fcfc2313d8618c99fd65cae848fa
wpt-pr: 26712
2020-12-04 10:45:54 +00:00
moz-wptsync-bot 8f28da0c4b Bug 1679328 [wpt PR 26651] - Update wpt metadata, a=testonly
wpt-pr: 26651
wpt-type: metadata
2020-12-04 10:45:53 +00:00
Ben Kelly a88f006ed7 Bug 1679328 [wpt PR 26651] - URLPattern: Add initial binding implementation., a=testonly
Automatic update from web-platform-tests
URLPattern: Add initial binding implementation.

This CL adds the initial binding for URLPattern and partially implements
the test() method.  It includes some WPT tests, but will need additional
tests.

Bug: 1141510
Change-Id: Id6a0482915f74a37504cf45102d89d14373f2489
Binary-Size: Size increase is due to this CL happening to be first to use a number of abseil library bits.
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2545862
Commit-Queue: Ben Kelly <wanderview@chromium.org>
Reviewed-by: Jeremy Roman <jbroman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#832852}

--

wpt-commits: a4ae4db28abbfb97f9f8df5eb0af75125cd3fdd2
wpt-pr: 26651
2020-12-04 10:45:53 +00:00
Domenic Denicola 33e4267476 Bug 1680078 [wpt PR 26701] - Test that beforeunload requires sticky activation, a=testonly
Automatic update from web-platform-tests
Test that beforeunload requires sticky activation

Follows https://github.com/whatwg/html/pull/6189.
--

wpt-commits: 0447694fc73cb35ab3eeeae26883997949b52b48
wpt-pr: 26701
2020-12-04 10:45:52 +00:00
Shu-yu Guo c98467e065 Bug 1669612 [wpt PR 26019] - [top-level await] Prohibit top-level await in service workers, a=testonly
Automatic update from web-platform-tests
[top-level await] Prohibit top-level await in service workers

This CL disallows top-level await for service workers by
terminating the worker.

The error that's thrown when Run Service Worker fails is changed
to a TypeError per the spec draft for top-level await integration [0].

Note that this also changes the sudden termination errors that were
previously AbortErrors to TypeErrors.

[0] https://github.com/w3c/ServiceWorker/pull/1444

Bug: 1129795
Bug: 1022182
Bug: v8:9344
Change-Id: Ia764ab553b88e52d48125f23632dc77f4c256009
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2454306
Commit-Queue: Shu-yu Guo <syg@chromium.org>
Reviewed-by: Dominic Farolino <dom@chromium.org>
Reviewed-by: Makoto Shimazu <shimazu@chromium.org>
Reviewed-by: Hiroshige Hayashizaki <hiroshige@chromium.org>
Cr-Commit-Position: refs/heads/master@{#832849}

--

wpt-commits: aa77795ebe17dc0d7c3259a3fe92023b9da62d3e
wpt-pr: 26019
2020-12-04 10:45:52 +00:00
Javier Fernández García-Boente 353b4b1339 Bug 1680143 [wpt PR 26709] - Adjust the part_start when the ShapeResultView is RTL, a=testonly
Automatic update from web-platform-tests
Adjust the part_start when the ShapeResultView is RTL

When creating a new ShapeResultView under RTL mode, the segments
process in the ShapeResultView::AddSegments are passed in reverse order.
This implies that the in case of multiple parts, the first RunInfoPart
may have an offset_ bigger than the start_index_.

When creating a new ShapeResultView instance from the one described
above as source, like we do in the NGLineBreaker::TruncateLineEndResult,
we will use the source's run that were placed in reverse order. We are
determining the part_start of this first RunInfoPart for the new result
based on the the start_index_ of the source's first run. We'll then
calculate the run_start based on this part_start value, subtracting
the above mentioned run's offset_.

However, as we stated before, in case of a source result under RTL
and multiple results, this offset_ value will be greater than the
start_index_, leading to a possible arithmetic overflow when
computing the run_start value.

Bug: 1152387
Change-Id: Ic69740497543b1d2d4dd8bf20d3f1b6c5de46bcc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2567215
Commit-Queue: Javier Fernandez <jfernandez@igalia.com>
Reviewed-by: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#832795}

--

wpt-commits: 13bade5077c754d3d42183606772a060f54cbe29
wpt-pr: 26709
2020-12-04 10:45:51 +00:00
Marijn Kruisselbrink a37fb5f5a7 Bug 1679322 [wpt PR 26649] - Keep ReadableStreamDefaultReader alive if it has pending requests., a=testonly
Automatic update from web-platform-tests
Keep ReadableStreamDefaultReader alive if it has pending requests.

If the only reference to a ReadableStreamDefaultReader is from
javascript code that is used as fulfillment handler for its "read"
promise the reader can get garbage collected, resulting in the promise
never resolving. This fixes that issue by making
ReadableStreamDefaultReader implement HasPendingActivity to return true
if there are any pending read promises.

Bug: 1092048
Change-Id: Iccf2d6db453c6a27c82542af7a1dc1a2d792c3ef
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2561043
Reviewed-by: Adam Rice <ricea@chromium.org>
Reviewed-by: Yutaka Hirano <yhirano@chromium.org>
Commit-Queue: Marijn Kruisselbrink <mek@chromium.org>
Cr-Commit-Position: refs/heads/master@{#832599}

--

wpt-commits: 2f95271debcba3e26e7294beeee4fa5a2ecfbfa0
wpt-pr: 26649
2020-12-04 10:45:51 +00:00
Lan Wei af80c1dce9 Bug 1680117 [wpt PR 26706] - Fix the failure of css-scroll-snap/snap-at-user-scroll-end-manual.html, a=testonly
Automatic update from web-platform-tests
Fix the failure of css-scroll-snap/snap-at-user-scroll-end-manual.html

The scroll-snap-type property should be set on <html> rather than
<body>, because scroll-snap-type should not be propagated from body
element to the viewport, we should use its value on html instead.

Bug: 984438
Change-Id: I9b42289cc217ae3d9b4aafc69171a16087a24de0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2568433
Reviewed-by: David Bokan <bokan@chromium.org>
Commit-Queue: Lan Wei <lanwei@chromium.org>
Cr-Commit-Position: refs/heads/master@{#832567}

--

wpt-commits: 44616b968cd348611b013e3d92ad135133623fce
wpt-pr: 26706
2020-12-04 10:45:50 +00:00
Stephen McGruer e3a8adafb1 Bug 1675513 [wpt PR 26415] - Add interfaces/performance-measure-memory.idl and test, a=testonly
Automatic update from web-platform-tests
Add interfaces/performance-measure-memory.idl and test (#26415)

Test is marked tentative to match the rest of the tests in the
directory.

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

wpt-commits: 2a864580217bbe93bf04a302be73c627436df8f3
wpt-pr: 26415
2020-12-04 10:45:50 +00:00
moz-wptsync-bot 02df3045ce Bug 1679920 [wpt PR 26686] - Update wpt metadata, a=testonly
wpt-pr: 26686
wpt-type: metadata
2020-12-04 10:45:49 +00:00
Xianzhu Wang 3b95af21af Bug 1679920 [wpt PR 26686] - Fix too small scale during animation without scale but with ancestor scale, a=testonly
Automatic update from web-platform-tests
Fix too small scale during animation without scale but with ancestor scale

Previously during a translation animation, as the animation didn't have
scale, we would fallback to use the native scale. In cases that the
animating element had a big accumulated scale from ancestors, the scale
would be too small compared to the ideal scale.

Another failure case was that when a big animation scale would cause the
rasterized layer to be larger than the viewport, we would also fallback
to use the native scale, which might be also too small if the layer had
a big accumulated scale from ancestors.

Now don't adjust scale for transform animation if the animation doesn't
animate scale. And don't fallback to native scale when the scale is too
big, but calculate a scale that just makes the rasterized layer not
larger than the viewport.

Bug: 1153428
Change-Id: I4a4f3133b01099752629f6710c8375a7b715ab0b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2566053
Reviewed-by: vmpstr <vmpstr@chromium.org>
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#832491}

--

wpt-commits: 8a5a3c901357b86c49ac39a7f856311c0b71df39
wpt-pr: 26686
2020-12-04 10:45:49 +00:00
Robert Ma e0eb913cb6 Bug 1679926 [wpt PR 26687] - [wptrunner/Chromium] Split out test messages into stderr, a=testonly
Automatic update from web-platform-tests
[wptrunner/Chromium] Split out test messages into stderr

This only affects the Chromium log formatter of wptrunner.

We want to produce a valid metadata and full logs separately, the former
as the "-expected.txt" artifact and the latter as "-stderr.txt".

Bug: 1154085
Cq-Include-Trybots: luci.chromium.try​:linux-wpt-identity-fyi-rel,linux-wpt-input-fyi-rel
Change-Id: I059e05005d2b5f72708c783c5c81deaa86f8b417
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2567094
Commit-Queue: Robert Ma <robertma@chromium.org>
Reviewed-by: Luke Z <lpz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#832486}

--

wpt-commits: 17af9e57e8b6fadafede239a1ac04bd86890167e
wpt-pr: 26687
2020-12-04 10:45:49 +00:00
Fredrik Söderqvist 036d79c385 Bug 1680005 [wpt PR 26695] - Fix SVG filter data invalidation for empty containers, a=testonly
Automatic update from web-platform-tests
Fix SVG filter data invalidation for empty containers

Empty containers will fail to create FilterData because they have an
empty bounding box. When children were added to the container, making
the bounding box non-empty we would fail to mark the paint properties as
needing update because of the check for existing FilterData in
SVGElementResourceClient::InvalidateFilterData().

Instead always dispose of the filter data and mark paint properties for
update, and use the |filter_data_dirty_| flag as an early-out check.

Since we can now call InvalidateFilterData() directly in
SVGElementResourceClient::ResourceElementChanged(), fold
ClearFilterData() into InvalidateFilterData().

Bug: 1154050
Change-Id: I01c8ebac4f62532e2c17aabc3d998d7601dbb71b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2566992
Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org>
Commit-Queue: Fredrik Söderquist <fs@opera.com>
Cr-Commit-Position: refs/heads/master@{#832391}

--

wpt-commits: d2137c1a81095c78c1c227b379b6690af33c1240
wpt-pr: 26695
2020-12-04 10:45:48 +00:00
moz-wptsync-bot ccd17f3ffb Bug 1679980 [wpt PR 26691] - Update wpt metadata, a=testonly
wpt-pr: 26691
wpt-type: metadata
2020-12-04 10:45:48 +00:00