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

721529 Коммитов

Автор SHA1 Сообщение Дата
Timothy Nikkel 2de46c6ff5 Bug 1656802. Make visual viewport only layout scrollbars affect the composition bounds/visual viewport. r=emilio,kats
AFAICT the spec says that these layout scrollbars that take up no layout space that scroll the visual viewport do affect the size of the visual viewport. (Double check this)

Most other users don't care about the size of these special scrollbars.

I left nsIDOMWindowUtils::getScrollbarSize unchanged (NB different from nsIDOMWindowUtils::getScrollbarSizes which is modified by this patch) because I'm less sure. I will file a followup about it.

Differential Revision: https://phabricator.services.mozilla.com/D85708
2020-08-07 11:40:52 +00:00
Timothy Nikkel 345de90fa2 Bug 1656802. If both scrollbars are layout and present and only for the visual viewport they need to be adjusted to not overlap. r=emilio
The existing calculation will make them overlap. The AdjustOverlappingScrollbars code was written with overlay scrollbars in mind but it looks like it will work just fine for this case.

Differential Revision: https://phabricator.services.mozilla.com/D85707
2020-08-07 11:40:55 +00:00
Timothy Nikkel a5c2284d8d Bug 1656802. Position the scrollcorner if we have both layout scrollbars and they are both for the visual viewport only. r=emilio
Otherwise the calculation above would lead to an empty rect for the scroll corner.

The scrollbar rects as computed now still overlap each other and the scroll corner, the next patch fixes that.

Differential Revision: https://phabricator.services.mozilla.com/D85706
2020-08-07 11:40:57 +00:00
Timothy Nikkel 415340d3d5 Bug 1656802. In LayoutScrollbars move the calculation of the scrollbar rects to the first thing in the function. r=emilio
There is no dependency in this code as far as I can tell.

The next patch needs the scrollbar rects for the scroll corner calculation.

Differential Revision: https://phabricator.services.mozilla.com/D85705
2020-08-08 07:07:46 +00:00
Timothy Nikkel 36e43673c3 Bug 1656802. Shift back in layout scrollbars that are only for the visual viewport so they are visible. r=emilio
Layout scrollbars that were only created for the visual viewport had no space reserved for them, so we need to shift them back in like overlay scrollbars. Otherwise they sit just outside of the scroll port and are not visible.

Differential Revision: https://phabricator.services.mozilla.com/D85704
2020-08-08 07:07:57 +00:00
Timothy Nikkel a7100c9def Bug 1656802. Add a comment explaining how overlay scrollbars work with their negative margin. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D85703
2020-08-08 07:07:57 +00:00
Timothy Nikkel 0a37053b5b Bug 1656802. Add state variables to the scroll frame to track when scrollbars are only created to scroll the visual viewport within the layout viewport. r=emilio,kats
We need to distinguish these special scrollbars for several different reasons in upcoming patches.

Differential Revision: https://phabricator.services.mozilla.com/D85702
2020-08-07 11:40:47 +00:00
Timothy Nikkel bdf314cb67 Bug 1656802. Calculate if we need scrollbars to scroll the visual viewport. r=emilio,kats
This fixes the regression we created with the first patch.

Differential Revision: https://phabricator.services.mozilla.com/D85701
2020-08-07 11:40:46 +00:00
Timothy Nikkel 54832c7143 Bug 1656802. Add flags that let us differentiate not showing scrollbars because something is overflow hidden from not showing scrollbars for other reasons. r=emilio
For the former we are still allowed to show scrollbars if we need to scroll the visual viewport inside the layout viewport (as long as they take up no layout space). For the latter we still do not want to show scrollbars.

The ShowScrollbar enum is now only from layouts perspective and doesn't take into account anything about the visual viewport.

