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

25683 Коммитов

Автор SHA1 Сообщение Дата
Cosmin Sabou cf533b3575 Backed out changeset 5a3189a82913 (bug 1654331) for wpt failures on SVGGeometryElement.getPointAtLength-03.svg. 2020-08-10 02:40:26 +03:00
Emilio Cobos Álvarez a732be1dd6 Bug 1658140 - Fix percentage background-size on the root when out-of-flow. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D86482
2020-08-09 22:25:29 +00:00
longsonr e2d27d8052 Bug 1654331 - throw InvalidStateError when getPointAtLength can't get the path for measuring r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D86461
2020-08-09 20:34:04 +00:00
Emilio Cobos Álvarez e07d5eb564 Bug 1657437 - Don't treat lone CRs as segment breaks. r=jfkthame
That prevents preceding whitespace from getting collapsed.

When there's a single lone CR (so `a\rb`) our behavior here diverges
from Chrome's but matches Safari's. We treat it as ZWSP.

That matches the initial resolution of [1], but then there have been
various doing and undoings of that resolution, so it's not totally clear
to me what the correct behavior per spec should be. I think "treat it as
other control character"? But I haven't dug into what that implies, so
for now I've just kept behavior there as-is.

[1]: https://github.com/w3c/csswg-drafts/issues/855

Differential Revision: https://phabricator.services.mozilla.com/D86188
2020-08-08 16:21:35 +00:00
Ting-Yu Lin 40c1643e91 Bug 1559961 Part 4 - Reflow lines with pushed floats under constrained available block-size or in paginated context. r=dholbert
When a clearance frame is discovered in a BFC
subtree (`ReflowInput::WillReflowAgainForClearance()` is true), all the
block descendants of the BFC return from `ReflowBlockFrame` immediately
without placing their children or requesting continuation for their
children, etc., because the BFC is going to reflow the subtree a
second time.

When this happens, any block descendant whose lines contain pushed
floats should be marked dirty and reflowed again so that they can go
through all the split floats logic and set their nsReflowStatus to
incomplete/overflow-incomplete correctly. (We may develop a smarter way
in bug 851629 to make the performance better.)

The condition `aState.mPresContext->IsPaginated()` is added to prevent
1406291-1.html from failing. In 1406291-1.html, the table containing the
float in its subtree is being pushed to the second page due to force
break, and the float is in PushedFloatsList of its parent block. When we
reflow the block again (in the second page), it is reflowed under the
measuring stage of the table layout with unconstrained available
block-size. nsBlockFrame::DrainSelfPushedFloats() deliberately doesn't
drain pushed floats if their placehoder are in the same block, and
expect the floats to be reflowed again. Before this patch, the line can
be marked dirty via HasPushedFloats(), but in this patch,
HasPushedFloats() is moved into the nested if-else, so we need
`aState.mPresContext->IsPaginated()` to let the block know that it's in
a paginated context, and needs to reflow any line that contains pushed
floats.

Differential Revision: https://phabricator.services.mozilla.com/D85480
2020-08-08 01:13:15 +00:00
Ting-Yu Lin c1ac1fc784 Bug 1559961 Part 2 - Consider a line's scrollable overflow when marking a line dirty. r=dholbert
Before this patch, a block frame considers a line dirty only if the line's
block-end is larger than content area's block-end.

However, scrollable overflow area should be broken in paginated environment
(both in a column container and in printing). We should take this into account
when marking a line dirty.

The dynamic wpt reftests are written with the following conditions in mind to
expose the bug:

1. Initially, all the elements fit into the first column.

2. After shrinking the multicol height, the block itself still fits into
the first column, but its tall child (either a simple tall block or a
tall float), which overflows the smaller multicol height, needs to be
broken.

The flexbox printing reftest are similar. A flex container uses
unconstrained available block-size to measure flex items' block-size,
and then performs a final reflow with constrained available block-size,
which is similar to the dynamic scenario above. One caveat is that flex
items usually have IsBResize() set. So to expose this bug, a float
element needs to be deeply nested under a flex item.

