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

729721 Коммитов

Автор SHA1 Сообщение Дата
pbz 3c9542daf6 Bug 1667781 - Refactored addEngine dialog to use dialog element. r=Gijs,fluent-reviewers,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D92270
2020-10-07 18:36:32 +00:00
Dhairya Bahl 1a64cbb050 Bug 1669921 - Fixed a typo in windows_build.rst r=championshuttler,sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D92896
2020-10-08 11:54:45 +00:00
Frederik Braun 782b9d4e0a Bug 1669446 - Move clang-tidy-external into its own yml configs r=marco,andi
Differential Revision: https://phabricator.services.mozilla.com/D92760
2020-10-07 14:30:41 +00:00
Emilio Cobos Álvarez 4b4935794b Bug 140718 - Add a "Print selection only" entry to the context menu. r=Gijs,jwatt,fluent-reviewers
This allows to use the feature from the context menu and is very
straight-forward.

This has the benefit of working with fission (as print from the focused
frame) and so on.

Making a checkbox on the UI on top of this is doable, but it is a lot
more complex (requires a bunch of both front-end and platform work)
because undoing this implies restoring the DOM which "print selection"
removes.

I think the context menu entry is very useful regardless of whether we
add a checkbox to undo it, and other browsers (with smaller context
menus) seem to agree.

Differential Revision: https://phabricator.services.mozilla.com/D92205
2020-10-07 20:45:08 +00:00
Farooq AR 69ce838809 Bug 1668985 - Incorrect order of message columns in Response Panel. r=Honza
With more tests in `browser_net_ws-sse-persist-columns.js`

Differential Revision: https://phabricator.services.mozilla.com/D92882
2020-10-08 11:33:07 +00:00
Andrea Marchesini c907a3cc3d Bug 1667156 - Network-key test requires the network partitioning - fetch/connection-pool/network-partition-key.html, r=dimi DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D92391
2020-10-08 11:31:22 +00:00
Emilio Cobos Álvarez e1c71fbfcc Bug 1665792 - Null-check mTiming before clone. r=jwatt
There's no guarantee that mTiming is non-null. This can happen for a
variety of reasons.

Differential Revision: https://phabricator.services.mozilla.com/D92894
2020-10-08 11:05:28 +00:00
Emilio Cobos Álvarez 35ada269d3 Bug 1669664 - Don't speculatively load scripts, etc inside a template element. r=hsivonen
I guess in order to make this 100% sound we should check the whole
template mode stack, but that seemed more expensive than what I'd really
like, and I think it's not likely to be an issue in practice (maybe we
can too-eagerly preload some images inside tables inside templates, or
something of that sort?).

Differential Revision: https://phabricator.services.mozilla.com/D92773
2020-10-08 10:58:27 +00:00
Valentin Gosu ca7456a2d0 Bug 1669813 - Pass %s format to VsprintfLiteral instead of logged string r=dragana
ExternMozLog treated aMsg as a format, instead of the string being printed.
If it happened to contain any escape sequences, it led to a crash as the parameters weren't there.

Differential Revision: https://phabricator.services.mozilla.com/D92886
2020-10-08 10:17:12 +00:00
Simon Giesecke dbd7c2b9ab Bug 1653276 - Ensure that IndexedDB operations are cancelled when nsGlobalWindowInner::FreeInnerObjects is called. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D92209
2020-10-08 10:27:53 +00:00
moz-wptsync-bot 3fc7c29982 Bug 1669493 - [wpt-sync] Update web-platform-tests to 7cf011067b379d372c252fd55c71d62f3f56e2e7, a=testonly
MANUAL PUSH: wpt sync bot

wpt-head: 7cf011067b379d372c252fd55c71d62f3f56e2e7
wpt-type: landing
2020-10-08 10:18:44 +00:00
Nohemi Fernandez 4c0b533156 Bug 1669447 [wpt PR 26007] - Revert "[LayoutNG] Don't truncate margins after spanners.", a=testonly
Automatic update from web-platform-tests
Revert "[LayoutNG] Don't truncate margins after spanners."