Differential Revision: https://phabricator.services.mozilla.com/D85700
2020-08-07 11:40:47 +00:00
Timothy Nikkel c389e0f6e6 Bug 1656802. When deciding if we want a scrollbar we need to consider only if the scrolled rect overflows the scrollport (not the visual viewport). r=emilio,kats
This will actually regress behaviour when overflow is auto and pinch zooming creates scrollable overflow (scrolling the visual viewport inside the layout viewport). We will fix that in later patches.

The reason that this is necessary is that the code as-is is incorrect if we have layout scrollbars (scrollbars that take up space). If we have layout scrollbars and we pinch zoom and we go from not needing a scrollbar to needing a scrollbar then that scrollbar cannot take up layout space (even though it is a layout scrollbar). The scrollbar cannot change the size of the layout viewport (it does, however, change the size of the visual viewport).

In later patches we fix this situation as well as the situation with an overflow hidden document (which also needs to create scrollbars when pinch zoomed).

Differential Revision: https://phabricator.services.mozilla.com/D85699
2020-08-07 11:40:50 +00:00
Timothy Nikkel 076621eeeb Bug 1656802. Add comment pointing to bug about enabling new desktop zooming scrollbars by default.
Differential Revision: https://phabricator.services.mozilla.com/D86328
2020-08-07 11:40:49 +00:00
Dimi Lee 491612fa0b Bug 1658010 - Add null pointer check before notifying content block event r=xeonchen
Differential Revision: https://phabricator.services.mozilla.com/D86421
2020-08-08 06:00:00 +00:00
Julian Descottes 06dea32c55 Bug 1657899 - Do not assume any resource order in browser_resources_stylesheets.js - part 2 r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D86360
2020-08-08 00:42:21 +00:00
Masayuki Nakano 5b78d2b3c1 Bug 1657052 - Make `HTMLEditor::HandleDeleteAroundCollapsedSelection()` take ranges to delete instead of retrieving them via `Selection` r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D85965
2020-08-07 06:13:00 +00:00
Butkovits Atila 796c05057e Backed out changeset 9825feb6a05e (bug 1658027) for failure at browser_creditCard_telemetry.js 2020-08-08 07:35:07 +03:00
Andreea Pavel aed7669de9 Bug 1654648 - fix whitespace linting failure r=test-only 2020-08-08 07:14:40 +03:00
Evan Welsh 2e8ba0e06f Bug 1654696 - Implement code coverage JSAPI. r=nbp,jwalden
Differential Revision: https://phabricator.services.mozilla.com/D85808
2020-08-08 03:23:31 +00:00
Zibi Braniecki 59fb3f227d Bug 1658027 - Separate visual interactions on Credit Card Autofill for A/B testing. r=abr
Differential Revision: https://phabricator.services.mozilla.com/D86445
2020-08-08 03:36:42 +00:00
Zibi Braniecki b144e9c01e Bug 1654648 - Fine tune field type duplication heuristics for section splitting. r=abr
Differential Revision: https://phabricator.services.mozilla.com/D86277
2020-08-08 03:33:53 +00:00
Mark Hammond 8638e3e9b8 Bug 1635659 - Refactor the "pre-account" telemetry ping into the "account-ecosystem" ping. r=chutten,rfkelly
Differential Revision: https://phabricator.services.mozilla.com/D83466
2020-08-06 15:58:56 +00:00
Masayuki Nakano 4588958dcb Bug 1656799 - part 5: Make `HTMLEditor::GetRangeExtendedToIncludeInvisibleNodes()` directly extend given range r=m_kato
Creation cost of `nsRange` is expensive, and it's only user,
`HTMLEditor::HandleDeleteNonCollapsedRanges()` wants to extend the range.
Therefore, we can make it directly extend the given range.

Differential Revision: https://phabricator.services.mozilla.com/D85849
2020-08-07 06:12:17 +00:00
Masayuki Nakano 6346ed0316 Bug 1656799 - part 4: Make `HTMLEditor::HandleDeleteNonCollapsedSelection()` take ranges to delete instead of retrieving it via `Selection` r=m_kato
Depends on D85847

