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

29414 Коммитов

Автор SHA1 Сообщение Дата
Sebastian Hengst a8b9b8ccc3 Bug 1692432 - set line-break-loose-hyphens-002.html as intermittent on Windows 7 opt. DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D105063
2021-02-12 21:28:44 +00:00
Andrew McCreight c9184addb2 Bug 1692341 - Enable more pushState tests with Fission. r=smaug
Also, remove an empty WPT ini file.

Differential Revision: https://phabricator.services.mozilla.com/D105058
2021-02-12 20:20:59 +00:00
Emilio Cobos Álvarez 951a0342d6 Bug 1692380 - The intrinsic min isize of the marquee scroller should be zero. r=dholbert
I couldn't come up with a way to effectively cause this effect with
regular CSS I could put in marquee.css... But this matches the legacy
xul behavior and the chrome behavior, which should be compatible.

This undoes a reftest expectation change I included in bug 1618584. Our
behavior in those tests before this patch matches Safari, but Safari
passes the test I'm adding on this bug, so it is somewhat inconsistent.

Differential Revision: https://phabricator.services.mozilla.com/D105045
2021-02-12 19:32:22 +00:00
James Graham 3b80b039ed Bug 1691845 - Update metadata for counter-styles test, r=aryx DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D104708
2021-02-12 18:00:12 +00:00
Pierre TALLOTTE cc28f15d09 Bug 1688695 - Hide non-standard values of caption-side. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D104321
2021-02-12 15:45:48 +00:00
moz-wptsync-bot b392049f19 Bug 1692236 - [wpt-sync] Update web-platform-tests to d686fe762cfdefeb887ef6965b873c65bbe48508, a=testonly
MANUAL PUSH: wpt sync bot

wpt-head: d686fe762cfdefeb887ef6965b873c65bbe48508
wpt-type: landing
2021-02-12 12:12:41 +00:00
Thiemo Nagel f573ba9a63 Bug 1692179 [wpt PR 27590] - Revert "[TablesNG] Implement column track merging", a=testonly
Automatic update from web-platform-tests
Revert "[TablesNG] Implement column track merging"

This reverts commit 2dadda0cccbda46a2fffe23e8c607e88f4d45394.

Reason for revert: Suspected cause of paint/tables/huge-table-composited-scroll-collapsed-borders.html failures

https://ci.chromium.org/ui/p/chromium/builders/ci/WebKit%20Linux%20ASAN/22054

Original change's description:
> [TablesNG] Implement column track merging
>
> One the a11y requirements was that tables should do track merging.
> I've skipped implementing this initially because there was major
> disagreement about what to do.
>
> This implementation follows the standard.
> Columns defined by TD or COL are merged for table-layout:auto,
> and not merged for table-layout:fixed.
>
> Legacy did not follow the standard for columns defined by TDs:
> they were always merged. Firefox implementation was closer to
> standard, but sometimes buggy.
>
> This changes results of some tests. Almost all of them are because
> "TablesNG is more standards compliant", and new renderings match
> FF.
>
> There is disagreement about treatment of empty rows between
> FF and TablesNGNG.
>
> external/wpt/css/css-tables/html5-table-formatting-1.html
> external/wpt/css/css-tables/html5-table-formatting-2.html
>
> The rest of the changes render better, just like FF.
>
> Two new tests have been added:
> wpt/css/css-tables/column-track-merging.html
> tests the standard.
>
> accessibility/table-column-track-merging.html
> tests Chrome's a11y API.
>
> Change-Id: Ia222351f7c500963ace556d76c26fcefb1df24e1
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2670193
> Commit-Queue: Aleks Totic <atotic@chromium.org>
> Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
> Reviewed-by: David Grogan <dgrogan@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#852958}

TBR=dgrogan@chromium.org,ikilpatrick@chromium.org,atotic@chromium.org,chromium-scoped@luci-project-accounts.iam.gserviceaccount.com