This reverts commit 430b7621a298f2744248997692a2d8f68224fa67.

Reason for revert: Failing builder https://ci.chromium.org/p/chromium/builders/ci/linux-trusty-rel

Original change's description:
> [LayoutNG] Don't truncate margins after spanners.
>
> A column spanner forcefully breaks a column, so any leading margins on
> content right after the spanner shouldn't be discarded.
>
> Bug: 829028
> Change-Id: I767466677d72be2760306ddd531e847f52cfa8ca
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2445482
> Reviewed-by: Alison Maher <almaher@microsoft.com>
> Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
> Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#813892}

TBR=ikilpatrick@chromium.org,mstensho@chromium.org,almaher@microsoft.com

Change-Id: I535ec21071aacd85f22968286e0f920fd2870324
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 829028
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2450062
Reviewed-by: Nohemi Fernandez <fernandex@chromium.org>
Commit-Queue: Nohemi Fernandez <fernandex@chromium.org>
Cr-Commit-Position: refs/heads/master@{#814142}

--

wpt-commits: 7cf011067b379d372c252fd55c71d62f3f56e2e7
wpt-pr: 26007
2020-10-08 10:18:43 +00:00
moz-wptsync-bot 63c33995e7 Bug 1667926 [wpt PR 25827] - Update wpt metadata, a=testonly
wpt-pr: 25827
wpt-type: metadata
2020-10-08 10:18:43 +00:00
Ian Kilpatrick 071d8a7347 Bug 1667926 [wpt PR 25827] - [layout] Introduce the NGLayoutOverflowCalculator., a=testonly
Automatic update from web-platform-tests
[layout] Introduce the NGLayoutOverflowCalculator.

This patch moves the layout-overflow calculation "into" NG.

It does several interconnected things:
 - Just before a fragment is created we calculate the layout-overflow
   for a fragment. This is more correct than doing it for the layout
   object as a whole, resulting in more multi-col passes.
   The additional regression was caused the layout-overflow
   calculation hiding a bug with large column gaps (which exceed the
   inline-size of the container).
 - Once this is calculated, we run the
   SetLayoutOverflowFromLayoutResults function which "joins" all the
   layout-overflow from the fragments into the layout-object, used for
   JS API calls.
 - Finally there is the LayoutNGMixin::RecalcLayoutOverflow which
   allows for recalculating of layout-overflow, and correctly rebuilding
   the fragment-tree.

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

--

wpt-commits: 16c99fc3f05855a7d7d19397a19f49d2dbf429b9
wpt-pr: 25827
2020-10-08 10:18:43 +00:00
Florian Rivoal b67e78a558 Bug 1669398 [wpt PR 26003] - Fix reference, a=testonly
Automatic update from web-platform-tests
Fix reference (#26003)

--

wpt-commits: 3c44bab629c9279376ec773ac9657f8029d47b2a
wpt-pr: 26003
2020-10-08 10:18:42 +00:00
moz-wptsync-bot 4fef035043 Bug 1669352 [wpt PR 25998] - Update wpt metadata, a=testonly
wpt-pr: 25998
wpt-type: metadata
2020-10-08 10:18:42 +00:00
Oriol Brufau 0079895f70 Bug 1669352 [wpt PR 25998] - Reland "[Editing] Fix canonical caret position at line break", a=testonly
Automatic update from web-platform-tests
Reland "[Editing] Fix canonical caret position at line break"

This is a reland of d46bdb4f3a1ac1f89c0445875150ff2e9c341141

It was reverted because the new test could time out in Mac.
Fixed by adding '<meta name="timeout" content="long">'.

Original change's description:
> [Editing] Fix canonical caret position at line break
>
> Consider this testcase:
>     <style>div { width: min-content; padding: 5px; }</style>
>     <div contenteditable>line1<wbr>line2</div>
> which is rendered as
>     line1
>     line2
>
> Before this patch, when clicking at the beginning of the 2nd line, the
> caret would appear at the end of the 1st one, because CanonicalPosition
> would search backwards even with a downstream affinity.
>
> Also, when clicking at the beginning of the 1st line and pressing the
> down arrow key, the caret would move to the end of the 1st line instead
> of to the beginning of the 2nd one. And pressing the key again would
> have no effect, the caret would refuse to go down.
>
> This patch fixes these problems by making CanonicalPosition take a
> TextAffinity parameter which affects whether the canonical position is
> first searched backwards or forwards. If no suitable candidate is found,
> it will still search in the other direction.
>
> And then, VisiblePosition::Create takes care of deciding between the
> upstream and the downstream canonical positions, depending on the
> affinity and whether there is a line break.
>
> Bug: 1002937
>
> Web tests:
> TEST=external/wpt/editing/run/caret-navigation-around-line-break.html
>
> Unit tests:
> TEST=All/ParameterizedVisibleUnitsLineTest.inSameLine/0
> TEST=All/ParameterizedVisibleUnitsLineTest.inSameLine/1
> TEST=All/ParameterizedVisibleUnitsWordTest.StartOfWordShadowDOM/0
> TEST=All/ParameterizedVisibleUnitsWordTest.StartOfWordShadowDOM/1
> TEST=VisiblePositionTest.ShadowV0DistributedNodes
> TEST=VisibleUnitsLineTest.endOfLine
> TEST=VisibleUnitsLineTest.isEndOfLine
> TEST=VisibleUnitsLineTest.isLogicalEndOfLine
> TEST=VisibleUnitsLineTest.isStartOfLine
> TEST=VisibleUnitsLineTest.logicalEndOfLine
> TEST=VisibleUnitsLineTest.logicalStartOfLine
> TEST=VisibleUnitsLineTest.startOfLine
> TEST=VisibleUnitsTest.canonicalPositionOfWithHTMLHtmlElement
> TEST=VisibleUnitsTest.canonicalPositionOfWithInputElement
> TEST=VisibleUnitsTest.canonicalizationWithCollapsedSpaceAndIsolatedCombiningCharacter
>
> Change-Id: I82d86d40a87513b2e92c024735957e9f71154094
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2410404
> Commit-Queue: Oriol Brufau <obrufau@igalia.com>
> Reviewed-by: Yoshifumi Inoue <yosin@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#813744}

Bug: 1002937
Change-Id: Ida01b6d838f03cfbe66e4cba86472ed90499af45
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2450292
Reviewed-by: Xiaocheng Hu <xiaochengh@chromium.org>
Commit-Queue: Oriol Brufau <obrufau@igalia.com>
Cr-Commit-Position: refs/heads/master@{#814053}

--

wpt-commits: 080f375b310f3fbd380b00f29f0dd7198af46cb0
wpt-pr: 25998
2020-10-08 10:18:41 +00:00
Florian Rivoal 918eab5305 Bug 1669391 [wpt PR 26002] - Add missing ref, a=testonly
Automatic update from web-platform-tests
Add missing reference (#26002)

--

wpt-commits: e731e8b02d8564dd32aa09ec3e6dcae61674d332
wpt-pr: 26002
2020-10-08 10:18:41 +00:00
Florian Rivoal 02082cfd16 Bug 1669374 [wpt PR 25999] - Add reference files, a=testonly
Automatic update from web-platform-tests
Add reference files (#25999)

--

wpt-commits: 28df895c556c00ce477e5893b9a133cecc11933d
wpt-pr: 25999
2020-10-08 10:18:40 +00:00
moz-wptsync-bot b22b4284d1 Bug 1668670 [wpt PR 25937] - Update wpt metadata, a=testonly
wpt-pr: 25937
wpt-type: metadata
2020-10-08 10:18:40 +00:00
George Steel 5a2529b254 Bug 1668670 [wpt PR 25937] - Add reftests for transform animations, a=testonly
Automatic update from web-platform-tests
Add reftests for transform animations

Because composited animations are inaccessible from js, reftests are
necessary to test their behavior. In this set, the file
transform-interpolation-reftests.js defines the tests themselves and
several wrapper html files each run a subset of them (this structure
is due to the lack of support for test variants in reftests).

As these tests are specifically meant for testing compositor animations,
add css-transforms to the virtual/threaded suite to test with threaded
compositing. As this has found several errors, bugs have been filed and
linked to the threaded cases in TestExpectations

Bug: 1131196, 1133901, 1131252
Change-Id: I9c6d92727e52a3ec11fe56f3375fc352baeadf04
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2443209
Reviewed-by: Kevin Ellis <kevers@chromium.org>
Commit-Queue: George Steel <gtsteel@chromium.org>
Cr-Commit-Position: refs/heads/master@{#813921}

--

wpt-commits: 624b20a0818a7b22f33aa14385670b5e3c187812
wpt-pr: 25937
2020-10-08 10:18:39 +00:00
moz-wptsync-bot 858e61d751 Bug 1669315 [wpt PR 25993] - Update wpt metadata, a=testonly
wpt-pr: 25993
wpt-type: metadata
2020-10-08 10:18:39 +00:00
Morten Stenshorne c3225c997c Bug 1669315 [wpt PR 25993] - [LayoutNG] Correct column balancing for horizontal-rl., a=testonly
Automatic update from web-platform-tests
[LayoutNG] Correct column balancing for horizontal-rl.

We got it wrong when there was overflow. Use WritingModeConverter.

Bug: 829028
Change-Id: Idf060c3417f254f414251a9e3287a3c8f5c6cd97
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2450315
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/master@{#813898}

--

wpt-commits: 5484d8df43a5a2daba5ca6b372cb5fe05c21a825
wpt-pr: 25993
2020-10-08 10:18:38 +00:00
Morten Stenshorne 78d3715743 Bug 1668909 [wpt PR 25957] - [LayoutNG] Don't truncate margins after spanners., a=testonly
Automatic update from web-platform-tests
[LayoutNG] Don't truncate margins after spanners.

A column spanner forcefully breaks a column, so any leading margins on
content right after the spanner shouldn't be discarded.

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

--

wpt-commits: f26f2afa7190bd5996071f56fdc5557c4828a695
wpt-pr: 25957
2020-10-08 10:18:38 +00:00
Florian Rivoal fa20490026 Bug 1669226 [wpt PR 25983] - Cross-ref css2 tests into css-text-3, a=testonly
Automatic update from web-platform-tests
Cross-ref css2 tests into css-text-3 (#25983)

Add references along the way
--

wpt-commits: 7d49534b1fb1c1c78f7f3272d3c2563b4612a1f4
wpt-pr: 25983
2020-10-08 10:18:37 +00:00
ziransun e11a7534e0 Bug 1669234 [wpt PR 25986] - Python3: Add bytes prefix for newly introduced code, a=testonly
Automatic update from web-platform-tests
Python3: Add bytes prefix for newly introduced code (#25986)

--

wpt-commits: 8d61cd8fa6c1494565d0259033568245e182a9be
wpt-pr: 25986
2020-10-08 10:18:37 +00:00
moz-wptsync-bot 91ce03a6f0 Bug 1669291 [wpt PR 25988] - Update wpt metadata, a=testonly
wpt-pr: 25988
wpt-type: metadata
2020-10-08 10:18:37 +00:00
Alex Christensen 66f2e42dd2 Bug 1669291 [wpt PR 25988] - [encoding] Add a test with a decoding error in the middle of a stream…, a=testonly
Automatic update from web-platform-tests
[encoding] Add a test with a decoding error in the middle of a stream chunk.

This test comes from http://trac.webkit.org/r266668 and is the only stream
decoding test that has an error in the middle of a chunk given to the decoder.
I had an implementation that passed all other tests then realized I had done it
all wrong and added this test that would have failed with my first implementation.

--

wpt-commits: c30d682aaa8aaf9eb7b3f5681213e44def45412e
wpt-pr: 25988
2020-10-08 10:18:36 +00:00
moz-wptsync-bot d97fdfd322 Bug 1669284 [wpt PR 25987] - Update wpt metadata, a=testonly
wpt-pr: 25987
wpt-type: metadata
2020-10-08 10:18:36 +00:00
Alex Christensen 35aa7c69b3 Bug 1669284 [wpt PR 25987] - [url] Add a few url tests to cover cases that were not tested before., a=testonly
Automatic update from web-platform-tests
[url] Add a few url tests to cover cases that were not tested before.

The first tests around edge cases of the U_IS_UNICODE_CHAR macro,
which my younger and more naive self used until http://trac.webkit.org/r267963
and Chrome seems to do something similar.

The second and third test what happens when parsing terminates in the file slash
state with relative file URLs with and without windows drive letters, which
terminal state I forgot in my initial implementation of file host copying in
http://trac.webkit.org/r267896

The last verifies that using a windows drive letter as a relative file URL path
removes all of the base URL's path including any drive letter it may have.
This is something I was unsure about when implementing r267964 but matches the
behavior of IE and Edge.

--

wpt-commits: 4e15edcc3ca51c72c3846133c7b175ecd94b3a9b
wpt-pr: 25987
2020-10-08 10:18:35 +00:00
Koji Ishii 42b4f08b47 Bug 1669302 [wpt PR 25990] - Fix incorrect ref for text-indent-10[012].xht, a=testonly
Automatic update from web-platform-tests
Fix incorrect ref for text-indent-10[012].xht

TBR=ikilpatrick@chromium.org

Bug: 1135117
Change-Id: Ic1403098ce31c638da44b1c55c671f60ea0da5fc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2449512
Reviewed-by: Koji Ishii <kojii@chromium.org>
Commit-Queue: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#813811}

--

wpt-commits: 5384eb27285e1a15f1e53b7843e667cd9ebe9ef7
wpt-pr: 25990
2020-10-08 10:18:35 +00:00
moz-wptsync-bot 0f3ba61fa0 Bug 1669317 [wpt PR 25994] - Update wpt metadata, a=testonly
wpt-pr: 25994
wpt-type: metadata
2020-10-08 10:18:34 +00:00
autofoolip 067fad57a9 Bug 1669317 [wpt PR 25994] - Update interfaces/html.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/html.idl (#25994)

Source: https://github.com/w3c/webref/blob/0c015fc/ed/idl/html.idl
Build: https://travis-ci.org/w3c/webref/builds/188224619
--

wpt-commits: 0c6939173a10e356a782aaf8e8e993e143e851f2
wpt-pr: 25994
2020-10-08 10:18:34 +00:00
Kristi Park d412a75b35 Bug 1669319 [wpt PR 25996] - Revert "[Editing] Fix canonical caret position at line break", a=testonly
Automatic update from web-platform-tests
Revert "[Editing] Fix canonical caret position at line break"

This reverts commit d46bdb4f3a1ac1f89c0445875150ff2e9c341141.

Reason for revert: Added web test is timing out on Mac10.15 Tests
https://ci.chromium.org/p/chromium/builders/ci/Mac10.15%20Tests/4574

Original change's description:
> [Editing] Fix canonical caret position at line break
>
> Consider this testcase:
>     <style>div { width: min-content; padding: 5px; }</style>
>     <div contenteditable>line1<wbr>line2</div>
> which is rendered as
>     line1
>     line2
>
> Before this patch, when clicking at the beginning of the 2nd line, the
> caret would appear at the end of the 1st one, because CanonicalPosition
> would search backwards even with a downstream affinity.
>
> Also, when clicking at the beginning of the 1st line and pressing the
> down arrow key, the caret would move to the end of the 1st line instead
> of to the beginning of the 2nd one. And pressing the key again would
> have no effect, the caret would refuse to go down.
>
> This patch fixes these problems by making CanonicalPosition take a
> TextAffinity parameter which affects whether the canonical position is
> first searched backwards or forwards. If no suitable candidate is found,
> it will still search in the other direction.
>
> And then, VisiblePosition::Create takes care of deciding between the
> upstream and the downstream canonical positions, depending on the
> affinity and whether there is a line break.
>
> Bug: 1002937
>
> Web tests:
> TEST=external/wpt/editing/run/caret-navigation-around-line-break.html
>
> Unit tests:
> TEST=All/ParameterizedVisibleUnitsLineTest.inSameLine/0
> TEST=All/ParameterizedVisibleUnitsLineTest.inSameLine/1
> TEST=All/ParameterizedVisibleUnitsWordTest.StartOfWordShadowDOM/0
> TEST=All/ParameterizedVisibleUnitsWordTest.StartOfWordShadowDOM/1
> TEST=VisiblePositionTest.ShadowV0DistributedNodes
> TEST=VisibleUnitsLineTest.endOfLine
> TEST=VisibleUnitsLineTest.isEndOfLine
> TEST=VisibleUnitsLineTest.isLogicalEndOfLine
> TEST=VisibleUnitsLineTest.isStartOfLine
> TEST=VisibleUnitsLineTest.logicalEndOfLine
> TEST=VisibleUnitsLineTest.logicalStartOfLine
> TEST=VisibleUnitsLineTest.startOfLine
> TEST=VisibleUnitsTest.canonicalPositionOfWithHTMLHtmlElement
> TEST=VisibleUnitsTest.canonicalPositionOfWithInputElement
> TEST=VisibleUnitsTest.canonicalizationWithCollapsedSpaceAndIsolatedCombiningCharacter
>
> Change-Id: I82d86d40a87513b2e92c024735957e9f71154094
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2410404
> Commit-Queue: Oriol Brufau <obrufau@igalia.com>
> Reviewed-by: Yoshifumi Inoue <yosin@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#813744}

TBR=yosin@chromium.org,xiaochengh@chromium.org,obrufau@igalia.com

Change-Id: I5f6da8b5b9be5167cf49dd5b27d0f9c03b0b285e
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 1002937
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2450770
Reviewed-by: Kristi Park <kristipark@chromium.org>
Commit-Queue: Kristi Park <kristipark@chromium.org>
Cr-Commit-Position: refs/heads/master@{#813814}

--

wpt-commits: c538cb209de8d296fe3ab910aa95e850303450c5
wpt-pr: 25996
2020-10-08 10:18:33 +00:00
David Bokan c8dca1cf32 Bug 1668582 [wpt PR 25930] - Fix overscroll-deltas.html, a=testonly
Automatic update from web-platform-tests
Fix overscroll-deltas.html

This test incorrectly allows overscroll actions like gesture-navigation
which would interfere with the reported overscroll delta. This CL
disables overscroll actions with |overscroll-behavior:none|; however,
Chrome has a bug where it consumes overscroll delta, even when
overscroll-behavior is set to none.

Because of this bug, this test uses very approximate values for
expectations and were right on the edge of what was frequently being
seen. However, due to the nature of the bug a timing change here nudged
it below the thresholds so I've loosened these.

Bug: 1112183
Change-Id: If4ecf7a263385ddc3211f7776aca21eb8ec3aa95
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2442152
Reviewed-by: Liviu Tinta <liviutinta@chromium.org>
Reviewed-by: Sadrul Chowdhury <sadrul@chromium.org>
Commit-Queue: David Bokan <bokan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#813770}

--

wpt-commits: 7d790439c38dddeb7fcb1fa17f967b2f7b2e117e
wpt-pr: 25930
2020-10-08 10:18:33 +00:00
autofoolip 3fd6fc6440 Bug 1669318 [wpt PR 25995] - Update interfaces/payment-request.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/payment-request.idl (#25995)

Source: https://github.com/w3c/webref/blob/0c015fc/ed/idl/payment-request.idl
Build: https://travis-ci.org/w3c/webref/builds/188224619
--

wpt-commits: ae20d8e141a54e34da8fef6ebe0256d577ddef6a
wpt-pr: 25995
2020-10-08 10:18:32 +00:00
moz-wptsync-bot 1970cb41da Bug 1668647 [wpt PR 25936] - Update wpt metadata, a=testonly
wpt-pr: 25936
wpt-type: metadata
2020-10-08 10:18:32 +00:00
Oriol Brufau 9c4ebab969 Bug 1668647 [wpt PR 25936] - [Editing] Fix canonical caret position at line break, a=testonly
Automatic update from web-platform-tests
[Editing] Fix canonical caret position at line break

Consider this testcase:
    <style>div { width: min-content; padding: 5px; }</style>
    <div contenteditable>line1<wbr>line2</div>
which is rendered as
    line1
    line2

Before this patch, when clicking at the beginning of the 2nd line, the
caret would appear at the end of the 1st one, because CanonicalPosition
would search backwards even with a downstream affinity.

Also, when clicking at the beginning of the 1st line and pressing the
down arrow key, the caret would move to the end of the 1st line instead
of to the beginning of the 2nd one. And pressing the key again would
have no effect, the caret would refuse to go down.

This patch fixes these problems by making CanonicalPosition take a
TextAffinity parameter which affects whether the canonical position is
first searched backwards or forwards. If no suitable candidate is found,
it will still search in the other direction.

And then, VisiblePosition::Create takes care of deciding between the
upstream and the downstream canonical positions, depending on the
affinity and whether there is a line break.

Bug: 1002937

Web tests:
TEST=external/wpt/editing/run/caret-navigation-around-line-break.html

Unit tests:
TEST=All/ParameterizedVisibleUnitsLineTest.inSameLine/0
TEST=All/ParameterizedVisibleUnitsLineTest.inSameLine/1
TEST=All/ParameterizedVisibleUnitsWordTest.StartOfWordShadowDOM/0
TEST=All/ParameterizedVisibleUnitsWordTest.StartOfWordShadowDOM/1
TEST=VisiblePositionTest.ShadowV0DistributedNodes
TEST=VisibleUnitsLineTest.endOfLine
TEST=VisibleUnitsLineTest.isEndOfLine
TEST=VisibleUnitsLineTest.isLogicalEndOfLine
TEST=VisibleUnitsLineTest.isStartOfLine
TEST=VisibleUnitsLineTest.logicalEndOfLine
TEST=VisibleUnitsLineTest.logicalStartOfLine
TEST=VisibleUnitsLineTest.startOfLine
TEST=VisibleUnitsTest.canonicalPositionOfWithHTMLHtmlElement
TEST=VisibleUnitsTest.canonicalPositionOfWithInputElement
TEST=VisibleUnitsTest.canonicalizationWithCollapsedSpaceAndIsolatedCombiningCharacter

Change-Id: I82d86d40a87513b2e92c024735957e9f71154094
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2410404
Commit-Queue: Oriol Brufau <obrufau@igalia.com>
Reviewed-by: Yoshifumi Inoue <yosin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#813744}

--

wpt-commits: a3dc64332af60e6c833eef715db21ec519a7a0e8
wpt-pr: 25936
2020-10-08 10:18:31 +00:00
Yifan Luo 2cce1ce3e4 Bug 1665671 [wpt PR 25602] - [Sanitizer API] Add dropAttributes to SanitizerConfig., a=testonly
Automatic update from web-platform-tests
[Sanitizer API] Add dropAttributes to SanitizerConfig.

Bug: 1116418
Change-Id: I0aedefbba5eb452d6bbcaa934d909b1dbb65c4d5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2416590
Commit-Queue: Yifan Luo <lyf@chromium.org>
Reviewed-by: Daniel Vogelheim <vogelheim@chromium.org>
Reviewed-by: Mike West <mkwst@chromium.org>
Cr-Commit-Position: refs/heads/master@{#813726}

--

wpt-commits: 1f01b027fc202593291adb84e3e41777da1abc5f
wpt-pr: 25602
2020-10-08 10:18:31 +00:00
linkgoron 462c586082 Bug 1669010 [wpt PR 25962] - [webdriver]: click elements in Shadow DOM, a=testonly
Automatic update from web-platform-tests
[webdriver] click elements in Shadow DOM

--

wpt-commits: bf1e14596aa50bb56dbbc0cb3bd988e5a74168f7
wpt-pr: 25962
2020-10-08 10:18:31 +00:00
Florian Rivoal b9f80123a4 Bug 1669227 [wpt PR 25984] - Add link to l3 spec and comment about validity in that context, a=testonly
Automatic update from web-platform-tests
Add link to l3 spec and comment about validity in that context (#25984)

--

wpt-commits: 84d3ce92b0fc2659afe4110220a6ba0fae65743b
wpt-pr: 25984
2020-10-08 10:18:30 +00:00
Stephen McGruer b7bc074afe Bug 1666305 [wpt PR 25655] - [taskcluster] Pass --use-gl=swiftshader-webgl for Chrome, a=testonly
Automatic update from web-platform-tests
[taskcluster] Pass --use-gl=swiftshader-webgl for Chrome (#25655)

The taskcluster machines do not have discrete GPUs, and Chrome does not
default advertise WebGL 2.0 if software rendering is being used (for
performance concerns). This breaks a few tests that test webgl2 content,
so set this flag to fix them.

Fixes https://crbug.com/1130585
--

wpt-commits: ffdd53d8c2df2f767d02f2c9b987e969a26b70ab
wpt-pr: 25655
2020-10-08 10:18:30 +00:00
Florian Rivoal 11b873d084 Bug 1669201 [wpt PR 25976] - Delete broken test, a=testonly
Automatic update from web-platform-tests
Delete broken tests (#25976)

-057 is not even close to testing what it claims to test,
and the behavior in Level 2 is very fuzzily defined anyway.
This is much better defined, with many more tests excercising it,
in level 3.

-058 is less far off, but still wrong, and the same logic applies.
--

wpt-commits: 7ad65cf5cb23cbcf48be601caab258103497bd73
wpt-pr: 25976
2020-10-08 10:18:29 +00:00
Florian Rivoal 3d7b43b7e8 Bug 1669204 [wpt PR 25978] - Cross-ref test from css2 to css-text-3, a=testonly
Automatic update from web-platform-tests
Cross-ref test from css2 to css-text-3 (#25978)

Add a few references and bugfixes along the way
--

wpt-commits: cc204b843e3dea664f63130742155f174c4b6afd
wpt-pr: 25978
2020-10-08 10:18:29 +00:00
moz-wptsync-bot 3cef53290c Bug 1669152 [wpt PR 25972] - Update wpt metadata, a=testonly
wpt-pr: 25972
wpt-type: metadata
2020-10-08 10:18:28 +00:00
Florian Rivoal ec22ef72db Bug 1669152 [wpt PR 25972] - More test cross-referencing, a=testonly
Automatic update from web-platform-tests
More test cross-referencing (#25972)

* More test cross-referencing

With references added along the way, and some smaller fonts to make sure
everything fits the screen.

* Rename files to avoid conflicts
--

wpt-commits: 1a422322bb530ae6b8e51d518ce84cf05d85e772
wpt-pr: 25972
2020-10-08 10:18:28 +00:00
moz-wptsync-bot f03d67cba9 Bug 1669146 [wpt PR 25971] - Update wpt metadata, a=testonly
wpt-pr: 25971
wpt-type: metadata
2020-10-08 10:18:27 +00:00
Florian Rivoal 5e8a3603a2 Bug 1669146 [wpt PR 25971] - More cross-referencing tests from CSS 2 into css-text-3, a=testonly
Automatic update from web-platform-tests
More cross-referencing tests from CSS 2 into css-text-3 (#25971)

With new refs along the way
--

wpt-commits: 6748172de5cc6e4999fb8620eb83cf5c54a0a18e
wpt-pr: 25971
2020-10-08 10:18:27 +00:00
moz-wptsync-bot cd6826e7c0 Bug 1669132 [wpt PR 25970] - Update wpt metadata, a=testonly
wpt-pr: 25970
wpt-type: metadata
2020-10-08 10:18:26 +00:00
Florian Rivoal 8fa3750fd0 Bug 1669132 [wpt PR 25970] - Link a bunch of tests to the css-text-3, a=testonly
Automatic update from web-platform-tests
Link a bunch of tests to the css-text-3 (#25970)

Add a few references along the way

Also, correct the interpretation of percentage text intent to match the
disambiguated modern understanding (% of the block itself, not of its
parent).
--

wpt-commits: 5d60588a6eca892bc9f93b03a4c861013904a5d4
wpt-pr: 25970
2020-10-08 10:18:26 +00:00