Differential Revision: https://phabricator.services.mozilla.com/D85848
2020-08-07 05:53:16 +00:00
Masayuki Nakano 3397c35fa4 Bug 1656799 - part 3: Make `WhiteSpaceVisibilityKeeper::PrepareToDeleteRange()` not track `EditorDOMPoint`s r=m_kato
It may be faster to use `AutoTrackDOMRange` directly.  Therefore, current
`WhiteSpaceVisibilityKeeper::PrepareToDeleteRange()` should be renamed to
`WhiteSpaceVisibilityKeeper::PrepareToDeleteRangeAndTrackPoints()` and
we should make `HTMLEditor::HandleDeleteNonCollapsedSelection()` track
the range by itself.

Depends on D85846

Differential Revision: https://phabricator.services.mozilla.com/D85847
2020-08-06 08:07:39 +00:00
Masayuki Nakano 0ada126b2a Bug 1656799 - part 2: Create range tracker r=m_kato
There is only `AutoTrackDOMPoint`, but
`HTMLEditor::HandleDeleteNonCollapsedSelection()` requires to tack pairs of
DOM points, i.e., requires to track ranges.  For making the code simpler,
we should have range tracker too.

Depends on D85845

Differential Revision: https://phabricator.services.mozilla.com/D85846
2020-08-08 02:57:16 +00:00
Masayuki Nakano 93ff6864bb Bug 1656799 - part 1: Make `HTMLEditor::HandleDeleteNonCollapsedSelection()` store selection ranges with `AutoRangeArray` first r=m_kato
Depends on D85686

Differential Revision: https://phabricator.services.mozilla.com/D85845
2020-08-06 07:03:55 +00:00
Drew Willcoxon a0375c98e1 Bug 1647899 - Retain or remove search mode across tabs. r=harry
This is very simple, but it gets the job done. It keeps a map in `UrlbarInput`
from browsers to search mode objects. The map is updated in `setSearchMode`, and
it's used to set the search mode in `_afterTabSelectAndFocusChange`.

Differential Revision: https://phabricator.services.mozilla.com/D86296
2020-08-08 02:45:42 +00:00
Drew Willcoxon be6777746d Bug 1657633 - Make the up/down arrow keys avoid moving the selection through the one-offs when they are not shown. r=harry
This is a narrow fix to the bug, which happens because I removed this
conditional in bug 1654439: https://hg.mozilla.org/mozilla-central/rev/f561eb606ad3#l1.251

That conditional kept the selection out of the one-offs when the urlbar hid
them. This patch replaces that conditional with a version that can be overridden
by the urlbar subclass. It adds a `hasView` getter that is equivalent, but note
that `this._view` can't be used because the urlbar subclass sets `this.view` in
its constructor and never nulls it out, unlike the original implementation. So
instead the subclass `hasView` checks whether the one-offs are hidden. This is
effectively the same thing because in the old implementation the urlbar one-offs
were hidden at the same time `this._view` was nulled out.

Differential Revision: https://phabricator.services.mozilla.com/D86293
2020-08-08 00:57:20 +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 34293ad0ff Bug 1559961 Part 3 - Refactor the conditions to mark a line dirty under constrained available block-size. r=dholbert
This change cleans up the complex logic with additional comments added.
It shouldn't alter the behavior.

Differential Revision: https://phabricator.services.mozilla.com/D86068
2020-08-07 22:16:29 +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
Ting-Yu Lin 32e6eca945 Bug 1559961 Part 1 - Update the reason for child's completeness in measuring reflow of flex items. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D85478
2020-08-07 22:16:06 +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
Butkovits Atila 996e816c65 Backed out changeset e71e10688704 (bug 1634030) for failure at browser_shim_disable_devtools.js CLOSED TREE 2020-08-08 03:46: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