Differential Revision: https://phabricator.services.mozilla.com/D85479
2020-08-07 22:16:21 +00:00
Butkovits Atila 96bdaf721d Backed out 110 changesets (bug 1657204, bug 1657076, bug 1656367, bug 1656604, bug 1656607, bug 1657227, bug 1654857, bug 1657165, bug 1657637, bug 1652468, bug 1657327, bug 1655297, bug 1655071, bug 1657688, bug 1657046, bug 1657407, bug 1656841, bug 1645251, bug 1655938, bug 1656160, bug 1656757, bug 1657373, bug 1657089, bug 1655122, bug 1656555, bug 1655413, bug 1655186, bug 1655184, bug 1656692, bug 1656354, bug 1657904, bug 1657297, bug 1628563, bug 1657700, bug 1656911, bug 1657014, bug 1656645, bug 1656488, bug 1656856, bug 1656054, bug 1656629, bug 1656627, bug 1657453, bug 1656258, bug 1656259, bug 1657184, bug 1656985, bug 1657226, bug 1656299, bug 1655724, bug 1655193, bug 1649821, bug 1655012, bug 1656434, bug 1657783, bug 1656824, bug 1657085, bug 1656828, bug 1656989, bug 1656656, bug 1652407, bug 1657154, bug 1657152, bug 1656103, bug 1656373, bug 1656635, bug 1657110, bug 1655834, bug 1657002, bug 1657195, bug 1656338, bug 1657640, bug 1656091, bug 1656872, bug 1657397, bug 1657487, bug 1656183, bug 1655368, bug 1656700, bug 1656457, bug 1647490, bug 1656836, bug 1636934, bug 1656586, bug 1656833, bug 1656585) for breaking SM builds. CLOSED TREE
Backed out changeset 9584ddf5d03a (bug 1657904)
Backed out changeset 56c33dd1f130 (bug 1656160)
Backed out changeset 5482dc7e339d (bug 1657640)
Backed out changeset 0d3ef7c98861 (bug 1657783)
Backed out changeset 3e1d54561c83 (bug 1657688)
Backed out changeset dc0791f63903 (bug 1657700)
Backed out changeset e87f29fb3e31 (bug 1657700)
Backed out changeset 239821d9b41e (bug 1657407)
Backed out changeset 37b74ab419d0 (bug 1657637)
Backed out changeset 653fac75a426 (bug 1656586)
Backed out changeset fcbca22e2212 (bug 1656586)
Backed out changeset 4d2ec067e793 (bug 1656585)
Backed out changeset 6b394e4ebfb9 (bug 1656585)
Backed out changeset aa0aa516e195 (bug 1657226)
Backed out changeset 146aac1cc37c (bug 1656985)
Backed out changeset 5d44b61420b2 (bug 1657154)
Backed out changeset 03572be85326 (bug 1657154)
Backed out changeset f52ec23769f8 (bug 1657327)
Backed out changeset d3beaaadef4f (bug 1657327)
Backed out changeset e3a9a780a957 (bug 1657487)
Backed out changeset e5d763b9dec9 (bug 1656824)
Backed out changeset bd5073b4ec7a (bug 1656367)
Backed out changeset 9587ed470d57 (bug 1656367)
Backed out changeset 590e6bc97ce1 (bug 1657297)
Backed out changeset 188b7425b7c4 (bug 1657453)
Backed out changeset 488ad39001c0 (bug 1645251)
Backed out changeset d835b5e68f71 (bug 1645251)
Backed out changeset 2461fdc6c338 (bug 1657152)
Backed out changeset a1514a9fedd1 (bug 1657397)
Backed out changeset 5e961d387725 (bug 1649821)
Backed out changeset 383143e1dcee (bug 1649821)
Backed out changeset 060e32270673 (bug 1657373)
Backed out changeset d9cec0d65dbc (bug 1657373)
Backed out changeset 67aa95f780ef (bug 1657227)
Backed out changeset 969bc870515b (bug 1656555)
Backed out changeset 3871538a36e7 (bug 1657110)
Backed out changeset bb2a7affbb57 (bug 1655724)
Backed out changeset 76683a07c341 (bug 1656757)
Backed out changeset e1cdee4114f6 (bug 1656911)
Backed out changeset aa33b31e0990 (bug 1656911)
Backed out changeset 1272319958c3 (bug 1657204)
Backed out changeset 0f2204acb9ca (bug 1657204)
Backed out changeset aefc0ef91783 (bug 1657184)
Backed out changeset fd658619039a (bug 1655184)
Backed out changeset f39400495c95 (bug 1657195)
Backed out changeset bfd514221a79 (bug 1657165)
Backed out changeset 12cc01064c88 (bug 1655122)
Backed out changeset 660d9bbaf778 (bug 1657046)
Backed out changeset e8c9be6a1132 (bug 1657089)
Backed out changeset e268df4d9369 (bug 1628563)
Backed out changeset fddd0abc364b (bug 1657085)
Backed out changeset d1febd8980a9 (bug 1657076)
Backed out changeset 0fc4ea2bb5e1 (bug 1636934)
Backed out changeset 83c36d8c5521 (bug 1656488)
Backed out changeset 617d135e81af (bug 1656833)
Backed out changeset 324855bb41cc (bug 1655186)
Backed out changeset 557c6c8e9d35 (bug 1655186)
Backed out changeset 2e0adc0bf64d (bug 1652407)
Backed out changeset e48e8dee5d34 (bug 1647490)
Backed out changeset c428b2cbced8 (bug 1647490)
Backed out changeset ac760ba3994e (bug 1657014)
Backed out changeset 1d33e33cf635 (bug 1656629)
Backed out changeset 74005d1f3838 (bug 1656629)
Backed out changeset 21678c2b8e30 (bug 1657002)
Backed out changeset 4cba4c790c9f (bug 1656989)
Backed out changeset deef90329f3a (bug 1655834)
Backed out changeset ae2434a38369 (bug 1655834)
Backed out changeset a0672464c742 (bug 1655071)
Backed out changeset 97bc14daef9e (bug 1656700)
Backed out changeset 3d3903217e62 (bug 1656635)
Backed out changeset 326cd6196e29 (bug 1656635)
Backed out changeset 76e363f02fa4 (bug 1656841)
Backed out changeset 595ac3d91a42 (bug 1656856)
Backed out changeset 143d91401338 (bug 1656856)
Backed out changeset 168246651497 (bug 1656836)
Backed out changeset 2bcb6945a430 (bug 1656836)
Backed out changeset 56564edb3041 (bug 1655297)
Backed out changeset 5b700a58216b (bug 1655297)
Backed out changeset 6f15787395de (bug 1656103)
Backed out changeset d5f888f3ec84 (bug 1656457)
Backed out changeset 075fff035144 (bug 1656457)
Backed out changeset e4712c11e98c (bug 1656828)
Backed out changeset da7ac65067d6 (bug 1655938)
Backed out changeset a058f157bce4 (bug 1656872)
Backed out changeset 45c3f9ccf258 (bug 1656354)
Backed out changeset 783aac94d5c8 (bug 1656692)
Backed out changeset 4bfc24ee0055 (bug 1656656)
Backed out changeset b4cc4c718649 (bug 1656645)
Backed out changeset c7cf2b2b4590 (bug 1655368)
Backed out changeset 613c0c5a1fdc (bug 1656627)
Backed out changeset 6c1a6a0a8f4e (bug 1656627)
Backed out changeset 03007a67e7fe (bug 1656607)
Backed out changeset de8f85309788 (bug 1656607)
Backed out changeset 17708ecd8c57 (bug 1656604)
Backed out changeset 04d389e85184 (bug 1656434)
Backed out changeset c698da2dea06 (bug 1656434)
Backed out changeset 04f08e699166 (bug 1655193)
Backed out changeset b17284e3037e (bug 1656299)
Backed out changeset ed620290402f (bug 1656373)
Backed out changeset e09d093d42d5 (bug 1656373)
Backed out changeset 71bb89ec1034 (bug 1656338)
Backed out changeset 24853307932b (bug 1656091)
Backed out changeset f7db82e7c84b (bug 1654857)
Backed out changeset 79d8e2813db2 (bug 1656258)
Backed out changeset 9f5a148aa434 (bug 1656259)
Backed out changeset 0f5e2940cdea (bug 1655413)
Backed out changeset ca200273251f (bug 1656054)
Backed out changeset b80bff420ad9 (bug 1652468)
Backed out changeset 385b0823d131 (bug 1655012)
Backed out changeset dd3ec6f5a646 (bug 1656183)
2020-08-08 03:51:14 +03:00
moz-wptsync-bot dd02727942 Bug 1657904 - [wpt-sync] Update web-platform-tests to 059a8ae79c2c44ef2eda3ccb412b0773e99c26b6, a=testonly
MANUAL PUSH: wpt sync bot