Change-Id: Id914684949be4eb6196a850bb1168d25872346ef
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2690334
Reviewed-by: Thiemo Nagel <tnagel@chromium.org>
Commit-Queue: Thiemo Nagel <tnagel@chromium.org>
Cr-Commit-Position: refs/heads/master@{#853075}

--

wpt-commits: 496c290543d0572ec532b092a3b2e7fe03381293
wpt-pr: 27590
2021-02-12 12:12:41 +00:00
Philip Jägenstedt c8a8f29284 Bug 1692056 [wpt PR 27582] - Include print reftests in the `./wpt tests-affected` logic, a=testonly
Automatic update from web-platform-tests
Include print reftests in the `./wpt tests-affected` logic

--

wpt-commits: 35c43e0c51326c7f60a2623362720b46783675c0
wpt-pr: 27582
2021-02-12 12:12:40 +00:00
moz-wptsync-bot d08b582aa7 Bug 1690933 [wpt PR 27497] - Update wpt metadata, a=testonly
wpt-pr: 27497
wpt-type: metadata
2021-02-12 12:12:40 +00:00
Daniel Clark f751aa483f Bug 1690933 [wpt PR 27497] - Check MIME type against asserted module type in ModuleScriptFetcher, a=testonly
Automatic update from web-platform-tests
Check MIME type against asserted module type in ModuleScriptFetcher

Add module type to the module map key.

Plumb module type into ModuleScriptFetcher and its subclasses, and
require that the MIME type match the type that was specified with
import assertions.

Add the necessary import assertions to the JSON/CSS module web tests
so that they continue passing.  Add tests to ensure that the modules
don't load when the correct assertion is not present.

A minor functional change to JSON modules is that trying to start a
a Worker with a top-level JSON module (e.g. new Worker("./foo.json"))
now results in a rejected Promise, instead of loading a no-op worker
without an error.  This change follows the spec change at
https://github.com/whatwg/html/pull/5658/; note that the invocation
of 'fetch a single module script' from 'fetch a worklet/module worker
script graph' doesn't pass a ModuleRequest, so the type is assumed to
be JavaScript, and a failure will be triggered if the MIME type is
not JavaScript.

Some of the non-virtual versions of the tests now time out because
the import assertion syntax is seen as a syntax error when
--harmony-import-assertions is not enabled, causing <script>s not to
run.  TestExpectations is updated to account for these.

Bug: 1132413
Change-Id: I01bf7d907a96e791208534c9c4f2af11434c76db
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2674259
Commit-Queue: Dan Clark <daniec@microsoft.com>
Reviewed-by: Kouhei Ueno <kouhei@chromium.org>
Reviewed-by: Hiroshige Hayashizaki <hiroshige@chromium.org>
Cr-Commit-Position: refs/heads/master@{#852991}

--

wpt-commits: 2c6f296858c62d4628bf58d2db4af687edbf674e
wpt-pr: 27497
2021-02-12 12:12:39 +00:00
moz-wptsync-bot 63f1337af3 Bug 1692105 [wpt PR 27583] - Update wpt metadata, a=testonly
wpt-pr: 27583
wpt-type: metadata
2021-02-12 12:12:39 +00:00
Eugene Zemtsov d7d9af2027 Bug 1692105 [wpt PR 27583] - webcodecs: Audio encoding and decoding full cycle test, a=testonly
Automatic update from web-platform-tests
webcodecs: Audio encoding and decoding full cycle test

Plus minor improvement in debugging logs.

Bug: 1094182, 1177021
Change-Id: I8f0b6991b645cf1262fdd135478a9a73d7cd5b39
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2688624
Commit-Queue: Eugene Zemtsov <eugene@chromium.org>
Reviewed-by: Thomas Guilbert <tguilbert@chromium.org>
Cr-Commit-Position: refs/heads/master@{#852980}

--

wpt-commits: 5b24cbf8560bc359a96872c2df2f902559b9b189
wpt-pr: 27583
2021-02-12 12:12:38 +00:00
moz-wptsync-bot a2fddc0b37 Bug 1690448 [wpt PR 27451] - Update wpt metadata, a=testonly
wpt-pr: 27451
wpt-type: metadata
2021-02-12 12:12:38 +00:00
Aleks Totic f9857b8c1d Bug 1690448 [wpt PR 27451] - [TablesNG] Implement column track merging, a=testonly
Automatic update from web-platform-tests
[TablesNG] Implement column track merging

One the a11y requirements was that tables should do track merging.
I've skipped implementing this initially because there was major
disagreement about what to do.

This implementation follows the standard.
Columns defined by TD or COL are merged for table-layout:auto,
and not merged for table-layout:fixed.

Legacy did not follow the standard for columns defined by TDs:
they were always merged. Firefox implementation was closer to
standard, but sometimes buggy.

This changes results of some tests. Almost all of them are because
"TablesNG is more standards compliant", and new renderings match
FF.

There is disagreement about treatment of empty rows between
FF and TablesNGNG.

external/wpt/css/css-tables/html5-table-formatting-1.html
external/wpt/css/css-tables/html5-table-formatting-2.html

The rest of the changes render better, just like FF.

Two new tests have been added:
wpt/css/css-tables/column-track-merging.html
tests the standard.

accessibility/table-column-track-merging.html
tests Chrome's a11y API.

Change-Id: Ia222351f7c500963ace556d76c26fcefb1df24e1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2670193
Commit-Queue: Aleks Totic <atotic@chromium.org>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Reviewed-by: David Grogan <dgrogan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#852958}

--

wpt-commits: 6902c0348cafb66a237b5ce75d9b3038bd3f3f87
wpt-pr: 27451
2021-02-12 12:12:37 +00:00
Lan Wei 79d5d5d085 Bug 1690962 [wpt PR 27498] - Add error message for keyDown and keyUp actions in testdriver-vendor.js, a=testonly
Automatic update from web-platform-tests
Add error message for keyDown and keyUp actions in testdriver-vendor.js

There are some actions that testdriver Action function supports when
the tests are running on wpt serve, but not when running on content
shell, such as keyDown and keyUp.

I add an error messages to resources/testdriver-vendor.js to
inform people to not use keyDown and keyUp actions in web tests.

Bug: 1174386
Change-Id: Ia723383fac948a1611d54aff7b9dd6f7e187d009
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2673923
Commit-Queue: Lan Wei <lanwei@chromium.org>
Reviewed-by: Philip Jägenstedt <foolip@chromium.org>
Cr-Commit-Position: refs/heads/master@{#852929}

--

wpt-commits: 634384fb5674ec7185ce491911f06dc766db80c0
wpt-pr: 27498
2021-02-12 12:12:37 +00:00
moz-wptsync-bot 753f7076bd Bug 1688936 [wpt PR 27336] - Update wpt metadata, a=testonly
wpt-pr: 27336
wpt-type: metadata
2021-02-12 12:12:36 +00:00
Philipp Hancke 5196a2075f Bug 1688936 [wpt PR 27336] - webrtc wpt: do not use assert in helper function, a=testonly
Automatic update from web-platform-tests
webrtc wpt: do not use assert in helper function

this spams the testharness log of assertions a test runs

BUG=None

Change-Id: Ib14a7d45f3e18723a667ac292ecb3bdfd2e64ce3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2649933
Reviewed-by: Henrik Boström <hbos@chromium.org>
Reviewed-by: Harald Alvestrand <hta@chromium.org>
Commit-Queue: Philipp Hancke <philipp.hancke@googlemail.com>
Cr-Commit-Position: refs/heads/master@{#852848}

--

wpt-commits: 7ac29511f2edf0203af1911013017f2c6598f035
wpt-pr: 27336
2021-02-12 12:12:36 +00:00
moz-wptsync-bot 377243f8e8 Bug 1691990 [wpt PR 27572] - Update wpt metadata, a=testonly
wpt-pr: 27572
wpt-type: metadata
2021-02-12 12:12:36 +00:00
Mason Freed 2760c046b8 Bug 1691990 [wpt PR 27572] - Implement the beginnings of "light dismiss" behavior for <popup>, a=testonly
Automatic update from web-platform-tests
Implement the beginnings of "light dismiss" behavior for <popup>

With this CL, clicking outside a popup will dismiss that popup,
along with all others in the popup stack. Clicking within a
popup will preserve that popup in the visible state, but will
hide any popups above that popup in the stack.

Bug: 1168738
Change-Id: Ibb8fc90ba19929a04d746fbf092001f546fb1e75
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2683092
Auto-Submit: Mason Freed <masonfreed@chromium.org>
Reviewed-by: Ionel Popescu <iopopesc@microsoft.com>
Commit-Queue: Mason Freed <masonfreed@chromium.org>
Cr-Commit-Position: refs/heads/master@{#852844}

--

wpt-commits: 11b221b929db4793bc273cfdf96e85c7ef277a5a
wpt-pr: 27572
2021-02-12 12:12:35 +00:00
Xiaocheng Hu 32fe4ea1aa Bug 1691857 [wpt PR 27560] - Implement CSSOM CSSCounterStyleRule API setters (p1), a=testonly
Automatic update from web-platform-tests
Implement CSSOM CSSCounterStyleRule API setters (p1)

This patch implements the framework for CSSCounterStyleRule setters
and invalidations:

1. If the value is valid, setter modifies the underlying
   StyleRuleCounterStyle, increments its version number and mark counter
   styles need update
2. During counter style update, CounterStyles are marked dirty if its
   underlying StyleRuleCounterStyle has been changed (detected by
   version checking).

Then we use to the existing dirtiness-marking and invalidation code path
for the remaining job.

This patch also implements setters for the following attributes:
- negative
- prefix
- suffix
- pad
- range
- fallback
- speakAs

Other attributes require are more complicated and will be implemented
in follow-up patches.

Bug: 687225
Change-Id: Ic9ceacf19da1c3739f98c80dde07814784258649
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2686322
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#852835}

--

wpt-commits: 4edc28a24eebd5308176cd875cdb4ac1ee467f8e
wpt-pr: 27560
2021-02-12 12:12:34 +00:00
Lan Wei bc9d1702b7 Bug 1692025 [wpt PR 27577] - Fix the Pointerevents IDL WPT test, a=testonly
Automatic update from web-platform-tests
Fix the Pointerevents IDL WPT test

Right now, the pointerevents IDL WPT test has errors of calling
"setPointerCapture", "releasePointerCapture" and "hasPointerCapture"
functions on document, because these three functions are defined in
"Element", and "Document" is not a subclass of "Element". That is why we
see the errors, such as "FAIL Element interface: document must inherit
property "setPointerCapture(long)" with the proper type assert_inherits:
property "setPointerCapture" not found in prototype chain".

I fixed it by changing the "document" to "document.body", which is an
element.

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

--

wpt-commits: d0f2ce4b18d7a07fe9771605a293fdbb7a5200f8
wpt-pr: 27577
2021-02-12 12:12:34 +00:00
moz-wptsync-bot 8ba6eaf2e6 Bug 1691708 [wpt PR 27546] - Update wpt metadata, a=testonly
wpt-pr: 27546
wpt-type: metadata
2021-02-12 12:12:33 +00:00
Aaron Krajeski bc5246d451 Bug 1691708 [wpt PR 27546] - Add perspective setter for CanvasRenderingContext2D, a=testonly
Automatic update from web-platform-tests
Add perspective setter for CanvasRenderingContext2D

Bug: 1140535
Change-Id: Ie728bc366e3f41b6a28ea39fdf78fc47f7c188e6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2674019
Commit-Queue: Aaron Krajeski <aaronhk@chromium.org>
Reviewed-by: Xida Chen <xidachen@chromium.org>
Reviewed-by: Fernando Serboncini <fserb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#852796}

--

wpt-commits: 8750ab8b0eb18c295360d8f3887ad3b9bf31e467
wpt-pr: 27546
2021-02-12 12:12:33 +00:00
moz-wptsync-bot 212791b2b8 Bug 1691841 [wpt PR 27557] - Update wpt metadata, a=testonly
wpt-pr: 27557
wpt-type: metadata
2021-02-12 12:12:32 +00:00
Alexander Cooper c8d0dbbafb Bug 1691841 [wpt PR 27557] - Add WPTs and minor impl fixes for xr light estimation, a=testonly
Automatic update from web-platform-tests
Add WPTs and minor impl fixes for xr light estimation

Adds WPTs around expected behavior for the WebXR Light Estimation spec.
Also corrects a few cases where getReflectionCubeMap should have thrown
an exception but did not currently.

Change-Id: I3e3393c3911a83bdfc91463cf614e04a31dba009
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2685615
Commit-Queue: Alexander Cooper <alcooper@chromium.org>
Reviewed-by: Brandon Jones <bajones@chromium.org>
Cr-Commit-Position: refs/heads/master@{#852756}

--

wpt-commits: 43ead8133543f5d38c0f7aae65770bc1d2e8bad7
wpt-pr: 27557
2021-02-12 12:12:32 +00:00
Fredrik Söderqvist 357aa1af01 Bug 1692004 [wpt PR 27573] - Treat huge 'repeatCount' values as invalid, a=testonly
Automatic update from web-platform-tests
Treat huge 'repeatCount' values as invalid

String::ToDouble() can return infinity. This value could either be
treated the same as the 'indefinite' keyword or as invalid. Gecko
appears do the latter so follow suit.

Bug: 1176608
Change-Id: Ia945404711f7580bcbabded076904205e00b2564
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2685176
Reviewed-by: Stephen Chenney <schenney@chromium.org>
Commit-Queue: Fredrik Söderquist <fs@opera.com>
Cr-Commit-Position: refs/heads/master@{#852720}

--

wpt-commits: 89400e4064b5f59e22f0fc63b3b6f7994f946c66
wpt-pr: 27573
2021-02-12 12:12:31 +00:00
autofoolip 4dab956635 Bug 1691938 [wpt PR 27564] - Update interfaces/cors-rfc1918.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/cors-rfc1918.idl (#27564)

Source: https://github.com/w3c/webref/blob/16294ab/ed/idl/cors-rfc1918.idl
Build: https://travis-ci.org/w3c/webref/builds/216653567
--

wpt-commits: 3e9807e5c4dde99e83dedf76bcf705e4d9cd21ed
wpt-pr: 27564
2021-02-12 12:12:31 +00:00
Rune Lillesveen edf40b4288 Bug 1691968 [wpt PR 27569] - SVG parsing allows calc() for <number>, a=testonly
Automatic update from web-platform-tests
SVG parsing allows calc() for <number>

The SVG spec says[1] to allow <number> when parsing values for
presentation attributes to allow unitless lengths for things like
font-size in the attribute.

The CSS specification says calc() with numbers is allowed wherever
<number> is allowed. Blink is the only browser to allow calc()
expressions for <number>. It is possible we should change that, but as
long as we accept it at parse time, we should handle it when applying it
to the ComputedStyle.

This CL computes font-size lengths for calc() expressions with numbers.

[1] https://svgwg.org/svg2-draft/types.html#syntax

Bug: 1172750
Change-Id: Ic20645d96b898c359d55eadfe902af0ac37a1dfa
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2685172
Reviewed-by: Fredrik Söderquist <fs@opera.com>
Commit-Queue: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/master@{#852650}

--

wpt-commits: ef69b81f39829fbb1acec84b17b99640b05fd8e7
wpt-pr: 27569
2021-02-12 12:12:30 +00:00
autofoolip 09d5cb3c50 Bug 1691940 [wpt PR 27566] - Update interfaces/js-self-profiling.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/js-self-profiling.idl (#27566)

Source: https://github.com/w3c/webref/blob/16294ab/ed/idl/js-self-profiling.idl
Build: https://travis-ci.org/w3c/webref/builds/216653567
--

wpt-commits: 6e44cc7366c3c9c873edecebe01bbc957f0b2257
wpt-pr: 27566
2021-02-12 12:12:30 +00:00
Manuel Rego Casasnovas d06b1f83e9 Bug 1691765 [wpt PR 27550] - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=221465, a=testonly
Automatic update from web-platform-tests
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=221465

--

wpt-commits: 13e92649cdbe2c21ea6ee8f260b808facfb2dad6
wpt-pr: 27550
2021-02-12 12:12:29 +00:00
Adam Rice 68486219bd Bug 1691862 [wpt PR 27561] - Make responsexml-document-properties.htm timezone correct, a=testonly
Automatic update from web-platform-tests
Make responsexml-document-properties.htm timezone correct

The web platform test responsexml-document-properties.htm was flaky,
apparently due to incorrect handling of timezones. Make the timezone
handling robust to fix the flakiness.

BUG=1144537

Change-Id: Ib338d7b9e87415a4900963782fde218b0d3ec6b0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2684076
Reviewed-by: Yutaka Hirano <yhirano@chromium.org>
Commit-Queue: Adam Rice <ricea@chromium.org>
Cr-Commit-Position: refs/heads/master@{#852607}

--

wpt-commits: 4cf1a9640f6c87c31b21c115d8e4fce2cfffa427
wpt-pr: 27561
2021-02-12 12:12:29 +00:00
autofoolip b1aaaa0a76 Bug 1691943 [wpt PR 27567] - Update interfaces/mediacapture-streams.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/mediacapture-streams.idl (#27567)

--

wpt-commits: 197cf185ed2f71210a56396b8429a51f0fa3b060
wpt-pr: 27567
2021-02-12 12:12:28 +00:00
moz-wptsync-bot 64d2e6023f Bug 1691369 [wpt PR 27520] - Update wpt metadata, a=testonly
wpt-pr: 27520
wpt-type: metadata
2021-02-12 12:12:28 +00:00
Sergio f1c3f3e98c Bug 1691369 [wpt PR 27520] - New test for buttons with percentage children, a=testonly
Automatic update from web-platform-tests
New test for buttons with percentage children (#27520)

Both Blink and WebKit implement buttons as flexboxes, which in this case, wrap the child in an anonymous box. Anonymous boxes are skipped when computing percentage heights but we need to ensure that their children with percentage heights are properly sized.
--

wpt-commits: e7a87a22ecca336956900428121a8094c835a5b3
wpt-pr: 27520
2021-02-12 12:12:27 +00:00
moz-wptsync-bot f8bc9cf1bc Bug 1691099 [wpt PR 27512] - Update wpt metadata, a=testonly
wpt-pr: 27512
wpt-type: metadata
2021-02-12 12:12:27 +00:00
Yutaka Hirano cc0f2153f8 Bug 1691099 [wpt PR 27512] - Reorganize and augment beacon wpt, a=testonly
Automatic update from web-platform-tests
Reorganize and augment beacon wpt

 - Run tests on secure contexts. I'm planning to use the sec-fetch-mode
   header once WebKit supports it, which is only available on secure
   contexts.
 - Replace html files with window.js files.
 - Merge many beacon-basic-* files into beacon-basic.https.window.js.
   This is doable because the payload size limit is per context, not
   per page.
 - Merge beacon-readablestream.js and beacon-error.sub.window.js into
   beacon-basic.https.window.js.
 - Merge beacon-preflight-failure.sub.window.js into
   beacon-cors.https.window.js.
 - Add more cross origin tests in beacon-cors.https.window.js.
 - Slim down beacon-common.sub.js.

Also remove some test files in http/tests/sendbeacon, because they are
covered by wpt/beacon.

Bug: 720303
Change-Id: Id65c70d290753428d5d17bc8e9e783969ff8bc16
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2677465
Commit-Queue: Yutaka Hirano <yhirano@chromium.org>
Reviewed-by: Dominic Farolino <dom@chromium.org>
Cr-Commit-Position: refs/heads/master@{#852515}

--

wpt-commits: a341862f7bf55470eb456fbdbb20e465508e7cb9
wpt-pr: 27512
2021-02-12 12:12:26 +00:00
Yutaka Hirano 8df20530ed Bug 1691109 [wpt PR 27513] - Increase timeout duration for wpt/fetch/api/basic/keepalive.html, a=testonly
Automatic update from web-platform-tests
Increase timeout duration for wpt/fetch/api/basic/keepalive.html

[1] shows that the tests in the file is flaky. flake portal's current
flakiness score is about 1600. Increase the timeout duration to make it
less flaky.

1: https://test-results.appspot.com/dashboards/flakiness_dashboard.html#testType=blink_web_tests&tests=wpt%2Ffetch%2Fapi%2Fbasic%2Fkeepalive.html

Bug: None
Change-Id: I9535aa43a1464adcb52fe7dd7ef19da99ea69924
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2678821
Auto-Submit: Yutaka Hirano <yhirano@chromium.org>
Commit-Queue: Dominic Farolino <dom@chromium.org>
Reviewed-by: Dominic Farolino <dom@chromium.org>
Cr-Commit-Position: refs/heads/master@{#852470}

--

wpt-commits: 5c46bbe8d09ff44e4f9186f137f28a3c5574a483
wpt-pr: 27513
2021-02-12 12:12:26 +00:00
Alison Maher 021e777d86 Bug 1691822 [wpt PR 27554] - [LayoutNG] Containing block offset during nested fragmentation, a=testonly
Automatic update from web-platform-tests
[LayoutNG] Containing block offset during nested fragmentation

The containing block offset should be the offset from the top of the
inner multicol to the start of the containing block (as if all of the
columns are placed one on top of the other). When propagating OOFs
in a nested fragmentation context, we miss the block contribution
from columns in previous outer fragmentainers.

To fix this, add the block size for such previous columns to the
OOF containing block offsets. And since the static position is
adjusted based on the containing block offset, fixing this for the
containing block offset also fixed the issue with the static position.

Bug: 1079031
Change-Id: Idd561cfb8ca01b4248da5c94933464fd1abe3a0d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2680070
Commit-Queue: Alison Maher <almaher@microsoft.com>
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/master@{#852421}

--

wpt-commits: e2e7e68a4b179250de7eb3fb71c81d098c20fd0c
wpt-pr: 27554
2021-02-12 12:12:25 +00:00
Morten Stenshorne 5b45dfae06 Bug 1691701 [wpt PR 27545] - Not all inline break tokens have ComputedStyle., a=testonly
Automatic update from web-platform-tests
Not all inline break tokens have ComputedStyle.

This has been the case ever since the ComputedStyle field was added:
https://chromium-review.googlesource.com/846585

AddBreakBeforeChild() in NGFragmentBuilder (since moved to
NGBoxFragmentBuilder) passes nullptr for ComputedStyle.

So just add a nullptr check.

Bug: 1175666
Change-Id: Ie0d46c93a64f25de09f3193c5cb329e9ac37b88b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2683984
Reviewed-by: Koji Ishii <kojii@chromium.org>
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/master@{#852354}

--

wpt-commits: a13d98ce6f8023a121131db9095454e42da4ec5b
wpt-pr: 27545
2021-02-12 12:12:25 +00:00
Xiaocheng Hu 292c8d7b88 Bug 1691792 [wpt PR 27552] - Remove some non-standard test cases from a counter style WPT test, a=testonly
Automatic update from web-platform-tests
Remove some non-standard test cases from a counter style WPT test

WPT css/vendor-imports/mozilla/mozilla-central-reftests/counter-styles-3/redefine-attr-mapping.html
tests the "type" attribute on <ul>, <ol> and <li> tags, which is
non-standard other than values "i", "I", "a" and "A" on <ol> [1].

Firefox and Chrome have implemented different sets of non-standard
type values on these tags. The test is currently asserting Firefox's
behavior.

This patch removes some of the non-standard test cases, and leaves
the common implemented subset between Firefox and Chrome, so that we
can also pass the test.

[1] https://html.spec.whatwg.org/multipage/grouping-content.html#attr-ol-type

Bug: 687225
Change-Id: I855f9d4e50bdc3cae0c03cc87b66081bd39c88a8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2684619
Auto-Submit: Xiaocheng Hu <xiaochengh@chromium.org>
Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/master@{#852316}

--

wpt-commits: 08d4723607039bae9981039dd99bf2b0bdd86b78
wpt-pr: 27552
2021-02-12 12:12:24 +00:00
WeizhongX 76e2c9068f Bug 1691773 [wpt PR 27551] - Allow webview shell package name to be passed in through command line, a=testonly
Automatic update from web-platform-tests
Allow webview shell package name to be passed in through command line (#27551)

The activity name will still be hard coded, as that is defined
in Java file, and not impacted by any gn args

Bug: 1170171
--

wpt-commits: f6763c716b029770e090ad4ee9472aaf5f3f8614
wpt-pr: 27551
2021-02-12 12:12:24 +00:00
Kagami Sascha Rosylight e77d4ad56a Bug 1691726 [wpt PR 27547] - Make sure @@iterator exist in plugin interfaces, a=testonly
Automatic update from web-platform-tests
Make sure @@iterator exist in plugin interfaces (#27547)

* Make sure @@iterator exist in plugin interfaces

* Add semicolon

Co-authored-by: Domenic Denicola <d@domenic.me>
--

wpt-commits: ed10da2f627ee9ccf6dc7425d2f0e01591470a8e
wpt-pr: 27547
2021-02-12 12:12:24 +00:00
Christian Dullweber 8ac3fb943e Bug 1691764 [wpt PR 27549] - Revert "Update registration-schedule-job.https.html to reflect the spec", a=testonly
Automatic update from web-platform-tests
Revert "Update registration-schedule-job.https.html to reflect the spec"

This reverts commit cf04532ef9c4b904f22d1307bd924b90bbbe4ddb.

Reason for revert: The test started failing on mac after CL landed:
https://ci.chromium.org/ui/p/chromium/builders/ci/Mac10.12%20Tests/41681/overview

Original change's description:
> Update registration-schedule-job.https.html to reflect the spec
>
> Previously, the test expectation didn't comply with the spec because it
> expected there's an installing worker even if register() actually didn't
> install a new worker.
> This CL is to update the expectation to wait for each register() call
> resolved one by one. This should work because each job must not be
> coalesced so the states should be updated correctly when those promises
> are resolved.
>
> Bug: 979593
> Change-Id: Ib3874e7e15ebb0dfa5608cc2ff4d3484cffd72b2
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2679094
> Commit-Queue: Makoto Shimazu <shimazu@chromium.org>
> Reviewed-by: Asami Doi <asamidoi@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#852157}

TBR=shimazu@chromium.org,chromium-scoped@luci-project-accounts.iam.gserviceaccount.com,asamidoi@chromium.org

Change-Id: Icb7c609f6b8a44b55ae338255058679d7fa55624
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 979593
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2684257
Reviewed-by: Christian Dullweber <dullweber@chromium.org>
Commit-Queue: Christian Dullweber <dullweber@chromium.org>
Cr-Commit-Position: refs/heads/master@{#852210}

--

wpt-commits: 154ecbab5c518e5c19d5429ef46c5847c2b6fce6
wpt-pr: 27549
2021-02-12 12:12:23 +00:00
Ilya Nikolaevskiy 2a6644800d Bug 1691032 [wpt PR 27503] - Use OOP-R texture readback in ReadbackTextureBackedFrameToMemorySync, a=testonly
Automatic update from web-platform-tests
Use OOP-R texture readback in ReadbackTextureBackedFrameToMemorySync

This utility function is now used by webrtc video frame adapter with a
shared RasterContextProvider, which usually supports OOP-R and not GLES2.

This CL adds a path for that case. Absence of gr_context is used as a signal
to use OOP-R mode.

Bug: 1132965,1156408
Change-Id: Ic75d52f8406945ffbecfa8d3c65f08090f26381e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2678002
Commit-Queue: Ilya Nikolaevskiy <ilnik@chromium.org>
Reviewed-by: Henrik Boström <hbos@chromium.org>
Reviewed-by: Dale Curtis <dalecurtis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#852173}

--

wpt-commits: 22a3c8461c1e2df11d5cc0de52486e8afed8bbbd
wpt-pr: 27503
2021-02-12 12:12:23 +00:00
Makoto Shimazu 1dcf505b65 Bug 1691367 [wpt PR 27519] - Update registration-schedule-job.https.html to reflect the spec, a=testonly
Automatic update from web-platform-tests
Update registration-schedule-job.https.html to reflect the spec

Previously, the test expectation didn't comply with the spec because it
expected there's an installing worker even if register() actually didn't
install a new worker.
This CL is to update the expectation to wait for each register() call
resolved one by one. This should work because each job must not be
coalesced so the states should be updated correctly when those promises
are resolved.

Bug: 979593
Change-Id: Ib3874e7e15ebb0dfa5608cc2ff4d3484cffd72b2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2679094
Commit-Queue: Makoto Shimazu <shimazu@chromium.org>
Reviewed-by: Asami Doi <asamidoi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#852157}

--

wpt-commits: 6cd5f63fb98c42d7c1e79a4e2db84b970e7fb86d
wpt-pr: 27519
2021-02-12 12:12:22 +00:00
Aleks Totic 70ac9440ac Bug 1691571 [wpt PR 27537] - [TablesNG] clusterfuzz: inconstistent NG/Legacy tree, a=testonly
Automatic update from web-platform-tests
[TablesNG] clusterfuzz: inconstistent NG/Legacy tree

When:
- DIALOG has display:table-row-group
- DIALOG is forced into Legacy layout.
- DIALOG gets shown with showModal.

We end up with a
LayoutNGTable
  LayoutTableSection

This is because CreateAnonymousTableWithParent gets a hint
of whether it should be NG or Legacy from parent (#document),
and not its future child (LayoutTableSection).

Fix: pass through a variable to force legacy if needed.

Bug: 1175222
Change-Id: I7898f70f9a8d98797d4289bb3050c82514010033
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2683044
Auto-Submit: Aleks Totic <atotic@chromium.org>
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/master@{#852153}

--

wpt-commits: d229da2bd2a1524036a3286e03b50a6a48216836
wpt-pr: 27537
2021-02-12 12:12:22 +00:00
Aleks Totic 134384e23a Bug 1691672 [wpt PR 27542] - [TablesNG] clusterfuzz: uninitialized read, a=testonly
Automatic update from web-platform-tests
[TablesNG] clusterfuzz: uninitialized read

Forgot to initialize a pointer to null.

Bug: 1172819
Change-Id: I7fd8fe5e5eab1d1780faedb8f258069eed1635ce
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2683545
Commit-Queue: Aleks Totic <atotic@chromium.org>
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/master@{#852151}

--

wpt-commits: 2fc13c210367f4928db669a40c16f7f3a9d1242c
wpt-pr: 27542
2021-02-12 12:12:21 +00:00
Manuel Rego Casasnovas a6b3779f17 Bug 1691689 [wpt PR 27526] - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=221466, a=testonly
Automatic update from web-platform-tests
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=221466

--

wpt-commits: a14756eb4c0688470d124e11e3126b3679201720
wpt-pr: 27526
2021-02-12 12:12:21 +00:00
Findit fed3cb83a9 Bug 1691674 [wpt PR 27543] - Revert "webrtc: update addIceCandidate() call to match spec", a=testonly
Automatic update from web-platform-tests
Revert "webrtc: update addIceCandidate() call to match spec"

This reverts commit ffc43d7a95f6b7843b3e476ab92bad05c8da669a.

Reason for revert:

Findit (https://goo.gl/kROfz5) identified CL at revision 852128 as the
culprit for failures in the build cycles as shown on:
https://analysis.chromium.org/waterfall/culprit?key=ag9zfmZpbmRpdC1mb3ItbWVyRAsSDVdmU3VzcGVjdGVkQ0wiMWNocm9taXVtL2ZmYzQzZDdhOTVmNmI3ODQzYjNlNDc2YWI5MmJhZDA1YzhkYTY2OWEM

Sample Failed Build: https://ci.chromium.org/b/8855786209093867328

Sample Failed Step: compile

Original change's description:
> webrtc: update addIceCandidate() call to match spec
>
> see https://w3c.github.io/webrtc-pc/#interface-definition
> This allows addIceCandidate() as end-of-candidates indication. This is
> not yet implemented at the native layer.
>
> BUG=chromium:978582
>
> Change-Id: Id0f2acd2dcfdf4f5d311437df22c178c9d69630d
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2680823
> Commit-Queue: Philipp Hancke <philipp.hancke@googlemail.com>
> Reviewed-by: Guido Urdaneta <guidou@chromium.org>
> Reviewed-by: Harald Alvestrand <hta@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#852128}

No-Presubmit: true
No-Tree-Checks: true
No-Try: true
BUG=chromium:978582

Change-Id: Ic1386562e0a5c1853f335f0db9c44b68a28ee946
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2683915
Cr-Commit-Position: refs/heads/master@{#852144}

--

wpt-commits: d9595eb12d0b09d222e9318e1eb526ae7eb04994
wpt-pr: 27543
2021-02-12 12:12:20 +00:00
Philipp Hancke af468ad98c Bug 1691252 [wpt PR 27517] - webrtc: update addIceCandidate() call to match spec, a=testonly
Automatic update from web-platform-tests
webrtc: update addIceCandidate() call to match spec

see https://w3c.github.io/webrtc-pc/#interface-definition
This allows addIceCandidate() as end-of-candidates indication. This is
not yet implemented at the native layer.

BUG=chromium:978582

Change-Id: Id0f2acd2dcfdf4f5d311437df22c178c9d69630d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2680823
Commit-Queue: Philipp Hancke <philipp.hancke@googlemail.com>
Reviewed-by: Guido Urdaneta <guidou@chromium.org>
Reviewed-by: Harald Alvestrand <hta@chromium.org>
Cr-Commit-Position: refs/heads/master@{#852128}

--

wpt-commits: 8d1dba2aa6fe9cd79c98f4b83f04145a00cfbe2b
wpt-pr: 27517
2021-02-12 12:12:20 +00:00