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

732015 Коммитов

Автор SHA1 Сообщение Дата
moz-wptsync-bot 8f7e379376 Bug 1648747 [wpt PR 24357] - Update wpt metadata, a=testonly
wpt-pr: 24357
wpt-type: metadata
2020-10-26 12:06:39 +00:00
Philipp Hancke 5eb1a311a4 Bug 1648747 [wpt PR 24357] - webrtc: add WPT test for handling of unknown media types, a=testonly
Automatic update from web-platform-tests
webrtc: add WPT test for handling of unknown media types

asserting that a media type which is not understood is still kept in the
answer.

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

--

wpt-commits: 304915c05721c2dbbf0f439618e1125b343f258a
wpt-pr: 24357
2020-10-26 12:06:38 +00:00
Kagami Sascha Rosylight 2487a4bfe3 Bug 1673031 [wpt PR 26262] - Remove invalid relative import in vcs.py, a=testonly
Automatic update from web-platform-tests
Remove invalid relative import in vcs.py (#26262)

It was introduced by e98eee5, but absolute import alone works on both Py2/3.

Closes #26071

--

wpt-commits: 3db9eb442bedcc796ab7ecd1666cc1b6682e103a
wpt-pr: 26262
2020-10-26 12:06:38 +00:00
moz-wptsync-bot 46fed64a30 Bug 1672985 [wpt PR 26256] - Update wpt metadata, a=testonly
wpt-pr: 26256
wpt-type: metadata
2020-10-26 12:06:37 +00:00
Philip Jägenstedt df8aa5d90c Bug 1672985 [wpt PR 26256] - Tweak flexbox_justifycontent-center-overflow.html to match implementations, a=testonly
Automatic update from web-platform-tests
Tweak flexbox_justifycontent-center-overflow.html to match implementations (#26256)

The offsets -2.85em and 4.95em in the ref perhaps (at a guess) initially
matched precisely the Presto behavior, but now look like magic
constants, and is slightly off in all implementations:
https://wpt.fyi/results/css/css-flexbox/flexbox_justifycontent-center-overflow.html?run_id=711240001&run_id=697770002&run_id=737900001&run_id=715540002&run_id=705490001

Control the width of the boxes more explicitly, so that the ref can be
written in a more straightforward way.

Also replaces "dam" (lady in Norwegian) with "x" to make the text much
shorter than the span widths, and matching an earlier rewrite:
https://github.com/web-platform-tests/wpt/pull/16820
--

wpt-commits: a10802c3fb44605290b78773eb0080c75be8538c
wpt-pr: 26256
2020-10-26 12:06:37 +00:00
Bret Sepulveda e07e95f1c0 Bug 1672969 [wpt PR 26254] - Revert "[mathml] Implement special drawing of largeop operator in displaystyle", a=testonly
Automatic update from web-platform-tests
Revert "[mathml] Implement special drawing of largeop operator in displaystyle"

This reverts commit 830b5b3af88cbe3fc7e6169c9772fdebe01f6797.

Reason for revert: Causing crashes in several mathml tests on the MSAN bot. First failing build: https://ci.chromium.org/p/chromium/builders/ci/WebKit%20Linux%20MSAN/8001

Original change's description:
> [mathml] Implement special drawing of largeop operator in displaystyle
>
> This implements special drawing of largeop <mo> element in display style
> as described in step 3. of [1]. A new algorithm is introduced for that
> purpose and in particular only used for <mo> elements that are made of
> a single glyph. Existing painting logic for stretchy radical symbol is
> reused and adapted to work with largeop operators.
>
> [1] https://mathml-refresh.github.io/mathml-core/#layout-of-operators
>
> Bug: 6606
> Change-Id: Icca70f4bf464417809970fecc101e5aa7f149621
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2414298
> Commit-Queue: Rob Buis <rbuis@igalia.com>
> Reviewed-by: Koji Ishii <kojii@chromium.org>
> Reviewed-by: Frédéric Wang <fwang@igalia.com>
> Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#819855}

TBR=wangxianzhu@chromium.org,kojii@chromium.org,ikilpatrick@google.com,ikilpatrick@chromium.org,fwang@igalia.com,mstensho@chromium.org,rbuis@igalia.com

Change-Id: I97a8a0708d5acd3d43fd67a2deff3fed5967fc5e
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 6606
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2495061
Reviewed-by: Bret Sepulveda <bsep@chromium.org>
Commit-Queue: Bret Sepulveda <bsep@chromium.org>
Cr-Commit-Position: refs/heads/master@{#820204}

--

wpt-commits: 0c6b6ed8b55e50fbf5669874815bd6ea0eb1c5a9
wpt-pr: 26254
2020-10-26 12:06:36 +00:00
autofoolip 486b65950e Bug 1672917 [wpt PR 26249] - Update interfaces/webhid.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/webhid.idl (#26249)

Source: https://github.com/w3c/webref/blob/4095870/ed/idl/webhid.idl
Build: https://travis-ci.org/w3c/webref/builds/191845379
--

wpt-commits: 240e49c1f077b11fab75368490eb5c235e641994
wpt-pr: 26249
2020-10-26 12:06:36 +00:00
Koji Ishii 2a7907a649 Bug 1672914 [wpt PR 26248] - Fix NGLineBreaker::RewindOverflow crash, a=testonly
Automatic update from web-platform-tests
Fix NGLineBreaker::RewindOverflow crash

This patch is a re-fix of r819722 <crrev.com/c/2489730>.

It turned out that |NGLineBreaker| hangs the attached test
case before r819722, and crashes after. This is because
|Rewind| may fail if the line has floats, and in that case,
the current item is not a text item.

This patch changes it to just setting the state to |kTrailing|
and return, so that, if |Rewind| succeeds, |BreakLine| will
call |HandleText|, which will call |HandleTrailingSpaces| when
the text item starts with spaces.

When |Rewind| fails, |BreakLine| can handle non-text items too.

Bug: 1141384
Change-Id: I96e428d2c9ff50b3685c2a83eafdcea509749594
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2492700
Reviewed-by: Yoshifumi Inoue <yosin@chromium.org>
Commit-Queue: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#820154}

--

wpt-commits: 382094f140d39f6fa8b14ab15107bed84317e89a
wpt-pr: 26248
2020-10-26 12:06:35 +00:00
Yoav Weiss 839746390a Bug 1672934 [wpt PR 26214] - [beacon] Fix ArrayBuffer and URLSearchParams data, a=testonly
Automatic update from web-platform-tests
[beacon] Fix ArrayBuffer and URLSearchParams data

`navigator.sendBeacon()` was not handling DOMArrayBuffer and
URLSearchParams inputs properly, resulting in failing WPTs related to
the sent Content-Type, as well as in the wrong data sent in the case
of DOMArrayBuffers.
This CL fixes that.

Bug: 876671
Change-Id: I17674b3041aa0f0bdbd1a570ab34be48b0dd98b4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2489986
Commit-Queue: Yoav Weiss <yoavweiss@chromium.org>
Reviewed-by: Adam Rice <ricea@chromium.org>
Reviewed-by: Yutaka Hirano <yhirano@chromium.org>
Cr-Commit-Position: refs/heads/master@{#820134}

--

wpt-commits: 4a65f5002f1e2e778f62a9b99f4298dc8948f26c
wpt-pr: 26214
2020-10-26 12:06:35 +00:00
moz-wptsync-bot 9700d1f887 Bug 1672887 [wpt PR 26246] - Update wpt metadata, a=testonly
wpt-pr: 26246
wpt-type: metadata
2020-10-26 12:06:34 +00:00
arai-a ef426b85de Bug 1672887 [wpt PR 26246] - Fix Canvas drawImage tests not to expect INDEX_SIZE_ERR when source width/height is zero (fixes #2835), a=testonly
Automatic update from web-platform-tests
2d canvas: drawImage() does not throw "IndexSizeError" when source width/height is zero

Fixes #2835.
--

wpt-commits: c71e3bf23f8a328f68614fc1716d2659f2547eda
wpt-pr: 26246
2020-10-26 12:06:34 +00:00
autofoolip d4ad5887f2 Bug 1672868 [wpt PR 26244] - Update Safari Technology Preview to 115, a=testonly
Automatic update from web-platform-tests
Update Safari Technology Preview to 115

Version as reported by safaridriver --version:
Included with Safari Technology Preview (Release 115, 15611.1.3.5)

Source: https://developer.apple.com/safari/download/
Build: https://dev.azure.com/foolip/safari-technology-preview-updater/_build/results?buildId=2263&view=logs

--

wpt-commits: 8b1df3d520335fb42ef4bfd50b9121ac41995f8e
wpt-pr: 26244
2020-10-26 12:06:33 +00:00
Vladimir Levin 9849caf0b0 Bug 1672892 [wpt PR 26193] - HTMLPluginElement: Add object to frame view's update part if locked., a=testonly
Automatic update from web-platform-tests
HTMLPluginElement: Add object to frame view's update part if locked.

This patch ensures that when we delay the load because the plugins
need to be loaded and we're under a content-visibility lock, then
we add the object to be updated into frame view's list immediately

This is typically done during layout, but if layout is prevented then
we run into a possibility of delaying load event forever. Adding
the object to the update set immediately avoids the problem.

R=masonfreed@chromium.org

Bug: 1138128
Change-Id: I4d918c6bbdcd80aa6f01bf3b068acb64a93b0196
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2485671
Commit-Queue: vmpstr <vmpstr@chromium.org>
Reviewed-by: Mason Freed <masonfreed@chromium.org>
Reviewed-by: Stefan Zager <szager@chromium.org>
Cr-Commit-Position: refs/heads/master@{#820068}

--

wpt-commits: 3dd0797f48bc867df582d7e6d5673622e3593ed3
wpt-pr: 26193
2020-10-26 12:06:33 +00:00
Robert Ma 12a88605d9 Bug 1672835 [wpt PR 26242] - Remove sorting and de-duplication in media queries., a=testonly
Automatic update from web-platform-tests
Remove sorting and de-duplication in media queries.

This was removed from the spec per resolution[1] and incompatible with
never media queries. Improves interop with Gecko which have not seen any
issues with the different serialization.

Removed fast/media test which is covered by existing wpt tests.

[1] https://github.com/w3c/csswg-drafts/issues/5627#issuecomment-712475204

Bug: 1138859
Change-Id: I1483008c81df90f8277dcad7e90c8036c5cc019b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2478992
Reviewed-by: Xiaocheng Hu <xiaochengh@chromium.org>
Commit-Queue: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/master@{#819090}

--

wpt-commits: d004bddde373550fe9a563487adda3e17fc4c697
wpt-pr: 26242
2020-10-26 12:06:33 +00:00
Stephen McGruer b38cd77f20 Bug 1672830 [wpt PR 26204] - Document expectations for usage of new JS features, a=testonly
Automatic update from web-platform-tests
Document expectations for usage of new JS features (#26204)

These expectations were discussed by project maintainers at:

This is intended to resolve gh-6266.

Closes #6333

Co-authored-by: jugglinmike <mike@mikepennisi.com>
Co-authored-by: Robert Ma <robertma@chromium.org>
--

wpt-commits: 6ce75f4b08fff33f67d5e52005a8378ecbb82937
wpt-pr: 26204
2020-10-26 12:06:32 +00:00
Sam Sneddon 82e939870a Bug 1672819 [wpt PR 26086] - Check that CSS.supports and CSSStyleDeclaration agree, a=testonly
Automatic update from web-platform-tests
Check that CSS.supports and CSSStyleDeclaration agree

These should both reflect the supported property list, so they shouldn't
ever disagree with each other.

--

wpt-commits: f5aba4f4794e0c88a896af7f1168cba89bab9fb0
wpt-pr: 26086
2020-10-26 12:06:32 +00:00
Koji Ishii 802316c211 Bug 1672634 [wpt PR 26229] - Fix line cache when `-webkit-line-clamp` is specified, a=testonly
Automatic update from web-platform-tests
Fix line cache when `-webkit-line-clamp` is specified

|NGBlockLayoutAlgorithm| has two branches, one when
|lines_until_clamp_| becomes |<= 0| by the layout, and another
when it is |== 0|.

To make sure we run all these logic, this patch:
* Updates |lines_until_clamp_| by the number of reused lines.
* Limits reusing only up to 1, so that conditions above go
  normal layout codepath.

Bug: 1140951
Change-Id: I15fe81b4957fe70d23bb88aae700642297bb1550
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2491561
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Commit-Queue: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#819867}

--

wpt-commits: 97022d8af975e4f7612e58dbf56a8df93bf6c4d4
wpt-pr: 26229
2020-10-26 12:06:31 +00:00
moz-wptsync-bot 9ebde0c66f Bug 1672739 [wpt PR 26236] - Update wpt metadata, a=testonly
wpt-pr: 26236
wpt-type: metadata
2020-10-26 12:06:31 +00:00
Steven Bingler 3ecdd8e403 Bug 1672739 [wpt PR 26236] - Make schemeful websocket test more robust, a=testonly
Automatic update from web-platform-tests
Make schemeful websocket test more robust

This change makes the regexp more strict and cleans up the test's
cookies when finished.

Bug: 1141450
Change-Id: I706e42f321f4dbcc58931634356bab2b1e56fb05
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2492240
Commit-Queue: Steven Bingler <bingler@chromium.org>
Reviewed-by: Mike West <mkwst@chromium.org>
Cr-Commit-Position: refs/heads/master@{#819880}

--

wpt-commits: dedb110a5f5f4366af3348fc44f7cd4c5063359a
wpt-pr: 26236
2020-10-26 12:06:30 +00:00
moz-wptsync-bot 9d1d799f33 Bug 1665865 [wpt PR 25617] - Update wpt metadata, a=testonly
wpt-pr: 25617
wpt-type: metadata
2020-10-26 12:06:30 +00:00
Rob Buis 96e7a9eb95 Bug 1665865 [wpt PR 25617] - [mathml] Implement special drawing of largeop operator in displaystyle, a=testonly
Automatic update from web-platform-tests
[mathml] Implement special drawing of largeop operator in displaystyle

This implements special drawing of largeop <mo> element in display style
as described in step 3. of [1]. A new algorithm is introduced for that
purpose and in particular only used for <mo> elements that are made of
a single glyph. Existing painting logic for stretchy radical symbol is
reused and adapted to work with largeop operators.

[1] https://mathml-refresh.github.io/mathml-core/#layout-of-operators

Bug: 6606
Change-Id: Icca70f4bf464417809970fecc101e5aa7f149621
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2414298
Commit-Queue: Rob Buis <rbuis@igalia.com>
Reviewed-by: Koji Ishii <kojii@chromium.org>
Reviewed-by: Frédéric Wang <fwang@igalia.com>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#819855}

--

wpt-commits: 849c93ccec0cf5fcfbd641d003639be851c51c45
wpt-pr: 25617
2020-10-26 12:06:29 +00:00
Nicolás Peña Moreno cb3dd34a13 Bug 1672765 [wpt PR 26209] - Reland "[Longtasks] Fix buffering before observer", a=testonly
Automatic update from web-platform-tests
Reland "[Longtasks] Fix buffering before observer"

This is a reland of c2d62d3604e218cfd1b62877684c634980aea3f7. This is
safe to reland because it got reverted due to the issue that has been
fixed in https://bugs.chromium.org/p/chromium/issues/detail?id=1108676.

Original change's description:
> [Longtasks] Fix buffering before observer
>
> When we shipped longtasks with buffered flag, we forgot to remove a
> check that would prevent longtask creation when there's no observer.
> This CL fixes this and adds a test for this case. It also moves the
> UseCounter to the observe() method.
>
> Bug: 1131385
> Change-Id: I2911b9ab044db7394bcf64f64b1e599959cbdc37
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2463594
> Reviewed-by: Steve Kobes <skobes@chromium.org>
> Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#816664}

Bug: 1131385
Change-Id: I8640abc566fc7eceaf44e80c04d23ca59182542d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2491100
Reviewed-by: Steve Kobes <skobes@chromium.org>
Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#819832}

--

wpt-commits: 9816079c0f88f2a5562ee3245d53e202123a5a36
wpt-pr: 26209
2020-10-26 12:06:29 +00:00
James Graham 38d5f28441 Bug 1672756 [wpt PR 7942] - Handle spaces in path in |wpt test-files|, a=testonly
Automatic update from web-platform-tests
Handle spaces in path in |wpt test-files|

Previously spaces in path would produce ValueError: too many values to
unpack. Explicitly only split on the first space to account for this.

--

wpt-commits: 294638b205fc7c03f65fdd41ffc5ef82f529a07f
wpt-pr: 7942
2020-10-26 12:06:28 +00:00
Reilly Grant ea68034cc6 Bug 1672755 [wpt PR 26212] - bluetooth: Fix tests which assume cross-origin user activation, a=testonly
Automatic update from web-platform-tests
bluetooth: Fix tests which assume cross-origin user activation

These tests were broken by User Activation v2 because they assumed that
an activation is inherited by cross-origin child frames. The tests have
been updated to use test_driver.click() in the iframe to create their
own activation.

Bug: 860713
Change-Id: I5b3d6d17d97098eaa1689e77f5fc112002f76795
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2491683
Auto-Submit: Reilly Grant <reillyg@chromium.org>
Commit-Queue: Mustaq Ahmed <mustaq@chromium.org>
Reviewed-by: Mustaq Ahmed <mustaq@chromium.org>
Cr-Commit-Position: refs/heads/master@{#819815}

--

wpt-commits: 4ba4f7e3d12c71799c531f72eeee946d1433aef5
wpt-pr: 26212
2020-10-26 12:06:28 +00:00
ziransun 157d2be530 Bug 1672671 [wpt PR 26182] - Python 3: Remove xfail comments, a=testonly
Automatic update from web-platform-tests
Python 3: Remove xfail comment (#26182)

--

wpt-commits: fc7a52d57549a09934606da3fb7eda51623eb9af
wpt-pr: 26182
2020-10-26 12:06:27 +00:00
ziransun 8e6352906f Bug 1672668 [wpt PR 26184] - Python 3: replace deprecated Assertregexpmatches use for Py3, a=testonly
Automatic update from web-platform-tests
Python 3: replace deprecated Assertregexpmatches use for Py3 (#26184)

--

wpt-commits: 38a1e0ae8147790ff3f9c6314dbca88be62299d0
wpt-pr: 26184
2020-10-26 12:06:27 +00:00
Felipe Erias 8a3a51644f Bug 1672657 [wpt PR 26210] - CSS parsing of scrollbar-width, a=testonly
Automatic update from web-platform-tests
CSS parsing of scrollbar-width

The scrollbar-width CSS property allows the author to set the
maximum thickness of an element’s scrollbars when they are shown.
Its value is one of the keywords "auto", "thin", and "none".

This is part of the CSSScrollbars feature (status: test).

See the CSS Scrollbars spec for more details:
https://drafts.csswg.org/css-scrollbars

Bug: 891944
Change-Id: Iddc833d6af877c312a11452a6cfdcb05d45b1a63
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2488947
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Felipe Erias Morandeira <felipeerias@gmail.com>
Cr-Commit-Position: refs/heads/master@{#819763}

--

wpt-commits: 7fda9d4ab2a78b76848500554894bbfc3836f092
wpt-pr: 26210
2020-10-26 12:06:26 +00:00
Philip Jägenstedt 836893191c Bug 1672651 [wpt PR 26200] - Remove worklets.idl and let tests depend on html.idl for worklets, a=testonly
Automatic update from web-platform-tests
Remove worklets.idl and let tests depend on html.idl for worklets (#26200)

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

wpt-commits: c4ed5ee1674c2b18f8aa6b3d26a2bd7861e8f450
wpt-pr: 26200
2020-10-26 12:06:26 +00:00
Kent Tamura 98987a7eb8 Bug 1672630 [wpt PR 26228] - html: Merge two fieldset tests, a=testonly
Automatic update from web-platform-tests
html: Merge two fieldset tests

Having both of fieldset-percent-height.html and
fieldset-percetage-block-size.html is confusing. Merge the new one into
the old one.

Change-Id: Ibcdf17d744c4cd622a8db33f6706cdc9f65ad416
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2491573
Commit-Queue: Koji Ishii <kojii@chromium.org>
Auto-Submit: Kent Tamura <tkent@chromium.org>
Reviewed-by: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#819761}

--

wpt-commits: 6b9d4a7cccaa6e6d551002aa2025faad50199795
wpt-pr: 26228
2020-10-26 12:06:26 +00:00
moz-wptsync-bot e305360476 Bug 1670218 [wpt PR 26063] - Update wpt metadata, a=testonly
wpt-pr: 26063
wpt-type: metadata
2020-10-26 12:06:25 +00:00
Hiroshige Hayashizaki 26e764bae5 Bug 1670218 [wpt PR 26063] - [WPT] Add tests for module service worker static import + path restriction, a=testonly
Automatic update from web-platform-tests
[WPT] Add tests for module service worker static import + path restriction

Path restriction check
https://w3c.github.io/ServiceWorker/#path-restriction
shouldn't be done for non-top-level module scripts.

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

--

wpt-commits: e257d80ac7151243d0fcf6f4d5397b0f3f3629cc
wpt-pr: 26063
2020-10-26 12:06:25 +00:00
Koji Ishii 853a5b0694 Bug 1672662 [wpt PR 26211] - Call |HandleTrailingSpaces| even if |shape_result| is nullptr, a=testonly
Automatic update from web-platform-tests
Call |HandleTrailingSpaces| even if |shape_result| is nullptr

r796465 crrev.com/c/2344431 changed |HandleOverflow| to call
|HandleTrailingSpaces| only if |shape_result| is not nullptr.

crbug.com/1139513 found that this change caused M86 to hang.

M87 and later has a new trailing space code in r807457
crrev.com/c/2412307 and that the symptom is not observed.
However, this indicates that we may hang if we go to the
codepath in any other conditions.

This patch:
1. Reverts the behavior to M85/86.
2. Change the function to take the pointer of |shape_result|
   instead of ref to indicate it can be nullptr.

|HandleTrailingSpaces| needs |shape_result| only under certain
condition, and the current assumption is that the combination
will not occur.

Change-Id: Ide9f48e14657c8e3c893fd506fee8412216df25f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2489730
Reviewed-by: Yoshifumi Inoue <yosin@chromium.org>
Reviewed-by: Kent Tamura <tkent@chromium.org>
Commit-Queue: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#819722}

--

wpt-commits: a84b1954e0a68fcd7cfb7b4c0fd9101c3359c680
wpt-pr: 26211
2020-10-26 12:06:24 +00:00
moz-wptsync-bot 56de06bb45 Bug 1672658 [wpt PR 26197] - Update wpt metadata, a=testonly
wpt-pr: 26197
wpt-type: metadata
2020-10-26 12:06:24 +00:00
Matt Wolenetz 835827b944 Bug 1672658 [wpt PR 26197] - MSE-in-Workers: Enable experimental proactive feature detection, a=testonly
Automatic update from web-platform-tests
MSE-in-Workers: Enable experimental proactive feature detection

Adds a readonly, boolean-valued, static attribute named
`canConstructInDedicatedWorker` to the MediaSource interface.
Currently, this attribute is only visible to web apps if the
RunTimeEnabledFeature "MediaSourceInWorkers" is enabled. When visible,
this attribute always returns true.

The primary goal of having this attribute is to enable web app's main
thread to proactively determine whether or not MSE is supported from a
dedicated worker context *before* deciding whether or not to create or
try using MSE from such a context.

As an initial example of this use case, the existing MSE-in-Workers
web_tests are updated to use this new attribute's existence and value
to fail-fast rather than potentially flakily fail (e.g. previously, the
...worker-terminate test might flakily pass/fail some of its test cases
on implementations lacking MSE-in-Workers support if the test completed
before handling receipt of error message from worker.)

A further test is added to ensure that, if the attribute is missing or
exists but is not `true`, a dedicated worker does not have ability to
construct a MediaSource instance. See also
https://github.com/w3c/media-source/issues/175 for further discussion
which led to this new attribute.

BUG=878133

Change-Id: I697ca6adc5b5dc65d5c5084ff67a541430a9237b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2487834
Commit-Queue: Matthew Wolenetz <wolenetz@chromium.org>
Reviewed-by: Will Cassella <cassew@google.com>
Cr-Commit-Position: refs/heads/master@{#819564}

--

wpt-commits: 0718e9cda140e8e786a0810a6ab4bda161158c91
wpt-pr: 26197
2020-10-26 12:06:23 +00:00
Nina Satragno 18f46f77cc Bug 1672557 [wpt PR 26206] - [testdriver] Binary values should be base64url, a=testonly
Automatic update from web-platform-tests
[testdriver] Binary values should be base64url

On testdriver virtual authenticator tests, binary values were being
encoded as base64 instead of base64url. This didn't blow anything up
because the test values happened to have the same representation in
both, but is still a bug.

Bug: 1141104
Change-Id: I6edd7fdfd4ab0f9ae1d196d8f2e14ed2bd9e334d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2490230
Commit-Queue: Nina Satragno <nsatragno@chromium.org>
Auto-Submit: Nina Satragno <nsatragno@chromium.org>
Reviewed-by: Robert Ma <robertma@chromium.org>
Cr-Commit-Position: refs/heads/master@{#819523}

--

wpt-commits: 784233cdb816df877bcd4dcfa87ee71bb14f01de
wpt-pr: 26206
2020-10-26 12:06:23 +00:00
Stephen Chenney 761308658a Bug 1672555 [wpt PR 26198] - [Image-Orientation] Always orient cross-origin images, a=testonly
Automatic update from web-platform-tests
[Image-Orientation] Always orient cross-origin images

Enforce the requirement that all uses of images
always orient when the image is cross origin. We
rely on ImageResourceContent::IsAccessAllowed and
ConvasImageSource::WouldTaintOrigin.

Bug: 1110330
Change-Id: I017b4fbf045eb8b0080ba85c49abfba02d2843ff
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2473799
Commit-Queue: Stephen Chenney <schenney@chromium.org>
Reviewed-by: Fredrik Söderquist <fs@opera.com>
Reviewed-by: Fernando Serboncini <fserb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#819513}

--

wpt-commits: b92c26342b057bca99f31cb3a5e0efea4f06f4d2
wpt-pr: 26198
2020-10-26 12:06:22 +00:00
moz-wptsync-bot ae41991deb Bug 1662666 [wpt PR 25354] - Update wpt metadata, a=testonly
wpt-pr: 25354
wpt-type: metadata
2020-10-26 12:06:22 +00:00
Anne van Kesteren 9ce527e0c5 Bug 1662666 [wpt PR 25354] - CSS Geometry: use idl_test and .any.js, a=testonly
Automatic update from web-platform-tests
CSS Geometry: use idl_test and .any.js (#25354)

--

wpt-commits: daeb1076798015a0bca4474bc77f1235bfd9612c
wpt-pr: 25354
2020-10-26 12:06:21 +00:00
Carlos Garcia Campos a8103d41a0 Bug 1672551 [wpt PR 26183] - webdriver: handle events with Unidentified key code, a=testonly
Automatic update from web-platform-tests
webdriver: handle events with Unidentified key code (#26183)

WebKit sets the event key code as Unidentified as per the spec (see
https://www.w3.org/TR/uievents-code/), but WebDriver tests expect an
empty string for the case of unidentified key codes. This patch changes
the code to an empty string when Unidentified is found.
--

wpt-commits: b57da97fc05e5440ae675027dd45a26be48e2dbd
wpt-pr: 26183
2020-10-26 12:06:21 +00:00
Stephen McGruer 2063f6957e Bug 1672550 [wpt PR 26155] - [testharness.js] Fix bug in get_test_name, a=testonly
Automatic update from web-platform-tests
[testharness.js] Fix bug in get_test_name

The duplicate detection code previously mutated 'trimmed' before
checking the duplicate-detection cache, so repeated subtest names would
all just get '1' appended, rather than 1, 2, 3, ...

--
Actually fix bug

--
Fix properly

--
Address review comemnt

--

wpt-commits: a88b2a57daf3ddaf6405a52269fe8aa60341f520, bd11431fbbda3865475c7d2ac12f920224ecea53, fbb40dbaa03a8a6e5b8644ed455aabc7a8a541fc, f38fb11d44877268aae773a170720de80d748a36
wpt-pr: 26155
2020-10-26 12:06:20 +00:00
David Grogan a1a7b4e77a Bug 1672549 [wpt PR 26199] - [css-flex] Add regression test for SVG sizing bug fixed in FlexNG, a=testonly
Automatic update from web-platform-tests
[css-flex] Add regression test for SVG sizing bug fixed in FlexNG

Just a test, no behavior change.

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

--

wpt-commits: 9d0fce868073a1b4bb8e603352d559f727d44ba3
wpt-pr: 26199
2020-10-26 12:06:20 +00:00
Stephen McGruer 76c2abd625 Bug 1672546 [wpt PR 26157] - Deflake external/wpt/infrastructure/testdriver/click_iframe_crossorigin.sub.html, a=testonly
Automatic update from web-platform-tests
Deflake external/wpt/infrastructure/testdriver/click_iframe_crossorigin.sub.html

This test can flake if the iframe is loaded OOP and the child script
runs before the parent script.

Bug: 1137228
Change-Id: I13b8d2d85cae6d0eb5ab00029a388ea321c86150
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2481347
Commit-Queue: Stephen McGruer <smcgruer@chromium.org>
Reviewed-by: Robert Ma <robertma@chromium.org>
Cr-Commit-Position: refs/heads/master@{#819340}

--

wpt-commits: 74df723a13ac81eae8f6d31d59eaba0c43b8b5df
wpt-pr: 26157
2020-10-26 12:06:20 +00:00
ziransun 5701813e9c Bug 1672545 [wpt PR 26202] - Python3: Remove xfail for wpt unit tests in PY3, a=testonly
Automatic update from web-platform-tests
Python3: Remove xfail for wpt unit tests in PY3 (#26202)

Tests in test_wpt.py were marked as xfail due to virtualenv
activation issue (https://github.com/pypa/virtualenv/issues/1710)
This issue has now been solved.
--

wpt-commits: 35faa70dcf2889231814b97c6a04e6fee8916e0e
wpt-pr: 26202
2020-10-26 12:06:19 +00:00
ziransun 3ca758bc5f Bug 1672544 [wpt PR 26186] - Minor change on http compatibility statement, a=testonly
Automatic update from web-platform-tests
Minor change on http compatibility statement (#26186)

--

wpt-commits: 08d3be256f479ee4a687514e544129d564cc7a86
wpt-pr: 26186
2020-10-26 12:06:19 +00:00
moz-wptsync-bot 82cfa6926f Bug 1672543 [wpt PR 26201] - Update wpt metadata, a=testonly
wpt-pr: 26201
wpt-type: metadata
2020-10-26 12:06:18 +00:00
Florian Rivoal 71fc0ad77b Bug 1672543 [wpt PR 26201] - Check that contain strict and content compute to the longhands, a=testonly
Automatic update from web-platform-tests
Check that contain strict and content compute to the longhands (#26201)

They serialize back to the shorthand thanks to the shortest
serialization principle
--

wpt-commits: 98c4e2d52402156bfafcd1466985b5336f6c7240
wpt-pr: 26201
2020-10-26 12:06:18 +00:00
moz-wptsync-bot 45f825c9a0 Bug 1672542 [wpt PR 26158] - Update wpt metadata, a=testonly
wpt-pr: 26158
wpt-type: metadata
2020-10-26 12:06:17 +00:00
J. King 466644343c Bug 1672542 [wpt PR 26158] - Encoding: ISO-2022-JP encoder "SO/SI ESC" test, a=testonly
Automatic update from web-platform-tests
Encoding: more ISO-2022-JP encoder tests

Also correct existing "SO/SI ESC" test for which expected behavior changed in 2016 as per f9540e53e7.

Co-authored-by: Anne van Kesteren <annevk@annevk.nl>
--

wpt-commits: 1821fb5f77723b5361058c6a8ed0b71f9d2d6b8d
wpt-pr: 26158
2020-10-26 12:06:17 +00:00
Arnaud Mandy 0093e399ff Bug 1672541 [wpt PR 26185] - screen enumeration: rename test to run in secure context., a=testonly
Automatic update from web-platform-tests
screen enumeration: rename test to run in secure context.

Test is not passing in upstream wpt due to insecure
context error.
https://wpt.fyi/results/screen_enumeration/screen_enumeration_permission.window.html?run_id=728120001

Renaming file with .https. extension to use secure context.

Bug: 1075656
Change-Id: I5842a253d296b364bfc26130b7f0f0af23dc90de
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2485503
Reviewed-by: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
Reviewed-by: Michael Wasserman <msw@chromium.org>
Commit-Queue: Arnaud Mandy <arnaud.mandy@intel.com>
Cr-Commit-Position: refs/heads/master@{#819237}

--

wpt-commits: 0a45e9baf952da4787f81ca93d34dfad3ca24d33
wpt-pr: 26185
2020-10-26 12:06:16 +00:00
moz-wptsync-bot 97c81bbae7 Bug 1672539 [wpt PR 26117] - Update wpt metadata, a=testonly
wpt-pr: 26117
wpt-type: metadata
2020-10-26 12:06:16 +00:00