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

36578 Коммитов

Автор SHA1 Сообщение Дата
Lan Wei 68929883be Bug 1565382 [wpt PR 17789] - Use testdriver Action API in WPT pointerevent tests - Part 10, a=testonly
Automatic update from web-platform-tests
Use testdriver Action API in WPT pointerevent tests - Part 10

In order to run the web-platform-tests automatically, we will use
testdriver Action API in all the wpt to simulate inputs. Here we are
changing some pointerevent input test which taps on the elements inside
an inner frame.

This is the tenth CL that changes part of the pointerevent input
tests.

Bug: 606367
Change-Id: Ib90c92e8267f17fed74a86d70ca6d739b5ccedb2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1638914
Commit-Queue: Lan Wei <lanwei@chromium.org>
Reviewed-by: Navid Zolghadr <nzolghadr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#675891}

--

wpt-commits: e6fff725295afce26b2000ab7644a69d29f78c08
wpt-pr: 17789
2019-07-24 13:34:21 +01:00
julianrkung 705e3237f0 Bug 1565615 [wpt PR 17805] - Allowed trailing slashes for WPT test test_file_protocol, a=testonly
Automatic update from web-platform-tests
webdriver: allow trailing slashes for navigate_to WPT test (#17805)

The handling of file:// URLs is implementation defined.
--

wpt-commits: 43a2ddb71497ee04157fe6fc8ce29d7e4ef2b6ec
wpt-pr: 17805
2019-07-24 13:34:21 +01:00
rajendrant 68dce5b026 Bug 1565587 [wpt PR 14914] - LazyLoad: Add external web platform tests for the "loading" attribute., a=testonly
Automatic update from web-platform-tests
LazyLoad: Add external web platform tests for the "loading" attribute.

This CL includes tests for:
- Testing that images and iframes with the attribute loading="lazy" are
  deferred until they come into view
- Testing that images and iframes with the attribute loading="eager" are
  loaded immediately

Bug: 916260
Change-Id: I323faa31c7683663d0d0136a719cf83c25758ad6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1417117
Commit-Queue: Dominic Farolino <dom@chromium.org>
Reviewed-by: Yoav Weiss <yoavweiss@chromium.org>
Reviewed-by: Tarun Bansal <tbansal@chromium.org>
Reviewed-by: Dominic Farolino <dom@chromium.org>
Cr-Commit-Position: refs/heads/master@{#676804}

--

wpt-commits: 9919d0f04266001686c09d47ff6e25c98b48d91f
wpt-pr: 14914
2019-07-24 13:34:20 +01:00
Eric Willigers e00b0fd235 Bug 1565450 [wpt PR 17799] - [cssom] getComputedStyle not getComputedValue, a=testonly
Automatic update from web-platform-tests
[cssom] getComputedStyle not getComputedValue (#17799)

Fix typo in test titles.
--

wpt-commits: 9daa6ffd6eb28afb0940b7ac304b08e8383fc527
wpt-pr: 17799
2019-07-24 13:34:19 +01:00
Joonghun Park 0067ca3343 Bug 1565299 [wpt PR 17779] - CSS property 'tab-size' should take 'number' instead of 'integer'., a=testonly
Automatic update from web-platform-tests
CSS property 'tab-size' should take 'number' instead of 'integer'.

According to https://drafts.csswg.org/css-text-3/#tab-size-property,
let 'tab-size' take css 'number' value, not css 'integer' value.

Bug: 974090
Change-Id: Idb235eacde59f5bae1ab7fb814425fae4b93a227
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1689165
Commit-Queue: Joonghun Park <pjh0718@gmail.com>
Reviewed-by: Kent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/master@{#676741}

--

wpt-commits: 01669b3a69c55c077a6f5212c295528c89388d6c
wpt-pr: 17779
2019-07-24 13:34:18 +01:00
Eric Willigers e17972f3cc Bug 1565442 [wpt PR 15319] - [compositing] Computed value tests, a=testonly
Automatic update from web-platform-tests
[compositing] Computed value tests (#15319)

background-blend-mode, isolation, mix-blend-mode computed values are as specified.
https://drafts.fxtf.org/compositing-1/#property-index

All tests pass with Firefox.

Three background-blend-mode tests fail with Blink/Edge/Safari:
expected "normal, luminosity" but got "normal"
expected "screen, overlay" but got "screen"
expected "color, saturation" but got "color"
--

wpt-commits: d0a227ec363d652a133d53bdda7ab2ef976e6008
wpt-pr: 15319
2019-07-24 13:34:17 +01:00
Mike Pennisi 2d8d7ab569 Bug 1565432 [wpt PR 17797] - [docs] Normalize spelling of "test suite", a=testonly
Automatic update from web-platform-tests
[docs] Normalize spelling of "test suite"

The documentation uses the terms "testsuite" and "test suite"
interchangeably. Normalize on "test suite."

--

wpt-commits: 03fcaec457809e26a282727951c155b82660e159
wpt-pr: 17797
2019-07-24 13:34:16 +01:00
jugglinmike bfad6f30d4 Bug 1565408 [wpt PR 17796] - [docs] Correct internal links, a=testonly
Automatic update from web-platform-tests
[docs] Correct internal links (#17796)

--

wpt-commits: d3d45d7d0e1bd20653a4f9880c0229cb5c80ceb1
wpt-pr: 17796
2019-07-24 13:34:16 +01:00
L. David Baron 32e4479547 Bug 1565366 [wpt PR 17784] - Sync Mozilla CSS tests as of 2019-07-11, a=testonly
Automatic update from web-platform-tests
Sync Mozilla CSS tests as of https://hg.mozilla.org/mozilla-central/rev/a39b925a26ade6f6d05c51dde62764b149043a00 .

This contains changes from one bug:
* [bug 1559276](https://bugzilla.mozilla.org/show_bug.cgi?id=1559276), by @BorisChiou, reviewed by @emilio

--

wpt-commits: 1f951fe9e702fa19c10d4c74efa79c741b452cd1
wpt-pr: 17784
2019-07-24 13:34:15 +01:00
Mike Pennisi 6476c7e985 Bug 1565402 [wpt PR 17634] - [docs] Expand landing page, a=testonly
Automatic update from web-platform-tests
[docs] Expand landing page

Currently, the documentation website's landing page contains only a
table of contents. The introductory material is accessible through the
first link in that index.

Because the landing page is itself an introduction, it ought to offer
some explanation of the project's purpose and structure.

Re-use the introductory text found in the project's README.md file since
this is slightly more complete than the corresponding text in the
"introduction" page. Move other high-level information to the landing
page and rename the "introduction" to "testsuite design" in order to
better describe its more narrow focus.

--
[docs] Correct typos

--

wpt-commits: f3cdfbcb428ca2f711d0b5128264d3f7cfcfd187, 6d60c3d31206401a3e22db74c68429a302443d9f
wpt-pr: 17634
2019-07-24 13:34:14 +01:00
moz-wptsync-bot 8d1f90e09c Bug 1558363 [wpt PR 17785] - [Gecko Bug 1558363] Fix WPT manifest updates when within a git tree, a=testonly
Automatic update from web-platform-tests
Fix WPT manifest updates when within a git tree

This has been broken since bug 1545629 landed, when we started using
git to (quickly) get hashes of unchanged files. Unfortunately, the
logic for finding changed files only worked when the test root was the
root of the git repository.

Differential Revision: https://phabricator.services.mozilla.com/D34702

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1558363
gecko-commit: b975b4c1dfaebedabc4a09296b90303c7d5381e3
gecko-integration-branch: central
gecko-reviewers: jgraham

--

wpt-commits: 3fb0150bb0a53b5a6630e8eda7f43bf75d8a6bbe
wpt-pr: 17785
2019-07-24 13:34:13 +01:00
Blink WPT Bot b91332eedb Bug 1558831 [wpt PR 17295] - Move movementX/Y calculation for aura pointer-locked state to Blink., a=testonly
Automatic update from web-platform-tests
Move movementX/Y calculation for aura pointer-locked state to Blink. (#17295)

This change moves movementX/Y calculation for aura pointer-locked
state to Blink.
On aura, pointer lock use "move to center" to make cursor stays in
the window. With the calculation done in blink side, the move to
center event is marked as synthesize move, so that we can update
the blink side states and do not dispatch the event.

The change is under content feature flag kConsolidatedMovementXY

Bug: 802067
Change-Id: I05360dadd18a2f41481a0de9ef78a05199493857
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1618306
Commit-Queue: Ella Ge <eirage@chromium.org>
Reviewed-by: Ken Buchanan <kenrb@chromium.org>
Reviewed-by: Avi Drissman <avi@chromium.org>
Reviewed-by: David Bokan <bokan@chromium.org>
Reviewed-by: Navid Zolghadr <nzolghadr@chromium.org>
Reviewed-by: Mustaq Ahmed <mustaq@chromium.org>
Cr-Commit-Position: refs/heads/master@{#674237}

--

wpt-commits: 293143370ddaa9ceaee4294c78a17d97e7bdd5c6
wpt-pr: 17295
2019-07-24 13:34:12 +01:00
moz-wptsync-bot 54a9bb9a42 Bug 1565046 [wpt PR 17773] - Update wpt metadata, a=testonly
wpt-pr: 17773
wpt-type: metadata
2019-07-24 13:34:12 +01:00
Liquan(Max) Gu 0c392abfdb Bug 1565046 [wpt PR 17773] - [UserTimingL3] Fix crash: create mark in worker, a=testonly
Automatic update from web-platform-tests
[UserTimingL3] Fix crash: create mark in worker

Currently, the renderer crashes when creating mark entry in worker.
The crash is because PerformanceMark::Create() return nullptr without
setting exception_state. The caller of the function assumes that
no exception indicates the PerformanceMark entry exists. Thus, when the
entry is visited, the crash occurs.

There is another bug hidden in this issue. Currently, when
window-performance is not found, Create() returns nullptr directly. It
should instead also check whether worker-performance exist.

This CL fix these issues.

To verify the change, the CL also changes the related web tests from
*.html to *.any.js, which enables these tests in worker's context.

Bug: 981982

Change-Id: Ia20ce1c194e4db2810ff3f1c52070e5970951600
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1696085
Commit-Queue: Liquan (Max) Gu <maxlg@chromium.org>
Reviewed-by: Nicolás Peña Moreno <npm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#676484}

--

wpt-commits: 133323811602dd4ceced46f11aabb645a3582983
wpt-pr: 17773
2019-07-24 13:34:09 +01:00
Jack Steinberg f01800edbf Bug 1565376 [wpt PR 17780] - Create toast action setter, a=testonly
Automatic update from web-platform-tests
Create toast action setter

Additionally, this CL adds support for passing Elements
as action in showToast, using the action setter.
This change is the latest in a series of changes implementing
new behavior added to the toast explainer in PR #43
https://github.com/jackbsteinberg/std-toast/pull/43.

Bug: 972945
Change-Id: I46004883cb3b794981029aa02369918dd0077391
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1686786
Commit-Queue: Jack Steinberg <jacksteinberg@chromium.org>
Reviewed-by: Fergal Daly <fergal@chromium.org>
Cr-Commit-Position: refs/heads/master@{#676482}

--

wpt-commits: 11051ca7a0270ae8fe07939d35cd923e5b542748
wpt-pr: 17780
2019-07-24 13:34:09 +01:00
Xiaocheng Hu 8bd66ee2fc Bug 1565061 [wpt PR 17775] - Partially fix calc() length unit handling in media queries, a=testonly
Automatic update from web-platform-tests
Partially fix calc() length unit handling in media queries

When a calc() length is passed to media queries, the current code
assumes that there's always a DoubleValue(), and the unit type matches
TypeWithCalcResolved(), which is incorrect.

This patch partially fixes the issue when the calc expression can be
resolved without type conversion. Handling type conversion is more
complicated and hence left broken by this patch (as it's already broken).

Bug: 982542
Change-Id: I258b3d1aeec69fb65fbadd86981e97974239289b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1696191
Reviewed-by: Emil A Eklund <eae@chromium.org>
Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#676452}

--

wpt-commits: 14acac099af003b048229966651d558f508e2b9a
wpt-pr: 17775
2019-07-24 13:34:08 +01:00
Kent Tamura 3fbd026a64 Bug 1565357 [wpt PR 17781] - custom-elements: Fix 'capture' attribute existence check, a=testonly
Automatic update from web-platform-tests
custom-elements: Fix 'capture' attribute existence check in reactions/HTMLInputElement.html

Do not call 'capture' property getter.

--

wpt-commits: 40ef441b2f6ff803248bf71f03334b1326371c2b
wpt-pr: 17781
2019-07-24 13:34:07 +01:00
Boris c2c82b203a Bug 1565350 [wpt PR 17778] - [css-transforms] Avoid using assert_own_property on testing style properties., a=testonly
Automatic update from web-platform-tests
[css-transforms] Avoid using assert_own_property on style property. (#17778)

These `assert_own_property` tests cause these CSS tests to fail on Firefox
only, and I think these properties are not supposted to be own properties,
so use a similar way as https://github.com/web-platform-tests/wpt/pull/16892,
to test the existence of these properties.
--

wpt-commits: 47543ee66eb535b6910292f199f3b789bec263f0
wpt-pr: 17778
2019-07-24 13:34:06 +01:00
Eldar Rello 92d60b5619 Bug 1565300 [wpt PR 17642] - Implement RTCPeerConnection.onicecandidateerror and add web-platform-test, a=testonly
Automatic update from web-platform-tests
Implement RTCPeerConnection.onicecandidateerror and add web-platform-test

Spec:
https://w3c.github.io/webrtc-pc/#dom-rtcpeerconnection-onicecandidateerror

Intent:
https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/fs-Y4awdYj0

Bug: webrtc:3098
Change-Id: I9c4a3ec75050e85f2a13b896f580bc16206ca2c6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1607800
Commit-Queue: Eldar Rello <elrello@microsoft.com>
Reviewed-by: Qingsi Wang <qingsi@chromium.org>
Reviewed-by: Philip Jägenstedt <foolip@chromium.org>
Reviewed-by: Henrik Boström <hbos@chromium.org>
Cr-Commit-Position: refs/heads/master@{#676359}

--

wpt-commits: ee75c68c4ef501f914e62167d941cc046caec0ec
wpt-pr: 17642
2019-07-24 13:34:05 +01:00
julianrkung d95aab7ab8 Bug 1565038 [wpt PR 17772] - Change height and width of set.py tests to be larger than min for chrome, a=testonly
Automatic update from web-platform-tests
webdriver: make height and width of tests larger than min for chrome (#17772)

--

wpt-commits: 36acf7a01cb8ffbbafbd578229c5ad3fde2e47cc
wpt-pr: 17772
2019-07-24 13:34:05 +01:00
Liquan(Max) Gu 0e17c13672 Bug 1564592 [wpt PR 17736] - [UserTimingL3] Throw TypeError on negative time stamp, a=testonly
Automatic update from web-platform-tests
[UserTimingL3] Throw TypeError on negative time stamp

According to the spec (https://w3c.github.io/user-timing/):
1. "If markOptions's startTime is negative, throw a TypeError.",
2. "If mark is negative, throw a TypeError." when "Convert a mark to a timestamp"

The CL is to add these two checks accordingly.

Bug: 953865
Change-Id: I8475870cc883dc8c3d3d4f3e65a9d5a0a2189a58
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1691871
Reviewed-by: Liquan (Max) Gu <maxlg@chromium.org>
Reviewed-by: Nicolás Peña Moreno <npm@chromium.org>
Commit-Queue: Liquan (Max) Gu <maxlg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#676266}

--

wpt-commits: a819c8a4b2760a1547e63d57e39e3f34dbc5da41
wpt-pr: 17736
2019-07-24 13:34:04 +01:00
Ian Kilpatrick bb59e07725 Bug 1565544 [wpt PR 17782] - [LayoutNG] Consider inline-level OOF-positioned nodes as "adjoining"., a=testonly
Automatic update from web-platform-tests
[LayoutNG] Consider inline-level OOF-positioned nodes as "adjoining".

"adjoining" objects are used to indicate that a particular node might
need relayout once its BFC block-offset is resolved. Previously we
thought that we just needed to know about "adjoining-floats".

However inline-level OOF-positioned nodes also needs to know its BFC
block-offset as the static-position of these nodes depend on where
floats are.

Previously as we didn't know that we needed to relayout these nodes
we'd get the incorrect static-position. Now these nodes get the
correct static-position.

Bug: 982403, 980908
Change-Id: I89f18298fd7379358a681b98514891d8d35bc38e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1692627
Reviewed-by: Emil A Eklund <eae@chromium.org>
Reviewed-by: Koji Ishii <kojii@chromium.org>
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#676263}

--

wpt-commits: 4f954c15e1dc8cf94f7a2231f648fb640509d9d4
wpt-pr: 17782
2019-07-24 13:34:03 +01:00
Alex Cooper 2a78c13518 Bug 1565541 [wpt PR 17750] - Add FakeXRDevice.disconnect method and test, a=testonly
Automatic update from web-platform-tests
Add FakeXRDevice.disconnect method and test

Also simplifies events_deviceconnect, though because that tests behavior
that doesn't appear to be specced, that test is left internal.

Bug: 979316
Change-Id: I55cdb925aac9c2317d0a2b9f44f8eb368048aa5e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1693775
Commit-Queue: Alexander Cooper <alcooper@chromium.org>
Reviewed-by: Bill Orr <billorr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#676258}

--

wpt-commits: c58628cd58109b1caa9cfd72e794929a65ee849b
wpt-pr: 17750
2019-07-24 13:34:02 +01:00
Eric Willigers f8d038409c Bug 1565539 [wpt PR 17755] - CSS: font-family initial value unspecified, a=testonly
Automatic update from web-platform-tests
CSS: font-family initial value unspecified

https://drafts.csswg.org/css-fonts-4/#font-family-prop
Initial: depends on user agent

We can't simply have "times new roman"
in our test expectations, as Mac 10.10 .. 10.12 have
Times instead.

Bug: 966249
Change-Id: I091924585e05b2b085ab420ac553233f7346e79d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1695581
Commit-Queue: Eric Willigers <ericwilligers@chromium.org>
Reviewed-by: Dominik Röttsches <drott@chromium.org>
Cr-Commit-Position: refs/heads/master@{#676242}

--

wpt-commits: 037a9292ea1ffbcd4a26612e3a615a45dcbb263f
wpt-pr: 17755
2019-07-24 13:34:02 +01:00
Eric Willigers 17938ecbb7 Bug 1565533 [wpt PR 17756] - CSS: Parsing tests for align-* and justify-* properties, a=testonly
Automatic update from web-platform-tests
CSS: Parsing tests for align-* and justify-* properties

Check that CSS Alignment properties accept only the values permitted
by the spec
https://drafts.csswg.org/css-align-3/#property-index

Change-Id: I93b00ac2280ca4991c24b3ee35a17047e165b8a5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1694928
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Commit-Queue: Eric Willigers <ericwilligers@chromium.org>
Cr-Commit-Position: refs/heads/master@{#676203}

--

wpt-commits: 9234a033ce9a341afec6574ddc0f2ec13c9dd35f
wpt-pr: 17756
2019-07-24 13:34:01 +01:00
Jack Steinberg 5c56253834 Bug 1565054 [wpt PR 17774] - Add action option string to be passed to toast showToast(), a=testonly
Automatic update from web-platform-tests
Add action option string to be passed to toast showToast()

This partially implements the action option for showToast(),
as outlined in the explainer at
32237007b0/README.md (showtoastmessage-options).
For now it only handles the string or undefined cases;
the Element case will be handled in a follow-up CL once the action setter is implemented.

BUG=972945

Change-Id: I82556801a6586c89cd506669f935488e049c47c7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1684466
Commit-Queue: Jack Steinberg <jacksteinberg@chromium.org>
Reviewed-by: Fergal Daly <fergal@chromium.org>
Cr-Commit-Position: refs/heads/master@{#676168}

--

wpt-commits: 996e93b6478d485eb5867e3a5570ad88f63f878e
wpt-pr: 17774
2019-07-24 13:34:00 +01:00
Darwin Huang 8e413c0122 Bug 1565034 [wpt PR 17752] - Async Clipboard: Fix off-by-one renderer crash, a=testonly
Automatic update from web-platform-tests
Async Clipboard: Fix off-by-one renderer crash

Patchset 1: Tests only (fails without patchset 2)
Patchset 2: Fix (tests from patchset 1 succeeds)

Bug: 981006
Change-Id: I3e9ba336793334ecc1dab77521189f7695d625fa
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1693733
Commit-Queue: Darwin Huang <huangdarwin@chromium.org>
Reviewed-by: Darwin Huang <huangdarwin@chromium.org>
Reviewed-by: Victor Costan <pwnall@chromium.org>
Auto-Submit: Darwin Huang <huangdarwin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#676195}

--

wpt-commits: eb234f6d7bf9f0e2185630430b8992f0b8e4c1a9
wpt-pr: 17752
2019-07-24 13:33:59 +01:00
David Bokan 9dcce91e5c Bug 1565053 [wpt PR 17671] - [FractionalScroll] Fix web tests, a=testonly
Automatic update from web-platform-tests
[FractionalScroll] Fix web tests

This CL fixes Blink web tests so that they pass when the Fractional
Scroll Offsets flag is enabled. This flag enables fractional offsets on
the Blink main thread which breaks some tests because they assume that
offsets will be floored.

I've modernized two tests:
fast/events/platform-wheelevent-paging-y-in-non-scrolling-div.html
fast/events/scale-and-scroll-div.html

The first appears to have been an issue with js-test modifying the page
while the second was passing but the PASS string in the -exected.txt
had changed to include the factional. Both tests now pass with and
without the feature enabled.

I removed fast/events/touch/gesture/touch-gesture-scroll-div-scaled.html
since it was testing the same thing as scale-and-scroll-div.html.

The rest of the tests required changing the layout such that it doesn't
cause us to land on fractional offsets (and thus the behavior will be
unchanged with and without the flag). Where this was difficult I just
allowed for approximate equality.

Bug: 414283
Change-Id: Ie03fa06b100fb9946675e921357c1eaebfe6a37e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1690293
Commit-Queue: David Bokan <bokan@chromium.org>
Reviewed-by: Stefan Zager <szager@chromium.org>
Cr-Commit-Position: refs/heads/master@{#676118}

--

wpt-commits: e93818b7c65d3bb3152ed5f7bf1f06019bd295bb
wpt-pr: 17671
2019-07-24 13:33:58 +01:00
David Grogan 17679b79b4 Bug 1565003 [wpt PR 17771] - [css-tables] Ignore abspos tables when checking cell descendants, a=testonly
Automatic update from web-platform-tests
[css-tables] Ignore abspos tables when checking cell descendants

If a table is added dynamically as a child of a table cell, the cell
might call innerTable->HasSections() before the inner table has
calculated its sections. The cell was checking HasSections() because
cells change sizing behavior when they have a table with sections as an
immediate descendant.

This only happened in a very narrow scenario -- when an abspos table
with a %height that does not resolve as auto is dynamically added.

Bug: 977507
Change-Id: I7856291dc6508624a81e9b65af909fa8a0d8e749
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1696003
Reviewed-by: Christian Biesinger <cbiesinger@chromium.org>
Commit-Queue: David Grogan <dgrogan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#676116}

--

wpt-commits: e5601b1ba9993f618a1838dbd4b80a9d46013e66
wpt-pr: 17771
2019-07-24 13:33:58 +01:00
Alex Cooper 65baba75a3 Bug 1565006 [wpt PR 17740] - Update FakeXRDeviceInterface to match webxr-test-api, a=testonly
Automatic update from web-platform-tests
Update FakeXRDeviceInterface to match webxr-test-api

This updates the FakeXRDeviceInterface to support newly added methods in
the webxr-test-api:
* simulateVisibilityChange
* setBoundsGeometry
* setLocalToFloorLevelTransform
* clearLocalToFloorLevelTransform

and supports the setting of boundsCoordinates and
localToFloorLevelTransform in FakeXRDeviceInit.

The Bounds and LocalToFloorLevelTransform functions already existed on
internal tests, and as such a few of the tests that were ready were
ported to external wpts.

Note that simulateInputSourceConnection and disconnect will be
implemented by future work.

Bug: 979316
Change-Id: Idfb8bb631bfc1f1cb13b571a90b1a41b4a6fe518
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1692038
Commit-Queue: Alexander Cooper <alcooper@chromium.org>
Reviewed-by: Klaus Weidner <klausw@chromium.org>
Cr-Commit-Position: refs/heads/master@{#676087}

--

wpt-commits: a24d86919d18a817e8449357dfa6db78fe3afe93
wpt-pr: 17740
2019-07-24 13:33:57 +01:00
Ben Kelly 5c6c79e00b Bug 1564952 [wpt PR 17745] - Fetch: Delay buffering Response data., a=testonly
Automatic update from web-platform-tests
Fetch: Delay buffering Response data.

When a service worker executes code like `evt.respondWith(fetch(r))` we
should be able to directly pass the fetch's resulting mojo::DataPipe
through without any data copying.  This previously did not work,
however, since the BufferingBytesConsumer would immediately start
buffering the Response body data.

This CL fixes this issue by delaying the start of the buffering by a
short amount of time.  This gives the service worker time to drain the
pipe.

The delay is currently disabled by default behind the
"BufferingBytesConsumerDelay" feature.

Based on yhirano's draft CL at crrev.com/c/1383755.

Bug: 911036
Change-Id: I65675ce62a7ce593c8994b3e1258634840ba6c2d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1679669
Commit-Queue: Ben Kelly <wanderview@chromium.org>
Reviewed-by: Yutaka Hirano <yhirano@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Reviewed-by: Robert Kaplow <rkaplow@chromium.org>
Cr-Commit-Position: refs/heads/master@{#676053}

--

wpt-commits: c8de5e13ed52cdf9fdee9f508e90d0ee9a09cc6a
wpt-pr: 17745
2019-07-24 13:33:56 +01:00
Jack Steinberg 0e238fe69a Bug 1564950 [wpt PR 17762] - Create public action property for toast, a=testonly
Automatic update from web-platform-tests
Create public action property for toast

BUG=972945

Change-Id: Iaa37efa03ee6de2c5a31d7bff533601348eb3e69
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1685530
Commit-Queue: Jack Steinberg <jacksteinberg@chromium.org>
Reviewed-by: Fergal Daly <fergal@chromium.org>
Reviewed-by: Kent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/master@{#676043}

--

wpt-commits: acbc0cf6a6101f953f838cd02fe001bf08503d3d
wpt-pr: 17762
2019-07-24 13:33:55 +01:00
Majid Valipour 580149523d Bug 1552235 [wpt PR 16890] - Add support for overscroll-behavior logical longhands, a=testonly
Automatic update from web-platform-tests
Add support for overscroll-behavior logical longhands

Flow relative longhands have been added to overscroll-behavior
specification [1]. This CL implements the relevant css parsing
and matching tests.

minor change: collapse all overscrollBehavior related case
statements in parser fast path.

intent-to-ship: https://groups.google.com/a/chromium.org/d/msg/blink-dev/V86fOkIaEQA/JydSaafqBwAJ

[1] https://drafts.csswg.org/css-overscroll-behavior-1/#overscroll-behavior-longhands-logical

TESTS: wpt/css/css-overscroll-behavior/ovescroll-behavior-logical.html, wpt/css/css-overscroll-behavior/parsing/*

Bug: 833953
Change-Id: I5ceefa0afb1913472c0e134b2ec07405154abfae
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1614026
Reviewed-by: Rick Byers <rbyers@chromium.org>
Reviewed-by: Christian Biesinger <cbiesinger@chromium.org>
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Commit-Queue: Majid Valipour <majidvp@chromium.org>
Auto-Submit: Majid Valipour <majidvp@chromium.org>
Cr-Commit-Position: refs/heads/master@{#676042}

--

wpt-commits: 56df7802935322e54c1ba7853963d7eb16ca0fc2
wpt-pr: 16890
2019-07-24 13:33:54 +01:00
moz-wptsync-bot 3a76c73618 Bug 1564944 [wpt PR 17665] - Update wpt metadata, a=testonly
wpt-pr: 17665
wpt-type: metadata
2019-07-24 13:33:54 +01:00
Nicolás Peña Moreno d4400f6e24 Bug 1564944 [wpt PR 17665] - [ElementTiming] Add more image Timing-Allow-Origin tests, a=testonly
Automatic update from web-platform-tests
[ElementTiming] Add more image Timing-Allow-Origin tests

Bug: 879270
Change-Id: I7de3f75d2d27fd960b6e1fb6785f8269a56f1401
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1689785
Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
Reviewed-by: Yoav Weiss <yoavweiss@chromium.org>
Cr-Commit-Position: refs/heads/master@{#676038}

--

wpt-commits: b357a3e5f07e6e7ce0003e7c7a84c3e03523e9d7
wpt-pr: 17665
2019-07-24 13:33:53 +01:00
Boris Zbarsky 03c892bae5 Bug 1562257 [wpt PR 17758] - [Gecko Bug 1562257] part 2. Fix parsing of margin attributes on <body> match the spec., a=testonly
Automatic update from web-platform-tests
part 2.  Fix parsing of margin attributes on <body> match the spec.

The various margin attributes on <body> are "pixel length attributes" in the
spec, which should get parsed as non-negative integers.  That said, Chrome and
Safari implement marginwidth, marginheight, marginleft, and margintop as
"dimension attributes" instead, and don't implement marginright and marginbottom
at all.

Differential Revision: https://phabricator.services.mozilla.com/D36372

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1562257
gecko-commit: 399e8e089eda6d6cba06bb37c3aadacc607fe6b6
gecko-integration-branch: central
gecko-reviewers: mccr8

--
part 3.  Change the dimension attribute reflection test to handle the attribute name and CSS property name not matching.

We're going to need that for hspace/vspace

Differential Revision: https://phabricator.services.mozilla.com/D36373

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1562257
gecko-commit: 651433227fdbeb4fd53d90c15fac3dad3b1245a6
gecko-integration-branch: central
gecko-reviewers: mccr8

--
part 4.  Fix style mapping of hspace and vspace attributes to match the spec.

Per spec, "hspace" and "vspace" are parsed as dimension attributes and are
supported on the following elements: embed, iframe, img, object,
<input type="image">, marquee.  Except no one implements this for iframe.
https://github.com/whatwg/html/issues/4742 tracks the spec changing accordingly.

As far as hspace/vpace on <table> go, Safari supports them in both quirks and
standards mode, while Chrome doesn't support them in either mode.  The HTML spec
doesn't have them supported at all, and neither does the quirks mode spec, so
I'm removing the quirks-only support we had to align with the specs and Chrome.

Differential Revision: https://phabricator.services.mozilla.com/D36375

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1562257
gecko-commit: bd2a2e91e9eefc6f27621620e11b93ffd8eca2e6
gecko-integration-branch: central
gecko-reviewers: mccr8

--
part 5.  Fix style mapping of border attribues to more closely match the spec.

Per spec, "border" is parsed as a non-negative integer, only mapped if nonzero
(though this is not observably different from mapping even if 0, except if user
or UA stylesheets style the border), and supported on img, object,
<input type="image">, but NOT embed, iframe, or marquee.

This matches the Chrome and Safari behavior, as far as I can tell.  The
substantive change here is that we are removing mapping for the <embed border>
case.

Differential Revision: https://phabricator.services.mozilla.com/D36376

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1562257
gecko-commit: b8938b6afa9c4b498ec016d1b3d50be0e50684c0
gecko-integration-branch: central
gecko-reviewers: mccr8

--

wpt-commits: 16d86b2b8c5e8cda1bb529b053af153c3b3d6887, c3dec041a318c9af716aac3b2d95ff42aa5325f9, 008153ffff00b8201548b7f420c155f23b549ee4, e0a9e5eec6d3aeb770e65ab30ee6d19824928256
wpt-pr: 17758
2019-07-24 13:33:52 +01:00
Jack Steinberg a89e074a3e Bug 1564957 [wpt PR 17674] - Change incorrect toast test titles, a=testonly
Automatic update from web-platform-tests
Change incorrect toast test titles

BUG=972945

Change-Id: Ifa92c598f9d2a8a939aa58d0719f39b25431ed8b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1685526
Commit-Queue: Jack Steinberg <jacksteinberg@chromium.org>
Reviewed-by: Kent Tamura <tkent@chromium.org>
Reviewed-by: Fergal Daly <fergal@chromium.org>
Cr-Commit-Position: refs/heads/master@{#676004}

--

wpt-commits: 0643b9f8635ea86fbe7a05f4f292eaafe2fccc0f
wpt-pr: 17674
2019-07-24 13:33:51 +01:00
fergald 5ca5c10d1f Bug 1564972 [wpt PR 17681] - Support .mjs as a javascript suffix, a=testonly
Automatic update from web-platform-tests
Support .mjs as a javascript suffix
--

wpt-commits: e1c9ae5f429295816c383fa25ad60097b8808235
wpt-pr: 17681
2019-07-24 13:33:50 +01:00
Anne van Kesteren b8453ed911 Bug 1564939 [wpt PR 17574] - HTML: remove nonsense JSON resources, a=testonly
Automatic update from web-platform-tests
HTML: remove nonsense JSON resources

Pretty sure we don't have a use for these.

--
remove more JSON

--

wpt-commits: 84ee83638741a79a2b6cf7e67bca1f9c9dc92695, 0f05ba74bb119f32981027aa72d2e3d67e03a4c4
wpt-pr: 17574
2019-07-24 13:33:50 +01:00
julianrkung b027da8234 Bug 1564938 [wpt PR 17679] - Allow trailing slash in test_get_current_url_file_protocol, a=testonly
Automatic update from web-platform-tests
webdriver: allow trailing slash in test_get_current_url_file_protocol (#17679)

Fetcing file:// protocol is not standardised which means the test
has to be more forgiving of the URL returned.
--

wpt-commits: 59ea78a393b5c69fb01d67b7267444d334082299
wpt-pr: 17679
2019-07-24 13:33:49 +01:00
Anne van Kesteren 8fa98884a6 Bug 1565151 [wpt PR 17688] - HTML: cleanup [[CanBlock]] tests, a=testonly
Automatic update from web-platform-tests
HTML: cleanup [[CanBlock]] tests

(These do not require COOP/COEP treatment as they test SharedArrayBuffer on a single thread, but still seems nice to reduce clutter.)
--

wpt-commits: e4b8a06127ec937a5a57f6f96470aabb6f8d4629
wpt-pr: 17688
2019-07-24 13:33:48 +01:00
Yutaka Hirano 7a6aba5b76 Bug 1555596 [wpt PR 17095] - Add structured clone tests for errors, a=testonly
Automatic update from web-platform-tests
Add structured clone tests for errors

This is tests for spec changes.
 - https://github.com/whatwg/html/pull/4665
 - https://github.com/heycam/webidl/pull/732

--
Add tests for cloning from another realm

--
Test some stuff before cloning

--

wpt-commits: 1b4fbe0c7049d89fd805dc157f68d82616f5d203, efc79eef01ffa65273ff01736d989ff5fa79f18d, 84af6c875d378944b39d895acdcfc170736b2d3d
wpt-pr: 17095
2019-07-24 13:33:47 +01:00
John Chen 1f18ef69d6 Bug 1565150 [wpt PR 17754] - Fix regression in webdriver tests, a=testonly
Automatic update from web-platform-tests
Fix regression in webdriver tests

A large number of tests in webdriver directory are currently failing,
due to a change in the parameters of Find.css method by PR #17260,
which broke any tests that still supply the old parameters.

This commit changes the parameter order and uses default parameter value
to make the parameter list compatible with the old one.

--

wpt-commits: d528abff035d6596f68f21a9510ee1c5b58a1e48
wpt-pr: 17754
2019-07-24 13:33:46 +01:00
Mike Pennisi 66af760736 Bug 1565149 [wpt PR 17748] - [docs] Correct typo in example of user styles, a=testonly
Automatic update from web-platform-tests
[docs] Correct typo in example of user styles

`userstyle` and `nouserstyle` are referenced as CSS class names in this
document, so they should be declared as such.

--

wpt-commits: 0e95bf3183c7358f3bb428f6f1cc3db5e86b1e79
wpt-pr: 17748
2019-07-24 13:33:46 +01:00
Mike Pennisi 0060f10a9c Bug 1565148 [wpt PR 17739] - [docs] Remove unused files, a=testonly
Automatic update from web-platform-tests
[docs] Remove unused files

These files have not been used since the documentation site was
re-implemented to use Sphinx. They may be removed without affecting the
published website.

--

wpt-commits: 699d35e4e53a7f4595a43b43bcc96c21e29a80e9
wpt-pr: 17739
2019-07-24 13:33:45 +01:00
Anne van Kesteren 703d89a90c Bug 1564418 [wpt PR 17720] - Orientation/Portals: make SharedArrayBuffer non-optional, a=testonly
Automatic update from web-platform-tests
Orientation/Portals: make SharedArrayBuffer non-optional (#17720)

The plan is that SharedArrayBuffer is always available.
--

wpt-commits: bb674f5baec1f1b25d8da1a6fe3d941c3b106e9a
wpt-pr: 17720
2019-07-24 13:33:44 +01:00
Liquan(Max) Gu 9226b39984 Bug 1564586 [wpt PR 17735] - [UserTimingL3] {}, null, undefined passed to start treated as 0, a=testonly
Automatic update from web-platform-tests
[UserTimingL3] {}, null, undefined passed to start treated as 0

According to the spec (https://w3c.github.io/user-timing/#measure-method),
UserTimingL3 API has the second argument being:
optional (DOMString or PerformanceMeasureOptions) startOrMeasureOptions

This indicates that the arg cannot distinguish between:
1. null
2. {}
3. undefined
4. { invalidDictProperty }

According to the spec:
3.1.3 measure() method...
 3. Compute start time as follows..
  4. Otherwise, let start time be 0.

When these indistinguishable values are passed, they should be
interpreted as start time being 0.

Bug: 953840

Change-Id: I052a7823d9ae8b27056f53f04a26fcc93421db75
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1691862
Commit-Queue: Liquan (Max) Gu <maxlg@chromium.org>
Reviewed-by: Nicolás Peña Moreno <npm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#675873}

--

wpt-commits: 1f346b050d87656a040fa4fdf9f99567164e2a2b
wpt-pr: 17735
2019-07-24 13:33:43 +01:00
Xiaocheng Hu 95fd52b189 Bug 1565145 [wpt PR 17741] - Handle non-negativeness of blur radius properly, a=testonly
Automatic update from web-platform-tests
Handle non-negativeness of blur radius properly

Spec on blur radius says [1]:

"... Specifies the blur radius. Negative values are not allowed."

Current implementation performs parse time range check, which is
incorrect as calc() doesn't always have a double value. And spec
requires clamping instead of parse time check for calc() [2]:

"Parse-time range-checking of values is not performed within math
functions, and therefore out-of-range values do not cause the
declaration to become invalid. However, the value resulting from
an expression must be clamped to the range allowed in the target
context."

This patch changes it to pass |kValueRangeNonNegative| to
|ConsumeLength| as it handles non-negative calc() more properly.

This is also preparation for adding DCHECK into GetDoubleValue() to
avoid calling it on calc() without a double value.

[1] https://drafts.csswg.org/css-backgrounds-3/#shadow-blur-radius
[2] https://drafts.csswg.org/css-values-4/#calc-range

Bug: 979895
Change-Id: Ia8c36641f4ec4111ecf5a94a6ffc6eaacf22049c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1691747
Reviewed-by: Emil A Eklund <eae@chromium.org>
Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#675815}

--

wpt-commits: 65d3f17c56ea812d121669e6268a0cec4a4ea4a6
wpt-pr: 17741
2019-07-24 13:33:42 +01:00
Tab Atkins Jr 2bc76dbdca Bug 1565143 [wpt PR 17746] - Serialization of consecutive tokens., a=testonly
Automatic update from web-platform-tests
Serialization of consecutive tokens. (#17746)

* Serialization of consecutive tokens.

Per <https://drafts.csswg.org/css-syntax/#serialization>, many token pairs, if they find themselves consecutive in a value, must be serialized with a comment between them, because otherwise upon serialization+reparse they'll produce a different token stream.

--

wpt-commits: dacb51937397fd06727727614e255f223e7cb9f3
wpt-pr: 17746
2019-07-24 13:33:42 +01:00
joanmarie 86b933916d Bug 1565142 [wpt PR 17742] - Add new tests for Core-AAM, a=testonly
Automatic update from web-platform-tests
Add new tests for Core-AAM: (#17742)

* aria-expanded on: application, checkbox, switch
 * aria-required on: checkbox
 * aria-posinset and aria-setsize on: row
 * inclusion of children of math role
 * group as valid child of listbox
 * menucheckbox as valid child of group in menu
 * subscript and superscript roles
 * meter role
 * time role
 * insertion and deletion roles
--

wpt-commits: f56d498d4dde12aacf8d6bbe591d35488af06a2b
wpt-pr: 17742
2019-07-24 13:33:41 +01:00