wpt-head: 059a8ae79c2c44ef2eda3ccb412b0773e99c26b6
wpt-type: landing
2020-08-07 23:26:30 +00:00
Blink WPT Bot 197c474795 Bug 1656160 [wpt PR 24810] - [WPT] Errors caught/reported for importScripts(), a=testonly
Automatic update from web-platform-tests
[WPT] Errors caught/reported for importScripts() (#24810)

This CL adds WPTs for exceptions in importScripts() captured by

- WorkerGlobalScope error event handler or
- try/catch.

Some of the tests are migrated from non-WPT web_tests.

The tests are failing on Chromium right now, and will pass
after
https://chromium-review.googlesource.com/c/chromium/src/+/2328394/.

Bug: 1111134, 1111750, 795636
Change-Id: Ie19085171261d4baf307b6544ff6a8da1a8e9041
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2327787
Commit-Queue: Hiroshige Hayashizaki <hiroshige@chromium.org>
Reviewed-by: Kenichi Ishibashi <bashi@chromium.org>
Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org>
Reviewed-by: Domenic Denicola <domenic@chromium.org>
Reviewed-by: Dominic Farolino <dom@chromium.org>
Cr-Commit-Position: refs/heads/master@{#794474}

Co-authored-by: Hiroshige Hayashizaki <hiroshige@chromium.org>
--

wpt-commits: 059a8ae79c2c44ef2eda3ccb412b0773e99c26b6
wpt-pr: 24810
2020-08-07 23:26:30 +00:00
arthursonzogni 69fd0b52c4 Bug 1657640 [wpt PR 24905] - [TrustedTypes] WPT test > check violation's sourceFile., a=testonly
Automatic update from web-platform-tests
[TrustedTypes] WPT test > check violation's sourceFile.

Check what is the reported sourceFile depending on the script's origin.
Currently, the full URL isn't exposed in the case of a cross-origin
script. This is an issue. See https://crbug.com/1113163

TODO: Add checks with redirects.

Bug: 1113163
Change-Id: I8bbd1234a485568127a21c6abfbd4d4a623494f2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2341125
Commit-Queue: Arthur Sonzogni <arthursonzogni@chromium.org>
Reviewed-by: Daniel Vogelheim <vogelheim@chromium.org>
Cr-Commit-Position: refs/heads/master@{#795841}

--

wpt-commits: af3059a547d3843001ed2aa7537418f1c9850c92
wpt-pr: 24905
2020-08-07 23:26:29 +00:00
Vladimir Levin 0e0b79d403 Bug 1657783 [wpt PR 24909] - content-visibility: Add a (failing) test for composited descendant bug., a=testonly
Automatic update from web-platform-tests
content-visibility: Add a (failing) test for composited descendant bug.

This patch lands a test and marks it as failing. Since the solution
to this bug doesn't seem obvious yet (see the referenced bug), we
should land the test so any of the potential fixes can be verified on
the bots.

R=chrishtr@chromium.org, wangxianzhu@chromium.org

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

--

wpt-commits: 688aeffbd02c1e05a159c64938ad9b43e3d8ec6e
wpt-pr: 24909
2020-08-07 23:26:29 +00:00
David Grogan 19e0f1eb29 Bug 1657688 [wpt PR 24906] - [css-flex] Update test to wait for image load before checking sizes, a=testonly
Automatic update from web-platform-tests
[css-flex] Update test to wait for image load before checking sizes

This test flaked on me locally with:
height expected 100 but got 0

Which is consistent with calling checkLayout before the image has
loaded, but not a guarantee that's what's happening. I haven't been able
to reproduce it.

In any case, this change can't hurt.

Change-Id: I1bf8ccb935845c6e5e4529694c2d77e3f4a529a3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2340735
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Commit-Queue: David Grogan <dgrogan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#795652}

--

wpt-commits: 4afc499e300020a425144d8a6034abc75efa1e17
wpt-pr: 24906
2020-08-07 23:26:28 +00:00
moz-wptsync-bot 65ad8b3112 Bug 1657700 [wpt PR 24907] - Update wpt metadata, a=testonly
wpt-pr: 24907
wpt-type: metadata
2020-08-07 23:26:28 +00:00
Morten Stenshorne 63f5f31bc4 Bug 1657700 [wpt PR 24907] - Update tests for forced breaks at fragmentainer start., a=testonly
Automatic update from web-platform-tests
Update tests for forced breaks at fragmentainer start.

If there's a forced break, and it's at a valid class A breakpoint, we
may break there. There's nothing in the spec suggesting otherwise.

This is working correctly in the LayoutNG fragmentation engine, but not
in the legacy engine (where we require some non-zero block-size content
to allow forced breaks). Remove invalid tests, and add a couple of valid
ones.

Bug: 1100849
Change-Id: I1829a00a4e9761906ebe4536ded9c994f4737e69
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2339663
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Reviewed-by: Alison Maher <almaher@microsoft.com>
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/master@{#795604}

--

wpt-commits: c7c27f9106d063ad4764aacdef5cb472c4be676e
wpt-pr: 24907
2020-08-07 23:26:27 +00:00
Hyunjune 40343d4c30 Bug 1657407 [wpt PR 24893] - [Fixup] discord web app doesn't work because of getPointAtLength, a=testonly
Automatic update from web-platform-tests
[Fixup] discord web app doesn't work because of getPointAtLength

Remove |EnsureComputedStyle| on SVGPathElement::getPointAtLength.
Although <path> is in an inactive document, <path> element can compute
the total length of path. Because the equivalent path of a ‘path’
element is simply the path itself.

Bug: 972979, 1108966
Change-Id: I5194352c1d4452dacc721f3ae223019998859d13
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2339714
Commit-Queue: Stephen Chenney <schenney@chromium.org>
Reviewed-by: Stephen Chenney <schenney@chromium.org>
Cr-Commit-Position: refs/heads/master@{#795584}

--

wpt-commits: dd51bfa9ef3b7d7494c1c492707b11fece103c14
wpt-pr: 24893
2020-08-07 23:26:27 +00:00
Robert Ma 37230bb291 Bug 1657637 [wpt PR 24904] - [taskcluster] Schedule Chrome Nightly epochs/daily, a=testonly
Automatic update from web-platform-tests
[taskcluster] Schedule Chrome Nightly epochs/daily

as well as triggers/chrome_nightly

The task will install Chromium ToT automatically.

--

wpt-commits: ee8019795741475935690c58b6e24a10a918ba55
wpt-pr: 24904
2020-08-07 23:26:26 +00:00
moz-wptsync-bot 8d7cb1c3e8 Bug 1656586 [wpt PR 24835] - Update wpt metadata, a=testonly
wpt-pr: 24835
wpt-type: metadata
2020-08-07 23:26:26 +00:00
Liviu Tinta 5e30f258d1 Bug 1656586 [wpt PR 24835] - Fix failing test pointerevent_mouse-on-object, a=testonly
Automatic update from web-platform-tests
Fix failing test pointerevent_mouse-on-object

action.pointerMove requires integers as arguments.

Change-Id: I6abacedba07090038aff38e9788eec5b0445d4f9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2332330
Commit-Queue: Liviu Tinta <liviutinta@chromium.org>
Reviewed-by: Lan Wei <lanwei@chromium.org>
Cr-Commit-Position: refs/heads/master@{#795467}

--

wpt-commits: efba7caf3130067e77fc08b75fee45fe953ad79d
wpt-pr: 24835
2020-08-07 23:26:25 +00:00
moz-wptsync-bot 33df7e70eb Bug 1656585 [wpt PR 24834] - Update wpt metadata, a=testonly
wpt-pr: 24834
wpt-type: metadata
2020-08-07 23:26:25 +00:00
Liviu Tinta 175a56b3fa Bug 1656585 [wpt PR 24834] - Fix failing test pointerevent_compat-mouse-events-when-removing-nodes, a=testonly
Automatic update from web-platform-tests
Fix failing test pointerevent_compat-mouse-events-when-removing-nodes

action.pointerMove requires integers as arguments.

Change-Id: I3efad46da26fee54ab875e8d88b72a73c91c44c3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2332303
Commit-Queue: Liviu Tinta <liviutinta@chromium.org>
Reviewed-by: Lan Wei <lanwei@chromium.org>
Cr-Commit-Position: refs/heads/master@{#795471}

--

wpt-commits: 5574dda72bad8c20f1859ccdec8a01f025b18ac5
wpt-pr: 24834
2020-08-07 23:26:25 +00:00
David Grogan 9b8fd0a2ca Bug 1657226 [wpt PR 24881] - [css-flex] Add regression test for abspos bug fixed in FlexNG, a=testonly
Automatic update from web-platform-tests
[css-flex] Add regression test for abspos bug fixed in FlexNG

The test is minimally altered from the repro in the bug. It fails when I
disable FlexNG, but passes in Chrome 84 and Firefox.

Fixed: 886592
Change-Id: Ieb7be3619c0095c185b405703c384864d9046cd5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2337416
Commit-Queue: David Grogan <dgrogan@chromium.org>
Auto-Submit: David Grogan <dgrogan@chromium.org>
Reviewed-by: Christian Biesinger <cbiesinger@chromium.org>
Cr-Commit-Position: refs/heads/master@{#795264}

--

wpt-commits: fa1a6d1c3cc2665385a9a5bd84e2dd0352e82868
wpt-pr: 24881
2020-08-07 23:26:24 +00:00
Blink WPT Bot e9db427437 Bug 1656985 [wpt PR 24860] - Origin isolation: add WPTs for contentDocument/frameElement, a=testonly
Automatic update from web-platform-tests
Origin isolation: add WPTs for contentDocument/frameElement (#24860)

This finishes testing all the ways in which document.domain can affect
cross-window access.

Bug: 1042415
Change-Id: Id56aad05178333c480f0682fc00bddc28829769d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2335636
Reviewed-by: Alex Moshchuk <alexmos@chromium.org>
Commit-Queue: Domenic Denicola <domenic@chromium.org>
Cr-Commit-Position: refs/heads/master@{#794674}

Co-authored-by: Domenic Denicola <domenic@chromium.org>
--

wpt-commits: 01fe5cfbeac8f17ee6e31c94e9f810a6bd25b62d
wpt-pr: 24860
2020-08-07 23:26:24 +00:00
moz-wptsync-bot 1ebdd64658 Bug 1657154 [wpt PR 24874] - Update wpt metadata, a=testonly
wpt-pr: 24874
wpt-type: metadata
2020-08-07 23:26:23 +00:00
Ziran Sun 981554e4b8 Bug 1657154 [wpt PR 24874] - Python 3: Use OrderedDict type to generate same test names, a=testonly
Automatic update from web-platform-tests
Python 3: Use OrderedDict type to generate same test names

In Python 2, dict is organized via a hash-table and puts the keys
into buckets according to their hash() value.
in Python 3.6+, dict retains insertion order
This patch uses OrderedDict type instead the original Dict to make
sure the same test names generated for both PY2 and PY3

--

wpt-commits: 497a4d7b57486a9e973aff814d9c1d46936ee6f9
wpt-pr: 24874
2020-08-07 23:26:23 +00:00
moz-wptsync-bot 861c882896 Bug 1657327 [wpt PR 24885] - Update wpt metadata, a=testonly
wpt-pr: 24885
wpt-type: metadata
2020-08-07 23:26:22 +00:00
Pâris MEULEMAN caa2494e69 Bug 1657327 [wpt PR 24885] - [COOP] Add same-origin test for redirect+SOAP, a=testonly
Automatic update from web-platform-tests
[COOP] Add same-origin test for redirect+SOAP

Follow up on [1] adding the same-origin version of the test. I.e. the
first document of the popup is same-origin instead of cross-origin.

1: https://chromium-review.googlesource.com/c/chromium/src/+/2332260

Change-Id: I30a187b2c6a943abe44c5e3cff4e95ea36f5fccd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2338874
Commit-Queue: Pâris Meuleman <pmeuleman@chromium.org>
Auto-Submit: Pâris Meuleman <pmeuleman@chromium.org>
Reviewed-by: Arthur Sonzogni <arthursonzogni@chromium.org>
Reviewed-by: Camille Lamy <clamy@chromium.org>
Cr-Commit-Position: refs/heads/master@{#795414}

--

wpt-commits: 14e519e8b7f4f2ea47961391ac9783831e940159
wpt-pr: 24885
2020-08-07 23:26:22 +00:00
Morten Stenshorne d1af0eaa90 Bug 1657487 [wpt PR 24900] - spanner-img.html no longer flaky with LayoutNG block fragmentation., a=testonly
Automatic update from web-platform-tests
spanner-img.html no longer flaky with LayoutNG block fragmentation.

Not sure what (or who) fixed it, but it's no longer flaky. Adding a
simplified and non-flaky test that also passes now.

Bug: 1066640
Change-Id: Ia82810e240eab6f3ee955afe89ebeeffebf808d2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2339521
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Reviewed-by: Koji Ishii <kojii@chromium.org>
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/master@{#795379}

--

wpt-commits: e838865dab9dadbbdacde48dce928be12c5b9ff3
wpt-pr: 24900
2020-08-07 23:26:21 +00:00
Hiroshige Hayashizaki d155224303 Bug 1656824 [wpt PR 24849] - [WPT] Add more tests for exceptions in WorkerGlobalScope.onerror, a=testonly
Automatic update from web-platform-tests
[WPT] Add more tests for exceptions in WorkerGlobalScope.onerror

Failing on Chromium and passing on Firefox and Safari.

third_party/blink/web_tests/fast/workers/worker-onerror-04.html
is removed because now it's covered by the WPT.

Bug: 1112228
Change-Id: If407eb1c96b29357bbc0468e1a6abb30d2891447
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2331794
Commit-Queue: Hiroshige Hayashizaki <hiroshige@chromium.org>
Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org>
Cr-Commit-Position: refs/heads/master@{#795348}

--

wpt-commits: 5fe9625d7445a6b88640f830d90dd5489c4bda05
wpt-pr: 24849
2020-08-07 23:26:21 +00:00
moz-wptsync-bot 3017357027 Bug 1656367 [wpt PR 24820] - Update wpt metadata, a=testonly
wpt-pr: 24820
wpt-type: metadata
2020-08-07 23:26:20 +00:00
Liviu Tinta 794bd11f8e Bug 1656367 [wpt PR 24820] - Reland "Move mouse-pointer-preventdefault.html to wpt", a=testonly
Automatic update from web-platform-tests
Reland "Move mouse-pointer-preventdefault.html to wpt"

This is a reland of fc4093a6759e1de36e905b6b12774f3a18d682de

My assumption is that the test failed on the bots because the code tried
to serialize async_tests. I rewrote this wpt using promise_test instead.

Original change's description:
> Move mouse-pointer-preventdefault.html to wpt
>
> Move mouse pointerevents compat events to wpt
>
> Change-Id: I9581dde4d6016a3eb81ea16674c439e63897523c
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2199985
> Commit-Queue: Liviu Tinta <liviutinta@chromium.org>
> Reviewed-by: Navid Zolghadr <nzolghadr@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#771159}

Change-Id: I3ec09bd5d180ae0c52c7a02bb3f3191cacf9b0d7
Bug: 1085549,1085647
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2330316
Reviewed-by: Lan Wei <lanwei@chromium.org>
Commit-Queue: Liviu Tinta <liviutinta@chromium.org>
Cr-Commit-Position: refs/heads/master@{#795313}

--

wpt-commits: bf56253e0ac649bd691e58a47d874a2070005a71
wpt-pr: 24820
2020-08-07 23:26:20 +00:00
Kent Tamura efcb70757a Bug 1657297 [wpt PR 24884] - Fieldset NG: Support dynamic changes of properties copied to anonymous fieldset content box, a=testonly
Automatic update from web-platform-tests
Fieldset NG: Support dynamic changes of properties copied to anonymous
fieldset content box

LayoutNGFieldset should adopt LayoutObject::UpdateAnonymousChildStyle()
to update properties correctly. Also, we need to add kFlowRoot support
to LayoutBlock::CreateAnonymousWithParentAndDisplay().

Bug: 875235
Change-Id: I8601f1c576c8ee818e69d43dc299026a03879ad5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2336565
Commit-Queue: Kent Tamura <tkent@chromium.org>
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/master@{#795306}

--

wpt-commits: 08165ecc38c677ee288189cf2dd8689dfaea2a9f
wpt-pr: 24884
2020-08-07 23:26:19 +00:00
Xianzhu Wang 92f73f5572 Bug 1657453 [wpt PR 24898] - Reland again "Use border box or layout overflow rect for layout shift tracking", a=testonly
Automatic update from web-platform-tests
Reland again "Use border box or layout overflow rect for layout shift tracking"

Original patch: crrev.com/c/2319538
First reland: crrev.com/c/2333648

Changes in this patch (https://chromium-review.googlesource.com/c/chromium/src/+/2336301/1..10)
1. Fixed use-after-free of ContainingBlockScope. Similar to the first
   revert, the issue was because it was allocated in
   PaintInvalidatorContext which is in a vector replacing the real stack.
   ContainingBlockScope::outer_ might point to an invalid address if the
   vector was reallocated. Now use std::unique_ptr<ContainingBlockScope>
   in PaintInvalidatorContext. This increases the cost a bit but not much
   because ContainingBlockScope is created for LayoutBlockFlow with
   inline children only.
2. Rebased on crrev.com/c/2335647 which avoids memory regression caused
   by the original CL, and enables LayoutShiftTracker to use more
   accurate previous rects for shifted boxes.
3. Simplify LayoutShiftTracker::ReattachHook[::Scope].

Bug: 1108622
Change-Id: I7b4a85675483f7006ade8925c159a7882f08ec27
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2336301
Reviewed-by: Steve Kobes <skobes@chromium.org>
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#795179}

--

wpt-commits: 70f8d7999f7af89efa26bd96567dbb7417aec4c5
wpt-pr: 24898
2020-08-07 23:26:19 +00:00
moz-wptsync-bot d0be660768 Bug 1645251 [wpt PR 24124] - Update wpt metadata, a=testonly
wpt-pr: 24124
wpt-type: metadata
2020-08-07 23:26:18 +00:00
Mattias Buelens 0b6363de7c Bug 1645251 [wpt PR 24124] - Add test for canceling one branch when stream closes or errors, a=testonly
Automatic update from web-platform-tests
Test canceling one branch when stream closes or errors

Follows https://github.com/whatwg/streams/pull/1039.
--

wpt-commits: e5e5e7a10cbb968b31c51ad87ce8a3da62bb1b34
wpt-pr: 24124
2020-08-07 23:26:18 +00:00
Jihwan Marc Kim 911b2e83d6 Bug 1657152 [wpt PR 24873] - stopImmediatePropagation() should not unregister uninvoked 'once' listeners, a=testonly
Automatic update from web-platform-tests
stopImmediatePropagation() should not unregister uninvoked 'once' listeners

A 'once' listener should be unregistered when it is invoked, and
stopImmediatePropagation() should not invoke other event listeners.
We had a bug that stopImmediatePropagation() unregistered uninvoked
'once' listeners.

Bug: 993109
Change-Id: Iaabb03141ee7cf2de88dc6c8726f5a474efd133b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2336011
Commit-Queue: Joey Arhar <jarhar@chromium.org>
Reviewed-by: Joey Arhar <jarhar@chromium.org>
Reviewed-by: Kent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/master@{#795142}

--

wpt-commits: c89458e4a5720da890a1fe30affa7983eee82205
wpt-pr: 24873
2020-08-07 23:26:18 +00:00
Robert Ma 862b296dc6 Bug 1657397 [wpt PR 24892] - [tools] Disable some multiprocessing tests, a=testonly
Automatic update from web-platform-tests
[tools] Disable some multiprocessing tests (#24892)

on macOS + Python 3.8

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

wpt-commits: b2579d4e08a237fd1e38942ead6303495f3fbf07
wpt-pr: 24892
2020-08-07 23:26:17 +00:00
moz-wptsync-bot 8471f91429 Bug 1649821 [wpt PR 24415] - Update wpt metadata, a=testonly
wpt-pr: 24415
wpt-type: metadata
2020-08-07 23:26:16 +00:00
Sergio d7588166a5 Bug 1649821 [wpt PR 24415] - Add a new test for updateRenderState(), a=testonly
Automatic update from web-platform-tests
Add a new test for updateRenderState() (#24415)

--

wpt-commits: 631a86cc6093f769a2b7a518d71552bad85f434f
wpt-pr: 24415
2020-08-07 23:26:16 +00:00
moz-wptsync-bot 10d92f0e06 Bug 1657373 [wpt PR 24890] - Update wpt metadata, a=testonly
wpt-pr: 24890
wpt-type: metadata
2020-08-07 23:26:16 +00:00
Antonio Sartori 82fdaf9aa1 Bug 1657373 [wpt PR 24890] - Send CSP frame-ancestors violations also when XFO is present, a=testonly
Automatic update from web-platform-tests
Send CSP frame-ancestors violations also when XFO is present

If a Content-Security-Policy frame-ancestors directive is enforced,
then the X-Frame-Options header is ignored. However, if the
frame-ancestors directive is report-only, the X-Frame-Options header
is checked and the frame possibly blocked. However, in this second
case, we must still check whether we have to send a
Content-Security-Policy violation report.

Bug: 1097078
Change-Id: I9768a3859184ac1d35bd938f45cc40e111e2af4b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2339115
Reviewed-by: Arthur Sonzogni <arthursonzogni@chromium.org>
Commit-Queue: Antonio Sartori <antoniosartori@chromium.org>
Cr-Commit-Position: refs/heads/master@{#795022}

--

wpt-commits: 993c1bc4c880238e3929ea4b1ab252613e0b5e65
wpt-pr: 24890
2020-08-07 23:26:15 +00:00
Robert Ma 4b8de2cd5f Bug 1657227 [wpt PR 24882] - Correct a typo in get_gh_checks_outputter, a=testonly
Automatic update from web-platform-tests
Correct a typo in get_gh_checks_outputter (#24882)

The flag name is --github-checks-text-file.
The field is github_checks_text_file.
--

wpt-commits: 2652bff9d0937187c1728c68ac4edb9f4d922f91
wpt-pr: 24882
2020-08-07 23:26:15 +00:00
Robert Ma 7b820c1179 Bug 1656555 [wpt PR 24830] - Clean up venv configs in commands.json, a=testonly
Automatic update from web-platform-tests
Clean up venv configs in commands.json (#24830)

1. Fold most dependencies in "install" into existing requirements.txt
2. Fail when a command has either "install" or "requirements" but
   disables "virtualenv".

--

wpt-commits: fd2922b37e29ee9b23da2e3e7bbc6e0c57f08a1d
wpt-pr: 24830
2020-08-07 23:26:14 +00:00
Anne van Kesteren 3119efe9d6 Bug 1657110 [wpt PR 24872] - Docs: make Writing Tests a bit more focused, a=testonly
Automatic update from web-platform-tests
Docs: make Writing Tests a bit more focused (#24872)

The goal of this change is to make this page more useful at a glance and for recurring visitors as well as for those not familiar with the testharness.js terminology.

Co-authored-by: jgraham <james@hoppipolla.co.uk>
--

wpt-commits: c5227cf8f50b3b6df578073eccb43605855b8b4d
wpt-pr: 24872
2020-08-07 23:26:14 +00:00
arthursonzogni b744ec18a5 Bug 1655724 [wpt PR 24780] - Reland "[COOP] Access reporting. Fix the python server.", a=testonly
Automatic update from web-platform-tests
Reland "[COOP] Access reporting. Fix the python server."

This is a reland of 9c96261a884c9ebd9daff66b7e41398d65c9d11c
The fix was this synchronization:
```
  with request.server.stash.lock:
```

The server is doing a read and a write to a shared state. Those
operations must not unterleave with other request handlers.

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}

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

--

wpt-commits: 6a5c1eb4f386da68adc77c84ac3f6e3fa1cb3033
wpt-pr: 24780
2020-08-07 23:26:13 +00:00
Alexey Shvayka 80ea704891 Bug 1656757 [wpt PR 24844] - Improve coverage for callback `this` value, a=testonly
Automatic update from web-platform-tests
Improve coverage for callback this value

Includes CSSPaintCallback, MutationCallback, and IntersectionObserverCallback tests.
--

wpt-commits: af4259a9abaeda73de449a4ebcd15155feba8e22
wpt-pr: 24844
2020-08-07 23:26:13 +00:00
moz-wptsync-bot 94d9c34b84 Bug 1656911 [wpt PR 24856] - Update wpt metadata, a=testonly
wpt-pr: 24856
wpt-type: metadata
2020-08-07 23:26:12 +00:00
arthursonzogni 8282af181d Bug 1656911 [wpt PR 24856] - [COOP] ReportingObserver [2/M] Add WPT tests for subframes., a=testonly
Automatic update from web-platform-tests
[COOP] ReportingObserver [2/M] Add WPT tests for subframes.

Add WPT tests for accesses made from an iframe toward a window that
would have been in a different browsing context group if
Cross-Origin-Opener-Policy-Report-Only was enforced.

Branch:
[1/M] https://chromium-review.googlesource.com/c/chromium/src/+/2332257
[2/M] This patch.

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

--

wpt-commits: 5b22a1f6ed29432bcf71a8b0e6b96fccf24d3f12
wpt-pr: 24856
2020-08-07 23:26:12 +00:00
moz-wptsync-bot e3069f8371 Bug 1657204 [wpt PR 24878] - Update wpt metadata, a=testonly
wpt-pr: 24878
wpt-type: metadata
2020-08-07 23:26:11 +00:00
Hiroshige Hayashizaki 8e8b7ce8a8 Bug 1657204 [wpt PR 24878] - [WPT] Reland with fix: Test script's base URL used in dynamic imports, a=testonly
Automatic update from web-platform-tests
[WPT] Reland with fix: Test script's base URL used in dynamic imports

This CL checks base URL used in resolving relative URL-like
specifiers in dynamic imports() from

- `<script>`s,
- worker top-level scripts, and
- worker scripts imported by `importScripts()`.

This is for https://github.com/whatwg/html/issues/5751.

This CL relands
https://chromium-review.googlesource.com/c/chromium/src/+/2198835/
with a fix:

`base-url-worker.sub.html` was flaky due to
race between two `fetch_tests_from_worker()`s.
In this reland, a `fetch_tests_from_worker()` is
moved to a new file `base-url-worker-importScripts.html`,
having at most one `fetch_tests_from_worker()` per file.

Bug: 1082086, 1112844
Change-Id: I59c9817a7829e950f40878d376ccb5216207b7e8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2337194
Reviewed-by: Domenic Denicola <domenic@chromium.org>
Commit-Queue: Hiroshige Hayashizaki <hiroshige@chromium.org>
Cr-Commit-Position: refs/heads/master@{#794865}

--

wpt-commits: ad99a9e949c6006cc0f609501de77a0edb1e593a
wpt-pr: 24878
2020-08-07 23:26:11 +00:00
Ziran Sun 58a9d9911e Bug 1657184 [wpt PR 24876] - Python 3: Use six.string_types as equivalent of basestring, a=testonly
Automatic update from web-platform-tests
Python 3: Use six.string_types as equivalent of basestring

six.string_types is basestring() in Python 2 and str in Python 3
This CL is to correct the misuse of six.text_type

--

wpt-commits: 12e9f6d074df4e48adce75ec5dabea24a661012c
wpt-pr: 24876
2020-08-07 23:26:10 +00:00