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

36757 Коммитов

Автор SHA1 Сообщение Дата
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
Jean-Francois Paradis 1565c9725e Bug 1564583 [wpt PR 17734] - Add missing `var` declaration in html/semantics… test cases, a=testonly
Automatic update from web-platform-tests
Add missing var declaration

--

wpt-commits: 00dfc91aa61590acb6d2a061e473dacfb70b3481
wpt-pr: 17734
2019-07-24 13:33:40 +01:00
Domenic Denicola 4aee4767d3 Bug 1556663 [wpt PR 17159] - Add optional test for cloning of error stacks, a=testonly
Automatic update from web-platform-tests
Add optional test for cloning of error stacks

Supplements https://github.com/web-platform-tests/wpt/pull/17095.
Follows https://github.com/whatwg/html/pull/4665 and https://github.com/heycam/webidl/pull/732.
--

wpt-commits: 1da6bed5d8c4c38200383b86928b7be68bfb87da
wpt-pr: 17159


--HG--
rename : testing/web-platform/tests/html/infrastructure/safe-passing-of-structured-data/shared-array-buffers/resources/echo-iframe.html => testing/web-platform/tests/html/infrastructure/safe-passing-of-structured-data/resources/echo-iframe.html
rename : testing/web-platform/tests/html/infrastructure/safe-passing-of-structured-data/shared-array-buffers/resources/echo-worker.js => testing/web-platform/tests/html/infrastructure/safe-passing-of-structured-data/resources/echo-worker.js
2019-07-24 13:33:39 +01:00
Ian Clelland 5c6faf84a2 Bug 1564479 [wpt PR 17729] - Fix feature policy origin comparison for sandbox., a=testonly
Automatic update from web-platform-tests
Fix feature policy origin comparison for sandbox.

When 'self' was specified in a feature policy header for a sandboxed
page, the resulting policy would not actually allow the feature in that
page, even when it would otherwise have been allowed. This corrects that
by assigning the correct origin to the policy and accepting that origin
in allowlists.

Bug: 973880, 690520
Change-Id: I93325bf24119068f8138f6e38507598cc30cbb06
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1689958
Commit-Queue: Ian Clelland <iclelland@chromium.org>
Reviewed-by: Jeremy Roman <jbroman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#675737}

--

wpt-commits: 6493155a3b1c0a0236aa4059a1ef768961578f98
wpt-pr: 17729
2019-07-24 13:33:38 +01:00
Ian Kilpatrick 7e3d52701f Bug 1564572 [wpt PR 17733] - [LayoutNG] Ensure self-collapsing block relayout when ancestor resolves., a=testonly
Automatic update from web-platform-tests
[LayoutNG] Ensure self-collapsing block relayout when ancestor resolves.

This bug was a combination of older code before we had "forced" BFC
block-offsets.

We didn't correctly detect when we had a self-collapsing block (which
had floats within it) that needed relayout if the initial estimate
was wrong.

This makes sure we give ourselves enough information to detect these
cases.

Bug: 980803
Change-Id: Id1ea5e10d819cb4509fd7664564b75b876f0f7cb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1690720
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Commit-Queue: Emil A Eklund <eae@chromium.org>
Reviewed-by: Emil A Eklund <eae@chromium.org>
Cr-Commit-Position: refs/heads/master@{#675729}

--

wpt-commits: 137960cfe6ce5b4dfb7a6d0bad126d517e03e009
wpt-pr: 17733
2019-07-24 13:33:38 +01:00
Xiaocheng Hu 99e05ca508 Bug 1565141 [wpt PR 17684] - Fix decision of whether to drop y value for 2d translate, a=testonly
Automatic update from web-platform-tests
Fix decision of whether to drop y value for 2d translate

Spec requires dropping y value for 2d translate if it's zero (*). The
current implementation contains bug that:

1. It rounds the value before checking, which results in incorrect
   dropping of '0.1px'

2. It calls DoubleValue() on calc() without type checking, while
   DoubleValue() on calc() is meaningless when the calc() doesn't
   resolve to a simple numeric value (e.g., 1px - 1%). This results in
   incorrect dropping of some calc().

Both are fixed by this patch.

This is also a preparation for adding DCHECK in DoubleValue() to ensure
that it's called only when calc() can be resolved into a simple numeric
value.

Bug: 979895
Change-Id: Ie8b846729b91e55006485a25fab0b65533983eac
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1692202
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#675708}

--

wpt-commits: d947446c473a627ee68835eab7dcb928d85488bd
wpt-pr: 17684
2019-07-24 13:33:37 +01:00
Robert Ma 3df08145a8 Bug 1565140 [wpt PR 17738] - [docs] Fix the code blocks in pipes.py, a=testonly
Automatic update from web-platform-tests
[docs] Fix the code blocks in pipes.py (#17738)

* [docs] Fix the code blocks in pipes.py

Some code blocks were previously not correctly indented or surrounded
with empty lines.

* Apply suggestions from code review

--

wpt-commits: 9d23e22e542d2722bdae1ca5a0b780349a12be79
wpt-pr: 17738
2019-07-24 13:33:36 +01:00
Jeremy Roman d15a64f9f3 Bug 1564492 [wpt PR 17624] - Include initial frame replication state on portal adoption., a=testonly
Automatic update from web-platform-tests
Include initial frame replication state on portal adoption.

This is needed so that checks that occur as part of navigation
don't get confused by the replication state (notably the origin)
of the portal guest contents being missing from the remote frame
in the host contents' renderer.

Since this state is pushed down into the blink::RemoteFrame,
we need InitializeCoreFrame to be called before we can set the
replication state. As a result WebRemoteFrame::CreateForAdoptedPortal
is created, which performs this initialization with the provided
HTMLPortalElement.

Included web test crashes before this CL.

Bug: 980937
Change-Id: I843192e5f5aa8e4e022a88d318fa4a5e1d46a3d9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1677163
Commit-Queue: Jeremy Roman <jbroman@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Nasko Oskov <nasko@chromium.org>
Reviewed-by: Lucas Gadani <lfg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#675702}

--

wpt-commits: 7ab751c5295223c124723888edd1b9378d123b92
wpt-pr: 17624
2019-07-24 13:33:35 +01:00
Koji Ishii b1d845acd5 Bug 1565139 [wpt PR 17685] - [LayoutNG] Do not use out-of-flow cache if in inline container, a=testonly
Automatic update from web-platform-tests
[LayoutNG] Do not use out-of-flow cache if in inline container

This patch changes |NGOutOfFlowLayoutPart::LayoutCandidate()|
not to use a cached result if it has an inline container.

|NGLayoutResult::OutOfFlowPositionedOffset()| has an offset
relative to the inline formatting context block. When an out-
of-flow object has inline contianer, this offset may change
without setting |NeedsLayout()| to the out-of-flow object.

Bug: 981686
Change-Id: Ib8376f791af0b95f6c2b6e5c2361b6a887c74e69
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1692107
Commit-Queue: Emil A Eklund <eae@chromium.org>
Reviewed-by: Emil A Eklund <eae@chromium.org>
Cr-Commit-Position: refs/heads/master@{#675686}

--

wpt-commits: e2d6701e64fbf664b53a4db86c53bffadd9fb9cf
wpt-pr: 17685
2019-07-24 13:33:34 +01:00
Mike Pennisi 095300a5ff Bug 1564596 [wpt PR 17737] - [docs] Remove legacy substitution escape sequences, a=testonly
Automatic update from web-platform-tests
[docs] Remove legacy substitution escape sequences

The `{% raw %}` and `{% endraw %}` markers were required to correctly
render some content when the documentation website was generated by
Jekyll. They have no meaning in the context of the recently-introduced
Sphinx-powered build system, and they are pass through to the rendered
output directly.

Remove the markers.

--

wpt-commits: 5267fe13c8a23fe05f952ffd7e790e4d9fe2dcd9
wpt-pr: 17737
2019-07-24 13:33:34 +01:00
autofoolip 9f56f5b5ba Bug 1564604 [wpt PR 17683] - Update interfaces/web-share.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/web-share.idl (#17683)

Source: https://github.com/tidoust/reffy-reports/blob/564e3d4/whatwg/idl/web-share.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/556145559
--

wpt-commits: 7e80246cdaeb322c627f76dd55dd7350001ba402
wpt-pr: 17683
2019-07-24 13:33:33 +01:00
autofoolip 8ac2a3d391 Bug 1564600 [wpt PR 17682] - Update interfaces/performance-timeline.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/performance-timeline.idl (#17682)

Source: https://github.com/tidoust/reffy-reports/blob/564e3d4/whatwg/idl/performance-timeline.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/556145559
--

wpt-commits: a73b793f79c26028cf513151ac247785a9fca405
wpt-pr: 17682
2019-07-24 13:33:32 +01:00
Robert Ma b146373da6 Bug 1564530 [wpt PR 17731] - [ci] Split Edge Canary into a separate job, a=testonly
Automatic update from web-platform-tests
[ci] Split Edge Canary into a separate job

Do not run Edge Canary and Edge Dev in the same job to prevent them from
overwriting each other. This also makes Edge setup the same as Safari
(two jobs for Safari & STP) on Azure Pipelines.

--

wpt-commits: 5a6c83e5332ea8c072cd088bb4aa3320bf8605a7
wpt-pr: 17731
2019-07-24 13:33:31 +01:00
Majid Valipour 39cebccf28 Bug 1555486 [wpt PR 17083] - [web-animations] Make handling of keyframes more spec compliant, a=testonly
Automatic update from web-platform-tests
[web-animations] Make handling of keyframes more spec compliant

WebAnimations spec has two keyframe concepts:

A) keyframes [1]
B) computed keyframes [2]

A key difference is that in A property values remain unresolved while in
B these properties are resolved (e.g., shorthands expand to long hands
etc.)

KeyframeEffect.getKeyframes() is expected to return (A) but our current
implementation only keeps around (B).

This CL introduces the following changes to bring us closer to the
specified behavior:

 1. Introduce a new map <property, value> in StringKeyframe
   representing (A)
 2. CSS property pairs are added to this map as long as they parse
   correctly [3]
 3. Use the new map to produce the result of getKeyframes()

There is some additional special handling required for shorthand
properties because Blink CSS parser does not really produce any
shorthand values. As a shortcut this patch introduces a new type
of css value (`CSSKeyframeShorthandValue`) which represents a
shorthand by encapsulating all its relevant longhand property/value
pairs.

Note that we continue our old behavior for SVG and Presentation attrs
which will be switch over in follow up patch.

[1] https://drafts.csswg.org/web-animations/#keyframes-section
[2] https://drafts.csswg.org/web-animations/#calculating-computed-keyframes
[3] https://drafts.csswg.org/web-animations/#process-a-keyframes-argument step 8

TEST:
 - web-animations/interfaces/{Animatable, Keyframes} => PASS previously failing tests
 - Added two new test cases in above covering animated custom props
 - external/wpt/web-animations/interfaces/KeyframeEffect/getKeyframes.html => New test to cover serialization

Bug: 816956
Change-Id: Icc8e0bc4a0ee3019ad7d2c566aacb9d3aee0ffe3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1634393
Commit-Queue: Majid Valipour <majidvp@chromium.org>
Reviewed-by: Stephen McGruer <smcgruer@chromium.org>
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/master@{#675665}

--

wpt-commits: 631824bf82ea23e59604b443ab62c9b123eb25d5
wpt-pr: 17083
2019-07-24 13:33:31 +01:00
Findit 4a4d07c1c8 Bug 1558779 [wpt PR 17722] - [Gecko Bug 1558779] [wpt PR 17288] - Revert "Active Processing for ConvolverNode", a=testonly, a=testonly
Automatic update from web-platform-tests
[wpt PR 17288] - Revert "Active Processing for ConvolverNode", a=testonly

Automatic update from web-platform-tests
Revert "Active Processing for ConvolverNode"

This reverts commit 499976c54a2b086bbde54ae137d0ac4adb3cd427.

Reason for revert:

Findit (https://goo.gl/kROfz5) identified CL at revision 668149 as the
culprit for flakes in the build cycles as shown on:
https://analysis.chromium.org/p/chromium/flake-portal/analysis/culprit?key=ag9zfmZpbmRpdC1mb3ItbWVyQwsSDEZsYWtlQ3VscHJpdCIxY2hyb21pdW0vNDk5OTc2YzU0YTJiMDg2YmJkZTU0YWUxMzdkMGFjNGFkYjNjZDQyNww

Sample Failed Build: https://ci.chromium.org/buildbot/chromium.mac/WebKit%20Mac10.13%20%28retina%29/15474

Sample Failed Step: webkit_layout_tests on ATI GPU on Mac Retina on Mac-10.13.6

Sample Flaky Test: external/wpt/webaudio/the-audio-api/the-convolvernode-interface/active-processing.https.html

Original change's description:
> Active Processing for ConvolverNode
>
> The ConvolverNode should output a single channel of silence when it is not
> actively processing.  Active processing is already supported and just needed
> to have the convolver output a single channel of silence when it is
> constructed, before anything is connected to it.
>
> Bug: 971389
> Change-Id: Icc894cd7ea6dec60a1eccb0fa4a3aea68ac5b51f
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1644899
> Commit-Queue: Raymond Toy <rtoy@chromium.org>
> Reviewed-by: Hongchan Choi <hongchan@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#668149}

Change-Id: Ie7fedee332ca167c3dfd4fd99142de89234ff03a
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 971389
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1653924
Cr-Commit-Position: refs/heads/master@{#668243}

--

wp5At-commits: 2477f79f3c0757225d06762aeb1d3b1eea6eb52a
wpt-pr: 17288

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1558779
gecko-commit: 9f3894cee297f22e93ac8b76176ec52474ce5a00
gecko-integration-branch: central
gecko-reviewers: testonly

--

wpt-commits: 0968cc9522f12cf46972ede6423d3ab0742ebc24
wpt-pr: 17722
2019-07-24 13:33:30 +01:00
jugglinmike a1e4cc364a Bug 1561213 [wpt PR 17482] - [docs] Consolidate instructions on server features, a=testonly
Automatic update from web-platform-tests
[docs] Consolidate instructions on server features (#17482)

* [docs] Consolidate instructions on server features

The file `server-side.md` duplicates much of the information available
in the `docs/` directory. Remove `server-side.md`, preserving its unique
content in the relevant files within the `docs/` directory.

--

wpt-commits: 8119bc10583682676a3db9806c82ed4044e88e13
wpt-pr: 17482
2019-07-24 13:33:29 +01:00
Sam Sneddon a7442209dc Bug 1564812 [wpt PR 17522] - Deal with the virtualenv .Python link being broken, a=testonly
Automatic update from web-platform-tests
Deal with the virtualenv .Python link being broken

This happens relatively frequently on macOS when using Homebrew, as
Homebrew installs into versioned paths, so following an upgrade and
a cleanup of the old install, the old path no longer exists.

--

wpt-commits: 5ef31c71071b18b3164eb9eca0e991aab4313c54
wpt-pr: 17522
2019-07-24 13:33:28 +01:00
Josh Matthews 4aebcb94db Bug 1564810 [wpt PR 17564] - Release the mozlog lock when starting test runner processes, a=testonly
Automatic update from web-platform-tests
Ensure that the mozlog lock is released when starting test runner processes.

--

wpt-commits: af7f76ee8f480e3dc5c8b3c39edebc7a50ae6abf
wpt-pr: 17564
2019-07-24 13:33:27 +01:00
Frédéric Wang 7daec1feb8 Bug 1564809 [wpt PR 17686] - Add missing help for text-transform math test., a=testonly
Automatic update from web-platform-tests
Add missing help for text-transform math test. (#17686)

--

wpt-commits: 7ed3166ac0fb3cd33c63db4846f522a0d30f8b3e
wpt-pr: 17686
2019-07-24 13:33:27 +01:00
Koji Ishii 367b620b2f Bug 1564805 [wpt PR 17669] - Defer laying out atomic inline while traversing inline children, a=testonly
Automatic update from web-platform-tests
Defer laying out atomic inline while traversing inline children

This patch reverts [1] so that, when in full layout mode, it
prevents |LayoutInlineChildren()| from doing any layout in
its |InlineWalker| loop.

The crash occurs because |DirtyLineBoxesForObject()| can
destroy |InlineTextBox| without unlinking them from the list,
assuming the tree was already destroyed. We could either:
a. Change |DirtyLineBoxesForObject()| to unlink |InlineBox|es
   it destroys.
b. Prevent laying out any children in this loop.
This patch chooses the optoin b.

Laying out atomic inline in the descendant traversal loop of
|LayoutInlineChildren()| was delayed after the loop in [2],
then it was changed to use a temporary list in [3].

The temporary list was removed in [1] because the original
test (fast/block/inline-children-root-linebox-crash.html) no
longer crashes. But laying out in the descendant traversal
loop should still be avoided.

[1] r390765 https://codereview.chromium.org/1933633002
[2] https://trac.webkit.org/changeset/118248/webkit
[3] https://trac.webkit.org/changeset/125810/webkit

Bug: 981602
Change-Id: Ie37a611aa7f6dc9b015d449ac75570c356ce654e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1690379
Reviewed-by: Emil A Eklund <eae@chromium.org>
Commit-Queue: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#675479}

--

wpt-commits: 7b1ce62b0f9796d78a30d2765189e42a1d0616e6
wpt-pr: 17669
2019-07-24 13:33:26 +01:00
Liquan(Max) Gu 83a017b0a3 Bug 1553212 [wpt PR 16937] - [UserTimingL3] Always serialize detail, a=testonly
Automatic update from web-platform-tests
[UserTimingL3] Always serialize detail

UserTimingL3 specs that the detail property of the measure method and
the performance mark constructor both need to serialize the detail
property:

In https://w3c.github.io/user-timing/#measure-method:
"Set entry's detail attribute as follows:
If startOrMeasureOptions is present and is a
PerformanceMeasureOptions object, set it to the result of calling
the StructuredSerialize algorithm on startOrMeasureOptions's detail.
Otherwise, set it as null."

In https://w3c.github.io/user-timing/#the-performancemark-constructor:
"Set entry's detail attribute to the result of calling the
StructuredSerialize algorithm on markOptions's detail."

In the current implementation of the performancemark constructor, it
serializes the detail only when the world of constructor and
the world of accessing the detail are different. To correct this, we
should serialize in both situations.

In the current implementation of the measure method, it does serialize
in both cases, but it swallows the exception. We should not swallow the
exception so as to "fail early, fail loudly"

Bug: 953857, 963926
Change-Id: I471c4d207d9c05bc9b9b8b65315c49b0aa73a672
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1620748
Commit-Queue: Liquan (Max) Gu <maxlg@chromium.org>
Reviewed-by: Nicolás Peña Moreno <npm@chromium.org>
Reviewed-by: Jeremy Roman <jbroman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#675461}

--

wpt-commits: 09cbd6bc9ecc7349e9e38e6b2dd7e1d53dfb79ef
wpt-pr: 16937
2019-07-24 13:33:25 +01:00
Mustapha Jaber 4f6c251ebe Bug 1564804 [wpt PR 17540] - Update MsEdgeDriver download to get driver binary based on channel info, a=testonly
Automatic update from web-platform-tests
Update MsEdgeDriver download to get driver binary based on channel info (#17540)

--

wpt-commits: 97a1a7874a9d0e97c340701b7b5e5f526fbfecfe
wpt-pr: 17540
2019-07-24 13:33:24 +01:00
Robert Ma 81bd1a3183 Bug 1564803 [wpt PR 17678] - Reland "[WPT] Reland Upload a test for sending mouse events with key pressed", a=testonly
Automatic update from web-platform-tests
Reland "[WPT] Reland Upload a test for sending mouse events with key pressed"

This reverts commit d91140eca4d13c992fe1803664adaf9605199610.
(i.e. relands c4dc34414b232ed5575d6a61837e2cfb32def045)

Original change's description:
> Revert "[WPT] Reland Upload a test for sending mouse events with key pressed"
>
> This reverts commit c4dc34414b232ed5575d6a61837e2cfb32def045.
>
> Reason for revert: actionsWithKeyPressed.html fails on MacOS
>
> Original change's description:
> > [WPT] Reland Upload a test for sending mouse events with key pressed
> >
> > When we have keyboard events and mouse events send together, we should
> > set key modifies in mouse events. This test first presses some keys
> > then send some mouse events. This test only works on Chrome.
> >
> > Bug: 606367
> >
> > TBR=nzolghadr@chromium.org
> >
> > Change-Id: Idad0bcca2c03f961f6c6af211d7f843f06e14fc1
> > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1544170
> > Reviewed-by: Lan Wei <lanwei@chromium.org>
> > Commit-Queue: Lan Wei <lanwei@chromium.org>
> > Cr-Commit-Position: refs/heads/master@{#653672}
>
> TBR=lanwei@chromium.org
>
> # Not skipping CQ checks because original CL landed > 1 day ago.
>
> Bug: 606367
> Change-Id: I1569088b67060cf8fa749ec0dc725fe551a990c5
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1689030
> Commit-Queue: Lan Wei <lanwei@chromium.org>
> Reviewed-by: Lan Wei <lanwei@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#674840}

TBR=lanwei@chromium.org

Bug: 606367
Change-Id: I06139386a7eb4d0b2323d48688a7b2cffbe0a583
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1690568
Reviewed-by: Robert Ma <robertma@chromium.org>
Commit-Queue: Robert Ma <robertma@chromium.org>
Cr-Commit-Position: refs/heads/master@{#675379}

--

wpt-commits: d73c675597c48e53b6fe1955a866d820518c2ee9
wpt-pr: 17678
2019-07-24 13:33:23 +01:00
moz-wptsync-bot 9543d0b426 Bug 1564800 [wpt PR 17578] - Update wpt metadata, a=testonly
wpt-pr: 17578
wpt-type: metadata
2019-07-24 13:33:23 +01:00
Ovidio Henriquez b370189785 Bug 1564800 [wpt PR 17578] - bluetooth: Standalone Tests for characteristic/, a=testonly
Automatic update from web-platform-tests
bluetooth: Standalone Tests for characteristic/

This change refactors the Web Bluetooth WPT tests in the characteristic/
directory to be standalone window tests, as well as use the async/await
pattern. This makes the tests easier to format and easier to read.

The generated tests are not updated in this patch because they will
require updating the Python script that generates them.

Bug: 509038
Change-Id: I74d2158bbff3ef3b30d5286129cc3fc855e9a9da
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1682840
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Commit-Queue: Ovidio de Jesús Ruiz-Henríquez <odejesush@chromium.org>
Cr-Commit-Position: refs/heads/master@{#675371}

--

wpt-commits: 175bb1c4268b76f5023708a11c9b48c694e7eae7
wpt-pr: 17578
2019-07-24 13:33:22 +01:00
Vladimir Levin 5d73e268da Bug 1564796 [wpt PR 17652] - WPT: Fix contain-style-counters-004.html with correct expectations., a=testonly
Automatic update from web-platform-tests
WPT: Fix contain-style-counters-004.html with correct expectations.

contain-style-counters-004.html has spans as non-siblings of the
div that prints the number.

This patch adjusts the expectations to print 0, instead of 20. Note
that contain-style-counters-003.html already tests for siblings
relationship.

R=tabatkins@chromium.org, chrishtr@chromium.org

Change-Id: I0ca60bed403ba31844688b7f97db8c50628fcaf7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1689072
Reviewed-by: Chris Harrelson <chrishtr@chromium.org>
Commit-Queue: vmpstr <vmpstr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#675309}

--

wpt-commits: a09e43f71b85ea8dff2f77d58489ce95852e84f8
wpt-pr: 17652
2019-07-24 13:33:21 +01:00
Nicolás Peña Moreno d91292efd5 Bug 1564795 [wpt PR 17676] - Do not expose element, event, and layout-shift entries via getEntries, a=testonly
Automatic update from web-platform-tests
Do not expose element, event, and layout-shift entries via getEntries

Currently, Performance's getEntriesByType, getEntriesByName, and
getEntries methods include buffered entries of types 'element', 'event',
and 'layout-shift'. We do not want to expose these to the performance
timeline now that the buffered flag is shipped. This CL removes them
from those methods and fixes/adds web_tests that check those methods.

Bug: 581518, 823744, 883483, 972830
Change-Id: I0d74794bcc205cded6684472cc56836e253856cf
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1689073
Reviewed-by: Steve Kobes <skobes@chromium.org>
Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#675032}

--

wpt-commits: c13852e02350b4e86a8c348885933f9e9b83e807
wpt-pr: 17676
2019-07-24 13:33:20 +01:00
Stephen McGruer f980eb93c5 Bug 1564793 [wpt PR 17673] - Null-check the CSS Transition's effect when doing updates, a=testonly
Automatic update from web-platform-tests
Null-check the CSS Transition's effect when doing updates

If you use the (still experimental) getAnimations() API to modify a
running CSS Transition to have a null effect, and then immediately start
a new transition without letting the old one finish, we would try to
unconditionally access and use the |effect| member. Add some null checks
to avoid this.

Bug: 964113
Change-Id: I26de63234b5249689e82596173ac354ff1ca6eee
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1690924
Reviewed-by: Yi Gu <yigu@chromium.org>
Commit-Queue: Stephen McGruer <smcgruer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#675305}

--

wpt-commits: 9e1ff30db5610b44c74aae2394e4af095536a75c
wpt-pr: 17673
2019-07-24 13:33:20 +01:00
Hiroki Nakagawa e2b9a20f85 Bug 1564792 [wpt PR 17593] - Worker: Simplify worker-interception.https.html, a=testonly
Automatic update from web-platform-tests
Worker: Simplify worker-interception.https.html

This CL removes unnecessary iframe creation, and adds test helper functions to
simplify the tests. This is just refactoring, and should work just like before.

Bug: 731604, 906991
Change-Id: I775567c64df0a7ed4b1931caf285c06f60b0b14b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1683916
Commit-Queue: Hiroki Nakagawa <nhiroki@chromium.org>
Reviewed-by: Matt Falkenhagen <falken@chromium.org>
Cr-Commit-Position: refs/heads/master@{#673963}

--

wpt-commits: 1bac9e9d1715ca642d09ceb2a089db2b82c8714c
wpt-pr: 17593
2019-07-24 13:33:19 +01:00
Nicolás Peña Moreno 305f1508c0 Bug 1564791 [wpt PR 17644] - Update entryType names to follow conventions, a=testonly
Automatic update from web-platform-tests
Update entryType names to follow conventions

Currently, we have entryTypes 'firstInput', 'layoutShift', and
'largestContentfulPaint' in experimental code (disabled by default, at
most under Origin Trial). This CL updates the naming to follow the
conventions specified at
https://w3ctag.github.io/design-principles/#casing-rules, so they become
'first-input', 'layout-shift', and 'largest-contentful-paint'.

Bug: 823744, 965505, 581518
Change-Id: I989a59fb62b886ab305b0e0fb4be8f3556c1ca82
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1685975
Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
Reviewed-by: Timothy Dresser <tdresser@chromium.org>
Cr-Commit-Position: refs/heads/master@{#674490}

--

wpt-commits: f1a492a84b4cd1e4146f8f9d84ec34f902bebb4a
wpt-pr: 17644
2019-07-24 13:33:18 +01:00
Nicolás Peña Moreno e1fc6b004c Bug 1564790 [wpt PR 17633] - Add buffered flag tests for UserTiming and ElementTiming, a=testonly
Automatic update from web-platform-tests
Add buffered flag tests for UserTiming and ElementTiming

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

--

wpt-commits: a8d8e612cc838b344aa29f64746bc1bbff862ab9
wpt-pr: 17633
2019-07-24 13:33:17 +01:00
Eric Willigers 00e99ecded Bug 1564786 [wpt PR 17667] - CSS: Parsing tests for fonts properties, a=testonly
Automatic update from web-platform-tests
CSS: Parsing tests for fonts properties

WPTs for CSS Fonts 4 font-size, including xxx-large
https://drafts.csswg.org/css-fonts-4/#font-size-prop

WPTs for parsing and computed values of various CSS Fonts 3 properties
https://www.w3.org/TR/css-fonts-3/#property-index

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

--

wpt-commits: 8a6817487b4c5dd12f8087507f731f3af7e48933
wpt-pr: 17667
2019-07-24 13:33:16 +01:00
Lan Wei 0081a0eb3b Bug 1558314 [wpt PR 17260] - Automate tap action on an element in an iframe, a=testonly
Automatic update from web-platform-tests
Automate tap action on an element in an iframe (#17260)

--

wpt-commits: a9d6d1b058f9d37cabaf735ea60f9b87acc8a02b
wpt-pr: 17260
2019-07-24 13:33:16 +01:00
jugglinmike 1101f31a9c Bug 1564782 [wpt PR 17646] - [bluetooth] Correct typos in documentation, a=testonly
Automatic update from web-platform-tests
[bluetooth] Correct typos in documentation (#17646)

--

wpt-commits: 720ddb0305691ca795dd3ecf97f425b4d5b67b7f
wpt-pr: 17646
2019-07-24 13:33:15 +01:00
Mike Pennisi dc27483b31 Bug 1564780 [wpt PR 17648] - [tools] Remove use of deprecated API, a=testonly
Automatic update from web-platform-tests
[tools] Remove use of deprecated API

The "message" parameter of Pytests's `raises` method has been deprecated
[1]. This causes a test failure in the current configuration. Since the
parameter was not previously serving the intended purpose (that is, it
was *not* verifying the message of the raised exception), it may be
removed without degrading coverage.

[1] https://docs.pytest.org/en/4.6-maintenance/deprecations.html#message-parameter-of-pytest-raises

--

wpt-commits: 8b642c10f67f0728f17d3284367d93c7480d290e
wpt-pr: 17648
2019-07-24 13:33:14 +01:00
Eric Willigers 21ff51268a Bug 1564779 [wpt PR 17661] - CSS: WPT for box-shadow computed value, a=testonly
Automatic update from web-platform-tests
CSS: WPT for box-shadow computed value

Computed box-shadow shadow value has computed color, 4 lengths made
absolute, and an optional inset keyword.
https://drafts.csswg.org/css-backgrounds-3/#box-shadow

getComputedStyle result for caret-color is a color.
https://drafts.csswg.org/css-ui-3/#caret-color

getComputedStyle result for outline-color is a color, or invert.
https://drafts.csswg.org/css-ui-3/#outline-color

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

--

wpt-commits: 255b99e5c2e0f5f8010adf6b69e3c1e0b73f7652
wpt-pr: 17661
2019-07-24 13:33:13 +01:00
Eric Willigers d7b99c1cff Bug 1564778 [wpt PR 17666] - [css-fonts] Parsing tests, a=testonly
Automatic update from web-platform-tests
[css-fonts] Parsing tests (#17666)

font-size-adjust, font-synthesis, font-variant-position
support the values in the spec.
https://www.w3.org/TR/css-fonts-3/#font-size-adjust-prop
https://www.w3.org/TR/css-fonts-3/#font-synthesis-prop
https://www.w3.org/TR/css-fonts-3/#font-variant-position-prop
--

wpt-commits: d6b557b7a388a99aef043f88493a98e67b60fdac
wpt-pr: 17666
2019-07-24 13:33:12 +01:00
Tsuyoshi Horo f1a89b801f Bug 1564777 [wpt PR 17638] - Add WPT test of Signed Exchange subresource prefetch, a=testonly
Automatic update from web-platform-tests
Add WPT test of Signed Exchange subresource prefetch

Bug: 935267
Change-Id: I8120c95ab48bf6273bfa6588f06c4fc615a57d6e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1687016
Commit-Queue: Tsuyoshi Horo <horo@chromium.org>
Reviewed-by: Kunihiko Sakamoto <ksakamoto@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Cr-Commit-Position: refs/heads/master@{#675197}

--

wpt-commits: 229078fb1a8f9c33ed21807aee288222ca9a3473
wpt-pr: 17638
2019-07-24 13:33:12 +01:00
Ms2ger 6b450b59e4 Bug 1564775 [wpt PR 17586] - Restore webidl2.js.headers., a=testonly
Automatic update from web-platform-tests
Restore webidl2.js.headers.

It was added in #6685 and removed accidentally in #16864.

--

wpt-commits: 3387cf524436af6e29ad89b1b04ec94b8a76d4f9
wpt-pr: 17586
2019-07-24 13:33:11 +01:00
David Grogan 2c4e77d64d Bug 1561198 [wpt PR 17432] - LayoutNG: Fix sizing and position of abspos tables, a=testonly
Automatic update from web-platform-tests
LayoutNG: Fix sizing and position of abspos tables

LayoutBox::ContainingBlockLogicalHeightForPercentageResolution was
adding padding but only for tables. NG already supplies padding so don't
do this table exception if the containing block is NG.

ng_absolute_utils relied on specified table width/height being the final
say, but tables use those as another min size. This patch makes
ng_absolute_utils treat table height/width as Auto for main sizing and
uses it as another min-height/width.

ResolveInlineLengthInternal assumes that anything with inline size Auto
will expand to fill the available space, but tables do not.

The 4-argument version of ComputeMinAndMaxContentContribution makes a
similar assumption to ng_absolute_utils -- if a node has a width set,
that's the final width. The 3-argument version of
ComputeMinAndMaxContentContribution is aware of this so bypasses the
4-argument version for tables and instead uses legacy preferred width
calculations, so I made ComputeMinAndMaxContentSizeForOutOfFlow do the
same.

The tests all at least partially failed in NG before this patch. After
this patch, NG matches legacy everywhere, except for the first 2 cases
of -002.html, which were broken in legacy and NG before this patch. It
is now correct in NG.

We partially fail 003 and 005, but identically to legacy layout.

I added more checks to fast/table/absolute-table-percent-lengths.html
and moved it to the wpt repository as
css/css-tables/absolute-tables-001.html .

Bug: 973390
Change-Id: I8cea275b2ca19492a501b84cd86456ed6745a4b8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1671851
Commit-Queue: David Grogan <dgrogan@chromium.org>
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Reviewed-by: Aleks Totic <atotic@chromium.org>
Cr-Commit-Position: refs/heads/master@{#675142}

--

wpt-commits: 8e3db7f3a765d1783f7e8c068c8bf90de61b1f66
wpt-pr: 17432
2019-07-24 13:33:10 +01:00
Kagami Sascha Rosylight 9e9ef7fbe3 Bug 1564774 [wpt PR 17660] - Implement DOMPoint.fromPoint, a=testonly
Automatic update from web-platform-tests
Implement DOMPoint.fromPoint

--

wpt-commits: 0b22439430b6d8d9a6d43a0908e86c0366f207c0
wpt-pr: 17660
2019-07-24 13:33:09 +01:00
George Steel acc7e8359f Bug 1564773 [wpt PR 17653] - fix parsing (canonicalization) and interpolation of scale property, a=testonly
Automatic update from web-platform-tests
fix parsing (canonicalization) and interpolation of scale property

Bug: 903221
Change-Id: I7f9486a55e9873b900193b454b71e1996d5e024f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1689212
Commit-Queue: George Steel <gtsteel@chromium.org>
Reviewed-by: Robert Flack <flackr@chromium.org>
Reviewed-by: Kevin Ellis <kevers@chromium.org>
Cr-Commit-Position: refs/heads/master@{#675067}

--

wpt-commits: a0747c8d65324ecd173bf9fb70d83e4ddbdb07f6
wpt-pr: 17653
2019-07-24 13:33:08 +01:00
Eric Willigers 4022d20d9e Bug 1564771 [wpt PR 17658] - CSS Animations: WPTs for responsive animations, a=testonly
Automatic update from web-platform-tests
CSS Animations: WPTs for responsive animations

column-rule-color animations respond to changes in currentColor
and inherited column-rule-color that occur while the animation
is in progress.

column-width animations repond to changes in font-size
and inherited column-width that occur while the animation
is in progress.

Note this test fails in
Edge 18
Firefox 67 (partially)
Safari 12.1

Bug: 812908
Change-Id: Ic28819a7f4aa3c8c30b11d58ea2600563a182c07
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1689612
Reviewed-by: Robert Flack <flackr@chromium.org>
Commit-Queue: Eric Willigers <ericwilligers@chromium.org>
Cr-Commit-Position: refs/heads/master@{#675042}

--

wpt-commits: 3c5c83759bb5062de405b1c29257f89e884759fb
wpt-pr: 17658
2019-07-24 13:33:08 +01:00
Jinfeng Ma 052a7de6ac Bug 1564770 [wpt PR 17619] - Iframe can't be scrolled after scrolling='no' is modified to 'yes' by script., a=testonly
Automatic update from web-platform-tests
Iframe can't be scrolled after scrolling='no' is modified to 'yes' by script.

When a LocalFrameView object corresponding to an iframe with scrolling attr
initial value 'no' is created, it will set CanHaveScrollbars to false. When
script modifies scrolling attr to 'yes', CanHaveScrollbars status should be
changed.

For example:
<iframe id='iframe_node' src='...' scrolling='no'></iframe>
<script>
    var iframe = document.getElementById('iframe_node');
    iframe.onload = function () {
        iframe.scrolling = 'yes';
    };
</script>

Bug: 979085
Change-Id: I07465df4d9cf38c37a61fa2606e17f2bc34777ec
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1679750
Reviewed-by: Mason Freed <masonfreed@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Commit-Queue: Mason Freed <masonfreed@chromium.org>
Cr-Commit-Position: refs/heads/master@{#675037}

--

wpt-commits: 1ae7eb52c8153973f16d6ebf3a8ba363199e8895
wpt-pr: 17619
2019-07-24 13:33:07 +01:00
Dominic Farolino f91dd6574f Bug 1564769 [wpt PR 17655] - Add Preload + SRI image destination tests, a=testonly
Automatic update from web-platform-tests
Add Preload + SRI image destination tests

This CL adds all of the Preload + SRI tests for the as=image
destination. Chrome is not implementing Preload + SRI on non-{script,
style} destinations immediately, but it is good to add the tests for
these destinations so that the future implementation's success can
easily be tracked and measured.

R=kouhei@chromium.org, yhirano@chromium.org

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

--

wpt-commits: 550b9db5975f88173a5c9ceb1d576376288f18d7
wpt-pr: 17655
2019-07-24 13:33:06 +01:00
cathiechen e7e4acd164 Bug 1564765 [wpt PR 17647] - Add more combinations for scrollIntoView, a=testonly
Automatic update from web-platform-tests
Add more combinations for scrollIntoView (#17647)

This patch added more combinations of writing-mode and css direction for scrollIntoView.
Now we have tested: horizontal-tb, horizontal-tb with rtl, vertical-lr, vertical-lr with rtl and vertical-rl.
The scroll bar position of vertical-rl with rtl is not consistency in browsers, and the specification doesn't indicate the position. And scroll bar position will affect the scroll coordinate. So this test is pending.

--

wpt-commits: c9cb3807e0031f551aa4c188923640f6cebe793a
wpt-pr: 17647
2019-07-24 13:33:04 +01:00
autofoolip 477f23ed08 Bug 1564764 [wpt PR 17580] - Update interfaces/webxr.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/webxr.idl (#17580)

Source: https://github.com/tidoust/reffy-reports/blob/33bc5b1/whatwg/idl/webxr.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/554091846
--

wpt-commits: 04dca014b6cb0c5f9b6a26d92d89b147af4bcc81
wpt-pr: 17580
2019-07-24 13:33:03 +01:00
Yutaka Hirano 3d68e34998 Bug 1564761 [wpt PR 17620] - Document::CheckComplete should be nop when called from RequestResource, a=testonly
Automatic update from web-platform-tests
Document::CheckComplete should be nop when called from RequestResource

Otherwise,
1 when the request is served from the memory cache, it conflicts with
  a ScriptForbiddenScope (already covered).
2 when the request is a synchronous XHR call,
  ResourceLoadObserver::DidFinishLoading is called synchronously,
  which means Document.readyState change would be observable
  synchronously (A NEW PROBLEM).

The ResponseSource parameter in ResourceLoadObserver::DidFinishLoading
was introduced to fix 1, but with this change it's not needed. Remove
it.

Bug: 977486
Change-Id: I103032600c66837475850c87d8a3823a85e5b27f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1687014
Commit-Queue: Yutaka Hirano <yhirano@chromium.org>
Reviewed-by: Kouhei Ueno <kouhei@chromium.org>
Cr-Commit-Position: refs/heads/master@{#674947}

--

wpt-commits: 1d7610e955878a6fccd01cd545639c5629c237ee
wpt-pr: 17620
2019-07-24 13:33:02 +01:00
Eric Willigers c262c6f87b Bug 1564759 [wpt PR 17623] - [css-masking] Parsing mask-position, a=testonly
Automatic update from web-platform-tests
[css-masking] Parsing mask-position (#17623)

mask-position accepts <position>#
https://drafts.fxtf.org/css-masking-1/#the-mask-position

3-valued positions are not accepted
https://github.com/w3c/csswg-drafts/issues/2140
--

wpt-commits: 2831268f1ea8bf7fdb7b27109f2cb887bbae6b56
wpt-pr: 17623
2019-07-24 13:33:02 +01:00
Eero Häkkinen f9438bb459 Bug 1564758 [wpt PR 17654] - [Native File System] Remove remove and removeRecursively operations, a=testonly
Automatic update from web-platform-tests
[Native File System] Remove remove and removeRecursively operations

These operations are no longer part of the spec. This CL removes their
implementation.

Bug: 968553
Change-Id: If2600a55bd724bf2fee537b36a3bece8fd5c1313
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1680173
Commit-Queue: Eero Häkkinen <eero.hakkinen@intel.com>
Reviewed-by: Marijn Kruisselbrink <mek@chromium.org>
Reviewed-by: Chris Palmer <palmer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#674922}

--

wpt-commits: 8327a0378e5cbd6f31db6511bd2f4707ca2b1c20
wpt-pr: 17654
2019-07-24 13:33:01 +01:00
Eero Häkkinen 5bff307072 Bug 1564756 [wpt PR 17545] - [Native File System] Implement removeEntry operation, a=testonly
Automatic update from web-platform-tests
[Native File System] Implement removeEntry operation

The removeEntry operation is to substitute the remove and
removeRecursively operations according to the spec.

Bug: 968553
Change-Id: I3f99f51e643fe0d7c50859d6b971faf8446c3b47
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1680172
Reviewed-by: Kentaro Hara <haraken@chromium.org>
Reviewed-by: Chris Palmer <palmer@chromium.org>
Reviewed-by: Marijn Kruisselbrink <mek@chromium.org>
Commit-Queue: Eero Häkkinen <eero.hakkinen@intel.com>
Auto-Submit: Eero Häkkinen <eero.hakkinen@intel.com>
Cr-Commit-Position: refs/heads/master@{#674911}

--

wpt-commits: 6974bcc39ed029ab62c719378d8dbc66ad7495d5
wpt-pr: 17545
2019-07-24 13:33:00 +01:00
Henrik Boström 7a0133ddeb Bug 1564754 [wpt PR 17643] - Re-enable RTCRtpSender-getStats.https.html tests., a=testonly
Automatic update from web-platform-tests
Re-enable RTCRtpSender-getStats.https.html tests.

This was temporarily disabled to unblock a roll.
A helper function used by the test is updated to reflect the fact that
audioLevel is not always present.

Bug: 736403
Change-Id: Ia2d7b51d58f23023bf5894fbf2707ba155d9ac9a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1688954
Reviewed-by: Armando Miraglia <armax@chromium.org>
Commit-Queue: Henrik Boström <hbos@chromium.org>
Cr-Commit-Position: refs/heads/master@{#674856}

--

wpt-commits: 7de7666607b4e4ea60a04c601a4c91b3cb7d673a
wpt-pr: 17643
2019-07-24 13:32:59 +01:00
Lan Wei ea9094f2ca Bug 1564753 [wpt PR 17641] - Revert "[WPT] Reland Upload a test for sending mouse events with key pressed", a=testonly
Automatic update from web-platform-tests
Revert "[WPT] Reland Upload a test for sending mouse events with key pressed"

This reverts commit c4dc34414b232ed5575d6a61837e2cfb32def045.

Reason for revert: actionsWithKeyPressed.html fails on MacOS

Original change's description:
> [WPT] Reland Upload a test for sending mouse events with key pressed
>
> When we have keyboard events and mouse events send together, we should
> set key modifies in mouse events. This test first presses some keys
> then send some mouse events. This test only works on Chrome.
>
> Bug: 606367
>
> TBR=nzolghadr@chromium.org
>
> Change-Id: Idad0bcca2c03f961f6c6af211d7f843f06e14fc1
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1544170
> Reviewed-by: Lan Wei <lanwei@chromium.org>
> Commit-Queue: Lan Wei <lanwei@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#653672}

TBR=lanwei@chromium.org

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

--

wpt-commits: 59d845bb6f7c9fb271e91262f659e7a8a3e70d9f
wpt-pr: 17641
2019-07-24 13:32:58 +01:00
Bryan McQuade 19e5f923c7 Bug 1564751 [wpt PR 17640] - Enable LayoutInstabilityMoveDistance by default., a=testonly
Automatic update from web-platform-tests
Enable LayoutInstabilityMoveDistance by default.

This CL will be followed by a CL to remove the conditional logic
for move distance in LayoutShiftTracker.

Change-Id: I9ecb10a33d4c79830e240e96913da4bec652e96b
Bug: 981338
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1686713
Reviewed-by: Steve Kobes <skobes@chromium.org>
Commit-Queue: Bryan McQuade <bmcquade@chromium.org>
Cr-Commit-Position: refs/heads/master@{#674819}

--

wpt-commits: 218bb5da6f686abf472c91c4dcfe1c3133487f9d
wpt-pr: 17640
2019-07-24 13:32:58 +01:00
Blink WPT Bot fa8b1081e1 Bug 1564749 [wpt PR 17557] - Adding multipart/byteranges to the never sniffed list., a=testonly
Automatic update from web-platform-tests
Adding multipart/byteranges to the never sniffed list. (#17557)

Multipart range requests would allow bypassing CORB since the response
will have type multipart/byteranges instead of the resource's
original MIME type.

Blocking multipart responses is compatible with the web because the
renderer can only see into the result of a fetch for a multipart file
when the request is made with CORS. Media tags only make single-range
requests which will not have the multipart type.

Bug: 802836
Change-Id: Ib4ff928fdf9c604055f0d5ec52fcb5bee578099f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1678394
Commit-Queue: Kristina Nelson <krstnmnlsn@google.com>
Reviewed-by: Charlie Reis <creis@chromium.org>
Reviewed-by: Łukasz Anforowicz <lukasza@chromium.org>
Cr-Commit-Position: refs/heads/master@{#673851}
--

wpt-commits: c085fba4ff2ad1341e308b453f2c7207d4b27e4e
wpt-pr: 17557
2019-07-24 13:32:57 +01:00
Donna Wu f02383ffa2 Bug 1564748 [wpt PR 17550] - [webnfc] Introduce AbortSignal in NFCPushOptions., a=testonly
Automatic update from web-platform-tests
[webnfc] Introduce AbortSignal in NFCPushOptions.

This CL added the AbortSignal member in NFCPushOptions and use it
to cancel unhappened push operation. Tests have also been adjuested
accordingly.

Original change in the Spec:
https://github.com/w3c/web-nfc/pull/165

Bug: 520391
Change-Id: Ic69fde2bc343c65ed5c337dcfdbdeca97b456ba5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1680418
Commit-Queue: Donna Wu <donna.wu@intel.com>
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#674723}

--

wpt-commits: 845988417926b440697dc5d66ba5fa8891cbea52
wpt-pr: 17550
2019-07-24 13:32:56 +01:00
Xianzhu Wang cdf29d93f7 Bug 1564747 [wpt PR 17610] - Reland "Fix first line style caching issues", a=testonly
Automatic update from web-platform-tests
Reland "Fix first line style caching issues"

This is a reland of 228ee33446fc20cef8fcc94503a91c16bbcfc6fb

Compared to the original CL, this relanded (again) CL has the
following changes:
- Remove the lazy update of first line image observers which was not
  needed and didn't work (causing reentrancy of
  UpdateFirstLineImageObservers),
- In LayoutObject::UpdateFirstLineImageObservers(), hold the first
  line style's reference locally because UpdateImageObservers may
  call LayoutBlockFlow::ImageChanged() which invalidates the cached
  first line style.

Original change's description:
> Fix first line style caching issues
>
> 1. Cache conflict issue:
>
> Previously calls to Element:: Element::CachedStyleForPseudoElement()
> with different second parameters caused cache conflict. The second
> call to it might get unwanted result that was cached with a different
> second parameter.
>
> Now remove the second parameter, and the function gets and caches the
> pseudo style only based on its own computed style. If a caller wants
> a pseudo style based on another style, the caller should call
> Element::UncachedStyleForPseudoElement() and manage cache by itself.
>
> 2. Under-invalidation on change
>
> Cached first line style needs invalidation in two cases:
> a) when the ::first-line style changes, we should invalidate all
>    cached first line styles affected.
> b) when style of an inline element (which inherits ::first-line
>    style) changes, as the inline element's style has higher priority
>    than the inherited ::first-line style, even if the style doesn't
>    change, we need to invalidate the cached
>    kPseudoIdFirstLineInherited style if the new style is different
>    from the inherited ::first-line style.
>
> Bug: 979054
>
> Change-Id: Icffe68d5136349d12cce6e92d1d3bf153c28903a
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1678878
> Reviewed-by: Rune Lillesveen <futhark@chromium.org>
> Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#673574}

Bug: 979054
Change-Id: If7211c585df77964789140277839a8f1c3822a15
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1685672
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Reviewed-by: Fredrik Söderquist <fs@opera.com>
Cr-Commit-Position: refs/heads/master@{#674509}

--

wpt-commits: bc0eab5e5ed10c689f6f08028a2060daddb3e32a
wpt-pr: 17610
2019-07-24 13:32:55 +01:00
Majid Valipour fabe4c0747 Bug 1564745 [wpt PR 17615] - [animation-worklet] expose animatorName per specification, a=testonly
Automatic update from web-platform-tests
[animation-worklet] expose animatorName per specification

Relevant specification section: https://drafts.css-houdini.org/css-animationworklet/#creating-worklet-animation

Change-Id: Ic791b43b10a4e03e1c8b84818a367d518cb004cc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1681048
Reviewed-by: Majid Valipour <majidvp@chromium.org>
Reviewed-by: Yi Gu <yigu@chromium.org>
Commit-Queue: Majid Valipour <majidvp@chromium.org>
Cr-Commit-Position: refs/heads/master@{#674501}

--

wpt-commits: a01f0c6f1cfa24891c019839970468ee19e8de2d
wpt-pr: 17615
2019-07-24 13:32:54 +01:00
Xida Chen 17ba7682cd Bug 1564744 [wpt PR 17603] - [PW] Make PW canvas transform account for device scale factor, a=testonly
Automatic update from web-platform-tests
[PW] Make PW canvas transform account for device scale factor

Right now when the zoom-for-dsf feature is not enabled (currently on
Mac only), the recording canvas has its own logic to handle device
scale factor. Given an example, when we run chrome on Linux with
--force-device-scale-factor = 2, the transformation matrix for the
recording canvas has a scale of (2, 2). But when this is on Mac, the
transformation matrix has a scale of (1, 1). This causes a big problem
when call setTransform() canvas API because it changes the
transformation matrix in an unexpected way without accounting for the
device scale factor.

In this CL, we give the PaintRenderingContext2D a new member which
is specifically the device scale factor on a platform where the
zoom-for-dsf is not enabled. Then whenever a setTransform is called,
we need to account for the device scale factor.

Bug: 970783, 716231
Change-Id: Idaca018a9afab656f868079dd8dd9324327da4b4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1682659
Reviewed-by: Stephen McGruer <smcgruer@chromium.org>
Reviewed-by: Fernando Serboncini <fserb@chromium.org>
Commit-Queue: Xida Chen <xidachen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#674488}

--

wpt-commits: 6e93013acee5454f1a7313f42af409cf8bd46e65
wpt-pr: 17603
2019-07-24 13:32:54 +01:00
moz-wptsync-bot 5dd154b101 Bug 1561204 [wpt PR 17358] - Update wpt metadata, a=testonly
wpt-pr: 17358
wpt-type: metadata
2019-07-24 13:32:53 +01:00
Ella Ge 739c87318e Bug 1561204 [wpt PR 17358] - Fix pen pointer capture in iframe, a=testonly
Automatic update from web-platform-tests
Fix pen pointer capture in iframe

When set/release/check pointercapture, we checked whether it's touch
type pointer. This is because touch like events will route to local frame
root's PME, while mouse like events will route event to hit tested frame.
However, it didn't check whether pen type events are send like touch.

This CL makes set/release/has pointercapture always check whether pointer
is active in the capture element's frame, if not, then check the local frame
root. So we can avoid checking the pointer type.
1.For touch-like events, pointer active state is not available in inner frame and
we will always fall into checking local frame root.
2.For mouse-like events:
* When trying to set capture to a frame that has pointer active,
|IsPointerIdActiveOnFrame| will return true and pointer capture is allowed.
* When pointer is active in the outer frame, and trying to set to an element in
inner frame; or pointer is active in the inner frame, and trying to set to an
element in outer frame. The element's frame's |IsPointerIdActiveOnFrame| will
failed and also |RootFramePointerActiveInCurrentFrame| will check locat root
frame's |element_under_pointer_| and forbid the request because target frame
dismatch.

This will fail the case that mouse down at local frame root and move to a inner
frame. Because we are moving inside and no "leave" event send to outer frame.
Outer frame still has info of pointer is active, and did not update the
|element_under_pointer_|. But this case is failed without this change as well.
We are not going to address this with this change.

The test has an expected file for the second test failing on 'pen'. It's
PEM.GetMouseCaptureTarget returns the target for kMouseId, but for layout
test, pen events is send as mouse-like but has different id.
It's unnecessary to fix this now as we have direct manipulation enabled
on all platform, we're not likely to have mouse-like pen event for capturing.
It'll be fixed once we have pen event on test driver work as current pen
flow. Our Q3 plan that having pointerevent states per page should also fix
this.

Bug: 970595
Change-Id: I7f9f390d1526eefee4657f7b859edf5ad4d163ee
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1649519
Commit-Queue: Ella Ge <eirage@chromium.org>
Reviewed-by: David Bokan <bokan@chromium.org>
Reviewed-by: Mustaq Ahmed <mustaq@chromium.org>
Reviewed-by: Navid Zolghadr <nzolghadr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#674487}

--

wpt-commits: fbf38bd7d9dbc2f074d9110112d563ab47efd015
wpt-pr: 17358
2019-07-24 13:32:52 +01:00
Javier Fernandez 0f6987e350 Bug 1561183 [wpt PR 17376] - [css-text] Hang sequence of white spaces that may otherwise overflow, a=testonly
Automatic update from web-platform-tests
[css-text] Hang sequence of white spaces that may otherwise overflow

When a item overflows, we try to find a safe position that breaks the
item to avoid it. However, we should consider that sequence of white
space characters might have to be hanged, honoring the white-space
property.

We manage that case correctly the overflowing text is part of a
previously broken (kSuccess result from BreakText) item. However, if
there is an item that starts with a white space sequence and it
overflows, we always try to break it instead of hanging.

This patch address the issue by detecting such overflowing item,
verifying that it has a white space sequence and the white-space
property's value allows hanging it. In that case, we should rewind
the iterator, so that the further item_results are removed and skip
the rest of the overflowing handling logic.

Bug: 973358
Change-Id: I0e2ad5c5740f4ce592dd83b8ff3d224dbb45117e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1662451
Reviewed-by: Koji Ishii <kojii@chromium.org>
Commit-Queue: Javier Fernandez <jfernandez@igalia.com>
Cr-Commit-Position: refs/heads/master@{#674430}

--

wpt-commits: 6dd8159628d492944540af129cf90e4bd692420c
wpt-pr: 17376
2019-07-24 13:32:51 +01:00
Blink WPT Bot 99d6d7a2c6 Bug 1564740 [wpt PR 17608] - Reland: Cleaning up ElementTiming and EventTiming observer buffer behavior.., a=testonly
Automatic update from web-platform-tests
Reland: Cleaning up ElementTiming and EventTiming observer buffer behavior.. (#17608)

Original land in crrev.com/c/1654876
Reverted in crrev.com/c/1680091

1) Remove methods that handle the buffers separately
2) Remove only buffering until onload
3) Fixing up wpt tests associated with both

Bug: 969123
Change-Id: Ie63b37d9ff118007462c635c745a4eacaa4be16e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1684677
Commit-Queue: Emily Hanley <eyaich@chromium.org>
Reviewed-by: Steve Kobes <skobes@chromium.org>
Reviewed-by: Nicolás Peña Moreno <npm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#674080}
--

wpt-commits: 83a739f36b26abff6d2f0ecf27038701072bac6f
wpt-pr: 17608
2019-07-24 13:32:50 +01:00
autofoolip 062a5be119 Bug 1564737 [wpt PR 17639] - Update interfaces/WebIDL.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/WebIDL.idl (#17639)

Source: https://github.com/tidoust/reffy-reports/blob/33bc5b1/whatwg/idl/WebIDL.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/554091846
--

wpt-commits: 8b34e2aa8b5f22da94bc2c649f6bbdbba65cf40e
wpt-pr: 17639
2019-07-24 13:32:50 +01:00
Gérard Talbot 6b23f0b896 Bug 1564736 [wpt PR 17605] - Removed css-backgrounds-3/background-size-035.html, a=testonly
Automatic update from web-platform-tests
Removed css-backgrounds-3/background-size-035.html (#17605)

--

wpt-commits: 8da19eeb64e1dbcc32cabc2961a44e15635d116f
wpt-pr: 17605
2019-07-24 13:32:49 +01:00
Gérard Talbot d1c75f2f47 Bug 1564734 [wpt PR 17592] - Corrected 'padding-left: auto' in c412-blockw-000.xht test, a=testonly
Automatic update from web-platform-tests
Corrected 'padding-left: auto' in c412-blockw-000.xht test (#17592)

--

wpt-commits: 388f953018d3f0ffd0d955e07ee04ec452643849
wpt-pr: 17592
2019-07-24 13:32:48 +01:00
Blink WPT Bot d8823a497f Bug 1564733 [wpt PR 17630] - Update WebXR TestAPI and tests to match new spec, a=testonly
Automatic update from web-platform-tests
Update WebXR TestAPI and tests to match new spec (#17630)

Now that WebXR is more mature, the test API is being revisited with
input from other UAs.  This change updates existing methods and tests
to match the new API, which largely involves:
* FakeXRDeviceInit now requires views
* FakeXRDeviceInit *CAN* support an initial viewerOrigin
* setXRPresentationFrameData is now setViews and set/clearViewerOrigin
* XRTest is now navigator.xr.test [1]

As part of this, webxr_test_constants were cleaned up and expanded to
help minimize boilerplate code in the tests.  Where possible tests that
were previously calling setXRPresentationFrameData to ensure that the
fake device was "tracking" were updated to instead use a constant that
sets these values.  Future work (after the API update is complete) will
identify if there are any cases where an initial requestAnimationFrame
could be removed.

Most changes (especially to vr/ tests) should be fairly mechanical, but
now that the eye offsets expected/set by the test are actually being
plumbed through, both xr/xrReferenceSpace_originOffset tests had to have
their expected matrices updated.  Two tests had to be updated due to the
discovery of 981003.

Other changes to update to the Test API after this change should be
mostly additive and should actually already exist in the internal tests.

[1] XRTest currently still exists as a workaround until 944987 is merged
Also due to the fact that accessing xr blocks VR, the WebVR tests had to
be updated to set a special flag to tell the test API to not set the
object on XR.  It's unlikely that this behavior will be able to be
removed after 944987, but to allow XRTest to be removed these tests have
had it migrated to navigator.vr.test

Bug:979312
Change-Id: I19ccffd921728ec3799252693d945b7b3f99d757
--

wpt-commits: 3f8ee365a7cacc091dc1dd1d0b5f21a89241c894
wpt-pr: 17630
2019-07-24 13:32:47 +01:00
jugglinmike 31a18bfb33 Bug 1564732 [wpt PR 17631] - [docs] Fix internal links, a=testonly
Automatic update from web-platform-tests
[docs] Fix internal links (#17631)

--

wpt-commits: b0e5cf1b0940b31dc8123cee45968e56525edb29
wpt-pr: 17631
2019-07-24 13:32:46 +01:00
Luke Bjerring b34c280dc5 Bug 1564730 [wpt PR 17417] - Split out the manual parts of webauthn idlharness test, a=testonly
Automatic update from web-platform-tests
Split out the manual parts of webauthn idlharness test (#17417)

* Remove manual parts of webauthn idlharness test

* Remove duplicated object

* Remove WebAuthentication interface

* Reinstate deleted challengeBytes

* Remove unneeded conditional

--

wpt-commits: cd18d4954c5184ecfb7a210aa939081c5e2552e8
wpt-pr: 17417
2019-07-24 13:32:46 +01:00
Luke Bjerring d3e9e92348 Bug 1561438 [wpt PR 17511] - Handle numeric code values in assert_throws, a=testonly
Automatic update from web-platform-tests
Handle numeric code values in assert_throws (#17511)

* Handle numeric code values in assert_throws

* Fix error name

* Update resources/testharness.js

* Revert tox.ini, es5 foreach

* Drop es6yness

--

wpt-commits: 152adb0185fcfa41ef244355b275a197c3c45f55
wpt-pr: 17511
2019-07-24 13:32:45 +01:00
L. David Baron 270850f210 Bug 1564728 [wpt PR 17628] - Sync Mozilla CSS tests as of 2019-07-03, a=testonly
Automatic update from web-platform-tests
Sync Mozilla CSS tests as of https://hg.mozilla.org/mozilla-central/rev/c52f9ebca761485c75ba9eda3d1bb7c1ed1c53f8 . (#17628)

This contains changes from one bug:
* [bug 1562312](https://bugzilla.mozilla.org/show_bug.cgi?id=1562312), by @dholbert, reviewed by @aethanyc
--

wpt-commits: 43c1cb66fd70a7d5aae9466a2aadf1e530022027
wpt-pr: 17628
2019-07-24 13:32:44 +01:00
cathiechen b01ac23138 Bug 1564723 [wpt PR 17622] - Add test of direction:rtl for ScrollIntoView, a=testonly
Automatic update from web-platform-tests
Add test of direction:rtl for ScrollIntoView (#17622)

* Add test of direction:rtl for ScrollIntoView

Test the behavior of ScrollIntoViewOptions in direction:rtl page.

* Fixed code review issues

Fixed code review issues.

--

wpt-commits: b7e9c990780705608441f5ae14ffb67e1aba7799
wpt-pr: 17622
2019-07-24 13:32:43 +01:00
cathiechen be2277c13f Bug 1564722 [wpt PR 17621] - Corrected expectedX, a=testonly
Automatic update from web-platform-tests
Fix expectation for css/cssom-view/scrollIntoView-vertical-rl-writing-mode.html  (#17621)

- Improve the code to make it more readable
- Better handle browser inconsistencies
--

wpt-commits: 5b224fe81f10d807bd47711d5a92f6754beb3b8a
wpt-pr: 17621
2019-07-24 13:32:43 +01:00
Donna Wu 7f42c6108d Bug 1564721 [wpt PR 17519] - [webnfc] Adjust returned error for NFC HW not supported case., a=testonly
Automatic update from web-platform-tests
[webnfc] Adjust returned error for NFC HW not supported case.

According to the Spec, this CL adjusted some error types for NFC
hardware not supported and permission not allowed cases. Original
changes in Spec are listed as follows.

aa50e6e193
https://github.com/w3c/web-nfc/pull/236

Bug: 520391
Change-Id: Ib4b017c0f3fcb71b030700f6b89a6ba3d76ae749
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1677736
Commit-Queue: Donna Wu <donna.wu@intel.com>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Reviewed-by: Rijubrata Bhaumik <rijubrata.bhaumik@intel.com>
Cr-Commit-Position: refs/heads/master@{#674390}

--

wpt-commits: 213380b1fbb9305d64b72baedee710035689a50d
wpt-pr: 17519
2019-07-24 13:32:42 +01:00
Frédéric Wang 1bfd50b0d2 Bug 1552902 [wpt PR 16922] - Add tests for new math values of CSS text-transform, a=testonly
Automatic update from web-platform-tests
Add tests for new math values of CSS text-transform (#16922)

* Modify mathvariant-transforms.py to generate CSS tests for "text-transform: math-*" (other than math-auto).

* Modify mathvariant-transforms.py to generate tests for single-char <mi> and text-transform: math-auto.

* Add a test to verify 'text-transform: math-auto' on text nodes of different lengths.

* Move text-transform-math tests into their own subdirectory.

* Update meta help to point to mathml core spec.

--

wpt-commits: 1af7e47d15ec171bb181fc5e3309bcfb52dd8f01
wpt-pr: 16922
2019-07-24 13:32:41 +01:00
Giovanni Ortuño Urquidi 4f38ad4536 Bug 1564719 [wpt PR 17584] - mojo: Move meta API methods for receivers to $, a=testonly
Automatic update from web-platform-tests
mojo: Move meta API methods for receivers to $

Moves bindHandle(), createProxy(), and close() to the "$" member of the
generated receiver classes.

Bug: 968369
Change-Id: I0549bd23221343afda5a2733d601f6c56bdc1b57
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1639036
Reviewed-by: Ken Rockot <rockot@google.com>
Reviewed-by: calamity <calamity@chromium.org>
Commit-Queue: Giovanni Ortuño Urquidi <ortuno@chromium.org>
Cr-Commit-Position: refs/heads/master@{#674309}

--

wpt-commits: f83c9a52301a18819bd317b137b6c15553a1f2f2
wpt-pr: 17584
2019-07-24 13:32:40 +01:00
Javier Fernandez 6651b0f146 Bug 1564718 [wpt PR 17618] - Reland "Insert a generated item after preserved spaces following a forced break", a=testonly
Automatic update from web-platform-tests
Reland "Insert a generated item after preserved spaces following a forced break"

This is a reland of 6b0ca8ce33e71d570fce11ae6fb5f898ddf053e4

The root cause of the regression that motivated the revert was that in the
original commit I removed a Failure entry by mistake from the TestExpectations
file.

The removed entry was added precisely for the word-break-break-all-004.html
test only for Mac platforms. This was the test that regressed, since the
original path didn't provide any behavior change affecting the mentioned
test.

So this CL tries to reland the original patch, but restoring the Failure entry
for the word-break-break-all-004.html test in Mac platforms.

Original change's description:
> Insert a generated item after preserved spaces following a forced break
>
> We already had to implement a special logic to deal with leading
> preserved white spaces due some optimizations we have in the line
> breaking code to give always breaking opportunities before spaces.
>
> However, the presence of forced breaks may cause some of the following
> spaces becoming leading preserved spaces in the next line.
>
> This patch applies the same logic we had for such leading spaces at
> the text's first line. It also needs to define additional cases in the
> function that evaluates the need of adding these generated breaking
> opportunity items.
>
> Bug: 976195
> Change-Id: If39e7ba8a535c15d33d6021c6cd04da9590b1131
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1667305
> Commit-Queue: Javier Fernandez <jfernandez@igalia.com>
> Reviewed-by: Koji Ishii <kojii@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#671656}

TBR=kojii@chromium.org

Bug: 976195
Change-Id: Id55acef369248ec30f5cfa68cbb59051bf7af8f3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1683234
Reviewed-by: Javier Fernandez <jfernandez@igalia.com>
Commit-Queue: Javier Fernandez <jfernandez@igalia.com>
Cr-Commit-Position: refs/heads/master@{#674305}

--

wpt-commits: 93483b4118a0af7fbb6ac3f1c4dc67fa9fbdf916
wpt-pr: 17618
2019-07-24 13:32:39 +01:00
Alex Cooper 6bec081445 Bug 1564717 [wpt PR 17617] - Ensure that WebXR mojom types are properly assigned in JS, a=testonly
Automatic update from web-platform-tests
Ensure that WebXR mojom types are properly assigned in JS

In JS the types aren't created via a standard "Constructor" like method
but instead by a map with the corresponding fields set.  This updates a
few types that were being incorrectly constructed.

Bug: 980759
Change-Id: I1a6e8f033b89f08ffb92e6c1abf8a84631bf4649
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1686603
Commit-Queue: Alexander Cooper <alcooper@chromium.org>
Auto-Submit: Alexander Cooper <alcooper@chromium.org>
Reviewed-by: Bill Orr <billorr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#674304}

--

wpt-commits: 9bbeb647445cd6858de91ee45ab4a05cb165e504
wpt-pr: 17617
2019-07-24 13:32:39 +01:00
Chris Harrelson 0a0fa249ba Bug 1564716 [wpt PR 17590] - Ignore print calls for a detached document., a=testonly
Automatic update from web-platform-tests
Ignore print calls for a detached document.

Bug: 977770

Change-Id: I2ce19542714cf2b363ae4d25b899445d377a2f7c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1683945
Reviewed-by: Lei Zhang <thestig@chromium.org>
Reviewed-by: Mason Freed <masonfreed@chromium.org>
Commit-Queue: Chris Harrelson <chrishtr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#674296}

--

wpt-commits: de7048ee8a3662b659e32e3dc930758770b124a7
wpt-pr: 17590
2019-07-24 13:32:38 +01:00
Nicolás Peña Moreno 98739d2ad4 Bug 1564713 [wpt PR 17562] - [ElementTiming] Check opacity of image before exposing, a=testonly
Automatic update from web-platform-tests
[ElementTiming] Check opacity of image before exposing

Before CompositeAfterPaint, we would just rely on painting being skipped
when an image has opacity:0. Now, we need to explicitly check because
paint is no longer being skipped.

Bug: 959949, 879270
Change-Id: I57590798e7f76c4c63a6062f145f95fa1eec6c3a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1680867
Reviewed-by: Chris Harrelson <chrishtr@chromium.org>
Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#674252}

--

wpt-commits: 1e05bb271ae12717e383a6e3da625127cb88dcd0
wpt-pr: 17562
2019-07-24 13:32:37 +01:00
Emily Hanley 808f0fc19c Bug 1564711 [wpt PR 17527] - Adding had recent input bit and input timestamp to layoutShift entry type., a=testonly
Automatic update from web-platform-tests
Adding had recent input bit and input timestamp to layoutShift entry type.

Bug: 581518
Change-Id: I37a8e631b73c19777d9552667cbdc02b91b54717
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1678776
Commit-Queue: Emily Hanley <eyaich@chromium.org>
Reviewed-by: Steve Kobes <skobes@chromium.org>
Cr-Commit-Position: refs/heads/master@{#674207}

--

wpt-commits: e7a6c3da97d3d7dc831b992d27bbca6963cd1754
wpt-pr: 17527
2019-07-24 13:32:36 +01:00
Ella Ge 976ba3ee6a Bug 1564710 [wpt PR 17614] - Move a pointercapture pointer test to non-wpt pointerevent tests., a=testonly
Automatic update from web-platform-tests
Move a pointercapture pointer test to non-wpt pointerevent tests.

This test initially added to wpt but the behavior is not clearly defined
in spec. So move to non-wpt pointerevents test.
See discussion in https://github.com/w3c/pointerevents/issues/291

TBR=nzolghadr@chromium.org

Change-Id: Ic871c57526681d790d6e68081f5a4bf8316e8494
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1684464
Reviewed-by: Ella Ge <eirage@chromium.org>
Commit-Queue: Ella Ge <eirage@chromium.org>
Cr-Commit-Position: refs/heads/master@{#674191}

--

wpt-commits: 060265cb71f8cbe6e9a042e245232a0fabb07048
wpt-pr: 17614
2019-07-24 13:32:35 +01:00
Koji Ishii 3e747bcb80 Bug 1564708 [wpt PR 17612] - [LayoutNG] Include negative margin beyond the right edge, a=testonly
Automatic update from web-platform-tests
[LayoutNG] Include negative margin beyond the right edge

This patch changes the line breaking behavior so that a
negative inline margin beyond the right edge can be included
in the line. Before this change, negative margins could move
the position back only when it's within the available width.

Legacy and WebKit don't do this, while Edge and Gecko do.
However, LayoutNG cannot render a page legacy and WebKit
render the same as other browser due to a bug in min-content.
Instead of copying the min-content bug in LayoutNG, this
patch fixes the page by matching to Edge and Gecko.

Bug: 979894
Change-Id: I07eedbb75f5c3b43e48b826bef18d95f1af872c9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1684243
Commit-Queue: Koji Ishii <kojii@chromium.org>
Reviewed-by: Emil A Eklund <eae@chromium.org>
Cr-Commit-Position: refs/heads/master@{#674177}

--

wpt-commits: 9aacd72c9f396544fc93a1419fa8c9bfe02c015a
wpt-pr: 17612
2019-07-24 13:32:35 +01:00
Timothy Gu 99978cbdd5 Bug 1564707 [wpt PR 17439] - Add manual test for print(), a=testonly
Automatic update from web-platform-tests
Add manual test for print()

For https://github.com/whatwg/html/pull/4690.
--

wpt-commits: 8e53d2a89fe610b2ce480877c60bca88c949cf60
wpt-pr: 17439
2019-07-24 13:32:34 +01:00
moz-wptsync-bot 8449401903 Bug 1564706 [wpt PR 17611] - Update wpt metadata, a=testonly
wpt-pr: 17611
wpt-type: metadata
2019-07-24 13:32:33 +01:00
Morten Stenshorne 21b3c5395c Bug 1564706 [wpt PR 17611] - [LayoutNG] Fix Google Docs font picker menu., a=testonly
Automatic update from web-platform-tests
[LayoutNG] Fix Google Docs font picker menu.

LayoutNG lacks a mechanism that's present in the legacy engine, that
handles situations where a descendant adds a scrollbar, which affects
the inline-size of an ancestor (fit-content sizing).

This CL only fixes the issue when this happens to an out-of-flow
positioned ancestor, which is enough to fix the Google Docs issue.

Bug: 978979
Change-Id: Ib60bbe244d8ee2cd80f3209b3322a097738841d3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1685388
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Commit-Queue: Emil A Eklund <eae@chromium.org>
Reviewed-by: Emil A Eklund <eae@chromium.org>
Cr-Commit-Position: refs/heads/master@{#674123}

--

wpt-commits: 4a9bf4d17af6f7527af4558369bcb4b709ee280c
wpt-pr: 17611
2019-07-24 13:32:32 +01:00
Morten Stenshorne aa82058557 Bug 1564705 [wpt PR 17602] - Don't consider fieldsets as replaced content., a=testonly
Automatic update from web-platform-tests
Don't consider fieldsets as replaced content.

They should be treated as regular block containers, as far as sizing is
concerned. The LayoutNG out-of-flow positioning machinery treated
fieldsets as replaced (since it was told to), and ended up with an
incorrect inline-size.

A "side-effect" of this fix is that now that fieldsets are no longer
treated as replaced content, they can can also fragment inside multicol
containers or paged media - just like any other block-level container.
This is good. There should be no reason to prohibit fragmentainer
breaks inside fieldsets. Added a test for it, to assert the new
behavior.

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

--

wpt-commits: 727763fa27f9d8d36c1c337dc2ac52ac092c61f0
wpt-pr: 17602
2019-07-24 13:32:31 +01:00
moz-wptsync-bot a0af6c8582 Bug 1561339 [wpt PR 17500] - Update wpt metadata, a=testonly
wpt-pr: 17500
wpt-type: metadata
2019-07-24 13:32:31 +01:00
Nicolás Peña Moreno aeaee23c8d Bug 1561339 [wpt PR 17500] - [LargestContentfulPaint] Add attributes and checks, a=testonly
Automatic update from web-platform-tests
[LargestContentfulPaint] Add attributes and checks

This CL adds checks so that we do not expose rendering timestamp of
images which do not pass the Timing Allow Origin check. It also adds
attributes found in:
https://wicg.github.io/largest-contentful-paint/#sec-performance-largest-contentful-paint-candidate

The ImagePaintTimingDetector did not plumb the ImageResourceContent to
the ImageRecord, so this is fixed to allow LCP Calculator to make use of
it.

Bug: 965505
Change-Id: I019658dc6d130c8cea336f1ca70de6a32beebbb0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1674588
Reviewed-by: Chris Harrelson <chrishtr@chromium.org>
Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#674085}

--

wpt-commits: f7dbdc0bb7a3566b1b28e1cb49178ba9d71b1bc6
wpt-pr: 17500
2019-07-24 13:32:30 +01:00
Xianzhu Wang 1edc044b1c Bug 1564704 [wpt PR 17609] - Revert "Reland "Fix first line style caching issues"", a=testonly
Automatic update from web-platform-tests
Revert "Reland "Fix first line style caching issues""

This reverts commit 3bce815a57b12cd5be22ecd0ba838c417f6179fd.

Reason for revert: crbug.com/980421

Original change's description:
> Reland "Fix first line style caching issues"
>
> This is a reland of 228ee33446fc20cef8fcc94503a91c16bbcfc6fb
>
> Compared to the original CL, this relanded CL removes the lazy update
> of first line image observers which was not needed and didn't work
> (causing reentrancy of UpdateFirstLineImageObservers).
>
> Original change's description:
> > Fix first line style caching issues
> >
> > 1. Cache conflict issue:
> >
> > Previously calls to Element:: Element::CachedStyleForPseudoElement()
> > with different second parameters caused cache conflict. The second
> > call to it might get unwanted result that was cached with a different
> > second parameter.
> >
> > Now remove the second parameter, and the function gets and caches the
> > pseudo style only based on its own computed style. If a caller wants
> > a pseudo style based on another style, the caller should call
> > Element::UncachedStyleForPseudoElement() and manage cache by itself.
> >
> > 2. Under-invalidation on change
> >
> > Cached first line style needs invalidation in two cases:
> > a) when the ::first-line style changes, we should invalidate all
> >    cached first line styles affected.
> > b) when style of an inline element (which inherits ::first-line
> >    style) changes, as the inline element's style has higher priority
> >    than the inherited ::first-line style, even if the style doesn't
> >    change, we need to invalidate the cached
> >    kPseudoIdFirstLineInherited style if the new style is different
> >    from the inherited ::first-line style.
> >
> > Bug: 979054
> >
> > Change-Id: Icffe68d5136349d12cce6e92d1d3bf153c28903a
> > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1678878
> > Reviewed-by: Rune Lillesveen <futhark@chromium.org>
> > Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
> > Cr-Commit-Position: refs/heads/master@{#673574}
>
> Bug: 979054
> Change-Id: Ic0c05a4a3d36401f7ae18c41cad81e7613bb3cbc
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1682283
> Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
> Reviewed-by: Fredrik Söderquist <fs@opera.com>
> Cr-Commit-Position: refs/heads/master@{#673756}

TBR=wangxianzhu@chromium.org,fs@opera.com,futhark@chromium.org

Change-Id: I59fe9947deba7267e69f5b76c9ff6b3c0251b8c6
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 979054
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1685415
Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org>
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#674074}

--

wpt-commits: fef95ecd2b3d59504eb4b5405db5c2995ab32710
wpt-pr: 17609
2019-07-24 13:32:29 +01:00
moz-wptsync-bot c34932342e Bug 1564703 [wpt PR 17525] - Update wpt metadata, a=testonly
wpt-pr: 17525
wpt-type: metadata
2019-07-24 13:32:28 +01:00
Daniel Vogelheim 702a4febb1 Bug 1564703 [wpt PR 17525] - [Trusted Types] Support Trusted Types on eval., a=testonly
Automatic update from web-platform-tests
[Trusted Types] Support Trusted Types on eval.

Modify V8's eval callback to take both CSP and Trusted Types into
account. This should not modify Blink's behaviour in case TT is not present.

Bug: 940927, 980127
Change-Id: Ic11956cd455d352f2ba9d3fd9e4a00bb12e8d852
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1591274
Commit-Queue: Daniel Vogelheim <vogelheim@chromium.org>
Reviewed-by: Andy Paicu <andypaicu@chromium.org>
Reviewed-by: Mike West <mkwst@chromium.org>
Cr-Commit-Position: refs/heads/master@{#674038}

--

wpt-commits: 4ed0465b108be61f184a896b7cb9e2c9356fd1d9
wpt-pr: 17525
2019-07-24 13:32:27 +01:00
Suman Nelson Kancherla 7d512a5e53 Bug 1561214 [wpt PR 17483] - Refactor XRDevice::RequestSession to report errors, a=testonly
Automatic update from web-platform-tests
Refactor XRDevice::RequestSession to report errors

Bug: 961960
Change-Id: Id5c461d41ff4f466d68e55f880063e55d14c3a2f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1661156
Commit-Queue: Suman Kancherla <sumankancherla@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: David Dorwin <ddorwin@chromium.org>
Reviewed-by: Bill Orr <billorr@chromium.org>
Reviewed-by: Klaus Weidner <klausw@chromium.org>
Cr-Commit-Position: refs/heads/master@{#673813}

--

wpt-commits: 24ea456fae037c678c35eb5dabfdb0dc905da592
wpt-pr: 17483
2019-07-24 13:32:27 +01:00
moz-wptsync-bot c1fa97bc9d Bug 1564701 [wpt PR 17591] - Update wpt metadata, a=testonly
wpt-pr: 17591
wpt-type: metadata
2019-07-24 13:32:26 +01:00
Alice Boxhall 456e80ee14 Bug 1564701 [wpt PR 17591] - Fix CSS for inert retargeting manual tests, a=testonly
Automatic update from web-platform-tests
Fix CSS for inert retargeting manual tests

Bug: 692360
Change-Id: If8830772b4f028ba4a2a2dde0cc04423cc57446f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1683580
Reviewed-by: Chris Hall <chrishall@chromium.org>
Commit-Queue: Alice Boxhall <aboxhall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#673930}

--

wpt-commits: 72a13b1d317cfe7db9c9fbc70c6bc815bb19bf2e
wpt-pr: 17591
2019-07-24 13:32:25 +01:00
Koji Ishii c4b2c724c5 Bug 1564699 [wpt PR 17588] - [LayoutNG] Keep trucated fragments for `text-overflow: ellipsis`, a=testonly
Automatic update from web-platform-tests
[LayoutNG] Keep trucated fragments for `text-overflow: ellipsis`

This patch keeps truncated fragments for `text-overflow:
ellipsis` as "hidden for paint", but still uses them for
when querying layout information such as `offsetWidth` or
editing.

Bug: 947593, 978392
Change-Id: Ic9d6888728339dc3ea37672b1ba004cddd295216
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1678915
Reviewed-by: Emil A Eklund <eae@chromium.org>
Commit-Queue: Emil A Eklund <eae@chromium.org>
Commit-Queue: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#673777}

--

wpt-commits: 424e3bce2245105a515ba8f5d97e6852bb69e973
wpt-pr: 17588
2019-07-24 13:32:24 +01:00
Xianzhu Wang 103016d5f0 Bug 1564696 [wpt PR 17582] - Reland "Fix first line style caching issues", a=testonly
Automatic update from web-platform-tests
Reland "Fix first line style caching issues"

This is a reland of 228ee33446fc20cef8fcc94503a91c16bbcfc6fb

Compared to the original CL, this relanded CL removes the lazy update
of first line image observers which was not needed and didn't work
(causing reentrancy of UpdateFirstLineImageObservers).

Original change's description:
> Fix first line style caching issues
>
> 1. Cache conflict issue:
>
> Previously calls to Element:: Element::CachedStyleForPseudoElement()
> with different second parameters caused cache conflict. The second
> call to it might get unwanted result that was cached with a different
> second parameter.
>
> Now remove the second parameter, and the function gets and caches the
> pseudo style only based on its own computed style. If a caller wants
> a pseudo style based on another style, the caller should call
> Element::UncachedStyleForPseudoElement() and manage cache by itself.
>
> 2. Under-invalidation on change
>
> Cached first line style needs invalidation in two cases:
> a) when the ::first-line style changes, we should invalidate all
>    cached first line styles affected.
> b) when style of an inline element (which inherits ::first-line
>    style) changes, as the inline element's style has higher priority
>    than the inherited ::first-line style, even if the style doesn't
>    change, we need to invalidate the cached
>    kPseudoIdFirstLineInherited style if the new style is different
>    from the inherited ::first-line style.
>
> Bug: 979054
>
> Change-Id: Icffe68d5136349d12cce6e92d1d3bf153c28903a
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1678878
> Reviewed-by: Rune Lillesveen <futhark@chromium.org>
> Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#673574}

Bug: 979054
Change-Id: Ic0c05a4a3d36401f7ae18c41cad81e7613bb3cbc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1682283
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Reviewed-by: Fredrik Söderquist <fs@opera.com>
Cr-Commit-Position: refs/heads/master@{#673756}

--

wpt-commits: f05fad8e3fee427059ab8040badee942c2ac8555
wpt-pr: 17582
2019-07-24 13:32:23 +01:00
Morten Stenshorne 7f2963f07b Bug 1564695 [wpt PR 17587] - [LayoutNG] Resolve auto inline margins on root., a=testonly
Automatic update from web-platform-tests
[LayoutNG] Resolve auto inline margins on root.

The root HTML element is in a unique situation in LayoutNG, in that its
parent is a regular block container that is laid out by the legacy
engine. In legacy, block container layout expects the children to set
their own margin. Make sure that we do this.

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

--

wpt-commits: 16680001ee64a84651c44311a605cc7b2bcc18bf
wpt-pr: 17587
2019-07-24 13:32:23 +01:00
Frédéric Wang 4d81946e3d Bug 1564693 [wpt PR 17604] - CSS math-script-level and math-style: Update meta help links., a=testonly
Automatic update from web-platform-tests
CSS math-script-level and math-style: Update meta help links. (#17604)

--

wpt-commits: eda082d3fb516a0bf522cbc4198999a605d7a438
wpt-pr: 17604
2019-07-24 13:32:22 +01:00
moz-wptsync-bot 45cb963ce0 Bug 1564692 [wpt PR 17601] - Update wpt metadata, a=testonly
wpt-pr: 17601
wpt-type: metadata
2019-07-24 13:32:21 +01:00
Frédéric Wang 55d913290b Bug 1564692 [wpt PR 17601] - - Update help meta tags., a=testonly
Automatic update from web-platform-tests
- Update help meta tags. (#17601)

- Minor markup and documentation tweaks.
--

wpt-commits: ec636b58e82b466c201fb89ea7265092e9f05284
wpt-pr: 17601
2019-07-24 13:32:20 +01:00
autofoolip 06b9bf23fc Bug 1564690 [wpt PR 17594] - Update interfaces/css-conditional.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/css-conditional.idl (#17594)

Source: https://github.com/tidoust/reffy-reports/blob/4daf423/whatwg/idl/css-conditional.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/553126765
--

wpt-commits: 4beda31498f85ded322ea4d55870973000364ac4
wpt-pr: 17594
2019-07-24 13:32:19 +01:00
autofoolip aa2276df2a Bug 1564688 [wpt PR 17595] - Update interfaces/webrtc-stats.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/webrtc-stats.idl (#17595)

Source: https://github.com/tidoust/reffy-reports/blob/4daf423/whatwg/idl/webrtc-stats.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/553126765
--

wpt-commits: 2c61396a2afcba45663b0e627677a6fdc9f9033e
wpt-pr: 17595
2019-07-24 13:32:18 +01:00
Florian Rivoal cc0c9bc80a Bug 1564686 [wpt PR 17597] - [css-text] Correct inconsistencies between text and assertion in line-break:anywhere tests, a=testonly
Automatic update from web-platform-tests
[css-text] Correct inconsistencies between text and assertion in line-break:anywhere tests (#17597)

--

wpt-commits: 708c7910e71c408d2ff7a1093a2b82bd3415449e
wpt-pr: 17597
2019-07-24 13:32:17 +01:00
moz-wptsync-bot 091e924d5e Bug 1564683 [wpt PR 17585] - Update wpt metadata, a=testonly
wpt-pr: 17585
wpt-type: metadata
2019-07-24 13:32:17 +01:00
Oliver Dunk 41b094acf2 Bug 1564683 [wpt PR 17585] - Screen Orientation: Fix lock-unlock-check.html, a=testonly
Automatic update from web-platform-tests
Screen Orientation: Fix lock-unlock-check.html

--

wpt-commits: 174c1e681dd7b073219a3bb5950932b2daaf696b
wpt-pr: 17585
2019-07-24 13:32:16 +01:00
Mike Pennisi 0b67dffa4a Bug 1558661 [wpt PR 17276] - [cssom] Add tests for `CSSGroupingRule#insertRule`, a=testonly
Automatic update from web-platform-tests
[cssom] Add tests for CSSGroupingRule

These tests are somewhat contentious due an inconsistency in the CSS
specification:

https://github.com/w3c/csswg-drafts/issues/3528

--

wpt-commits: 814db842c492f8c480749b671e6bc31c83c68645
wpt-pr: 17276
2019-07-24 13:32:15 +01:00
Mike Pennisi ef1c12714e Bug 1564681 [wpt PR 17371] - [docs] Relocate instruction for reviewers, a=testonly
Automatic update from web-platform-tests
[docs] Relocate instruction for reviewers

This information is not relevant for first-time contributors. Including
it in the same document as the instructions for new contributors risks
confusing or intimidating the less experienced audience.

Relocate the instructions to a dedicated document that can be discovered
by those who specifically wish to learn about reviewing submissions.

--

wpt-commits: 53bf566b00aa0efd9b80496d5d488a338b16ec1c
wpt-pr: 17371
2019-07-24 13:32:14 +01:00
Xianzhu Wang 8bcad78345 Bug 1564679 [wpt PR 17581] - Revert "Fix first line style caching issues", a=testonly
Automatic update from web-platform-tests
Revert "Fix first line style caching issues"

This reverts commit 228ee33446fc20cef8fcc94503a91c16bbcfc6fb.

Reason for revert: Clusterfuzz found several bugs caused by the CL.

Original change's description:
> Fix first line style caching issues
>
> 1. Cache conflict issue:
>
> Previously calls to Element:: Element::CachedStyleForPseudoElement()
> with different second parameters caused cache conflict. The second
> call to it might get unwanted result that was cached with a different
> second parameter.
>
> Now remove the second parameter, and the function gets and caches the
> pseudo style only based on its own computed style. If a caller wants
> a pseudo style based on another style, the caller should call
> Element::UncachedStyleForPseudoElement() and manage cache by itself.
>
> 2. Under-invalidation on change
>
> Cached first line style needs invalidation in two cases:
> a) when the ::first-line style changes, we should invalidate all
>    cached first line styles affected.
> b) when style of an inline element (which inherits ::first-line
>    style) changes, as the inline element's style has higher priority
>    than the inherited ::first-line style, even if the style doesn't
>    change, we need to invalidate the cached
>    kPseudoIdFirstLineInherited style if the new style is different
>    from the inherited ::first-line style.
>
> Bug: 979054
>
> Change-Id: Icffe68d5136349d12cce6e92d1d3bf153c28903a
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1678878
> Reviewed-by: Rune Lillesveen <futhark@chromium.org>
> Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#673574}

TBR=wangxianzhu@chromium.org,fs@opera.com,futhark@chromium.org

Change-Id: Ief1eb5749624f877e04d7bff19f42c6f94844b70
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 979054, 979961, 979942, 979940
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1682282
Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org>
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#673594}

--

wpt-commits: ff6212c69e2519a94fd62d6f1e06dd0dac6152d3
wpt-pr: 17581
2019-07-24 13:32:13 +01:00
autofoolip 4fa834c982 Bug 1564676 [wpt PR 17579] - Update interfaces/animation-worklet.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/animation-worklet.idl (#17579)

Source: https://github.com/tidoust/reffy-reports/blob/4ac5ff9/whatwg/idl/animation-worklet.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/552069310
--

wpt-commits: 8c1e30d5f6289065a25fac61d71c324c722026c9
wpt-pr: 17579
2019-07-24 13:32:13 +01:00
moz-wptsync-bot 5f8455c030 Bug 1564675 [wpt PR 17437] - Update wpt metadata, a=testonly
wpt-pr: 17437
wpt-type: metadata
2019-07-24 13:32:12 +01:00
Alexey Shvayka 28e090c50d Bug 1564675 [wpt PR 17437] - Test that changing <iframe srcdoc> processes attributes, a=testonly
Automatic update from web-platform-tests
HTML: test that changing <iframe srcdoc> processes attributes

--

wpt-commits: 18ad1e001f6f0d1f45d5303ac7f4c6484429bfbd
wpt-pr: 17437
2019-07-24 13:32:11 +01:00
moz-wptsync-bot 608d9dec88 Bug 1564673 [wpt PR 17561] - Update wpt metadata, a=testonly
wpt-pr: 17561
wpt-type: metadata
2019-07-24 13:32:10 +01:00
Xianzhu Wang a86f7802c4 Bug 1564673 [wpt PR 17561] - Fix first line style caching issues, a=testonly
Automatic update from web-platform-tests
Fix first line style caching issues

1. Cache conflict issue:

Previously calls to Element:: Element::CachedStyleForPseudoElement()
with different second parameters caused cache conflict. The second
call to it might get unwanted result that was cached with a different
second parameter.

Now remove the second parameter, and the function gets and caches the
pseudo style only based on its own computed style. If a caller wants
a pseudo style based on another style, the caller should call
Element::UncachedStyleForPseudoElement() and manage cache by itself.

2. Under-invalidation on change

Cached first line style needs invalidation in two cases:
a) when the ::first-line style changes, we should invalidate all
   cached first line styles affected.
b) when style of an inline element (which inherits ::first-line
   style) changes, as the inline element's style has higher priority
   than the inherited ::first-line style, even if the style doesn't
   change, we need to invalidate the cached
   kPseudoIdFirstLineInherited style if the new style is different
   from the inherited ::first-line style.

Bug: 979054

Change-Id: Icffe68d5136349d12cce6e92d1d3bf153c28903a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1678878
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#673574}

--

wpt-commits: c0a3e93389bdcc9e8ad12d3988e4568d48b78c9d
wpt-pr: 17561
2019-07-24 13:32:09 +01:00
moz-wptsync-bot bfe2a9254a Bug 1557456 [wpt PR 17211] - Update wpt metadata, a=testonly
wpt-pr: 17211
wpt-type: metadata
2019-07-24 13:32:08 +01:00
aardgoose 9234c53355 Bug 1557456 [wpt PR 17211] - test correct exception when attempting to draw a closed ImageBitmap to a canvas., a=testonly
Automatic update from web-platform-tests
test correct exception when attempting to draw a closed ImageBitmap to a canvas. (#17211)

* add test for drawImage of closed canvas

* make consistent with existing imageBitmap tests

--

wpt-commits: f0ed5874274b40b1fbe14f8ab6a072ef3df12a6e
wpt-pr: 17211
2019-07-24 13:32:08 +01:00
moz-wptsync-bot a8d8b383a9 Bug 1564672 [wpt PR 17556] - Update wpt metadata, a=testonly
wpt-pr: 17556
wpt-type: metadata
2019-07-24 13:32:07 +01:00
L. David Baron e80f2ace31 Bug 1564672 [wpt PR 17556] - Sync Mozilla CSS tests as of 2019-06-27, a=testonly
Automatic update from web-platform-tests
Sync Mozilla CSS tests as of https://hg.mozilla.org/mozilla-central/rev/a72f0a08f652ab309328230659c97660e13cfd27 . (#17556)

This contains changes from [bug 1561717](https://bugzilla.mozilla.org/show_bug.cgi?id=1561717), mostly by @MReschenberg and reviewed by @dholbert, with fixups by @dholbert and reviewed by me.
--

wpt-commits: c11e4cc54d35d29fc113ca548de5753837adbffc
wpt-pr: 17556
2019-07-24 13:32:06 +01:00
Blink WPT Bot 2fb14c3aa6 Bug 1557294 [wpt PR 17204] - Ship `referer` header length limitation., a=testonly
Automatic update from web-platform-tests
Ship `referer` header length limitation. (#17204)

This patch adds web platform tests to verify the behavior of the
referrer header and `document.referrer` after flipping the length
limitiation flag to on-by-default.

Intent to Ship: https://groups.google.com/a/chromium.org/forum/#!msg/blink-dev/lckJ5OAkUNo/ooVNdvhLAgAJ

Bug: 959757
Change-Id: I385f8f12f20109c50ededb9018a08cd665cb6868
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1646784
Commit-Queue: Mike West <mkwst@chromium.org>
Reviewed-by: Jochen Eisinger <jochen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#667039}
--

wpt-commits: 9e059910c901218756454b7979c6f95a6f306854
wpt-pr: 17204
2019-07-24 13:32:05 +01:00
autofoolip 9bf5b4e29b Bug 1564671 [wpt PR 17568] - Update interfaces/animation-worklet.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/animation-worklet.idl (#17568)

Source: https://github.com/tidoust/reffy-reports/blob/ac870c5/whatwg/idl/animation-worklet.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/551633558
--

wpt-commits: 21a0d1d6eed448496467dadeec26562da516b745
wpt-pr: 17568
2019-07-24 13:32:04 +01:00
Anne van Kesteren a12fbdd5a5 Bug 1564670 [wpt PR 17570] - HTML: applet no longer exists, a=testonly
Automatic update from web-platform-tests
HTML: applet no longer exists

For HTML purposes that's "worse" than obsolete.

In the same directory there's historical.html to ensure it won't be added again.

Fixes #17559.

--

wpt-commits: c30f7af7ebc3269ba6790122272692c12c920f02
wpt-pr: 17570
2019-07-24 13:32:03 +01:00
Anders Hartvoll Ruud 4792e7954a Bug 1564669 [wpt PR 17543] - Fix crash when setting invalid @font-face descriptors via CSSOM., a=testonly
Automatic update from web-platform-tests
Fix crash when setting invalid @font-face descriptors via CSSOM.

When @font-face rules are parsed normally (as part of a stylesheet),
the descriptors are parsed with CSSParserToken::ParseAsAtRuleDescriptorID,
which is allowed to return kInvalid.

However, when using CSSOM, the parsing takes a different path that first
creates a CSSPropertyID, then converts it to a AtRuleDescriptorID using
CSSPropertyIDAsAtRuleDescriptor, which *isn't* allowed to return kInvalid.

Fix by allowing kInvalid, and gracefully handling this in
CSSPropertyParser::ParseFontFaceDescriptor.

Note that this is the only callsite for CSSPropertyIDAsAtRuleDescriptor.

BUG=977953

Change-Id: I42081dd4bae3c828843be3ca994ff4f48d06a7f4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1676629
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/master@{#673262}

--

wpt-commits: 3487a399f3a1603d97388a5452530a89c10e47e1
wpt-pr: 17543
2019-07-24 13:32:03 +01:00
moz-wptsync-bot 2fdabbce55 Bug 1564668 [wpt PR 17566] - Update wpt metadata, a=testonly
wpt-pr: 17566
wpt-type: metadata
2019-07-24 13:32:02 +01:00
Alice Boxhall aa4215a7ca Bug 1564668 [wpt PR 17566] - Fix wpt/inert/inert-retargeting-iframe.tentative.html, a=testonly
Automatic update from web-platform-tests
Fix wpt/inert/inert-retargeting-iframe.tentative.html

TBR=poromov@chromium.org
TBR=schenney@chromium.org

Bug: 979193
Change-Id: I12f73886f3fc42ef5da205ae6f4387ed2a0ed13d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1680471
Reviewed-by: Alice Boxhall <aboxhall@chromium.org>
Commit-Queue: Alice Boxhall <aboxhall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#673212}

--

wpt-commits: 1878c9f7b2c77319f821656c36120da7b09f8478
wpt-pr: 17566
2019-07-24 13:32:01 +01:00
Alex Cooper 2cf08d6ac5 Bug 1561209 [wpt PR 17477] - Cleanup types in vr_service.mojom, a=testonly
Automatic update from web-platform-tests
Cleanup types in vr_service.mojom

This changes various vectors in the vr_service mojom to use the correct
gfx.mojom.geometry type.  It's largely mechanical, but the change from
array<float, 16> to gfx::Transform did introduce the need to transpose
the transforms being passed across that boundary.

For WMR, this resulted in a consistent way to convert from Matrix4x4 to
gfx::Transform, so some manual usages were consolidated to use a helper
function.

Bug: 732403
Change-Id: I1eefaa90c7b7d5ea6fa03c01522422bd37f7290a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1669891
Commit-Queue: Alexander Cooper <alcooper@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Bill Orr <billorr@chromium.org>
Reviewed-by: danakj <danakj@chromium.org>
Reviewed-by: Klaus Weidner <klausw@chromium.org>
Cr-Commit-Position: refs/heads/master@{#673193}

--

wpt-commits: c48a7037e8059f9a331d311ba711de2da4abf625
wpt-pr: 17477
2019-07-24 13:32:00 +01:00
Gérard Talbot 794f2fad46 Bug 1561449 [wpt PR 17514] - Added a link to spec in 6 CSS2/values tests, a=testonly
Automatic update from web-platform-tests
Added a link to spec in 6 CSS2/values tests (#17514)

--

wpt-commits: a3f623801e5fef0bb8a806fbc8119c32d57240d1
wpt-pr: 17514
2019-07-24 13:31:58 +01:00
Gérard Talbot 793da5c1e5 Bug 1561446 [wpt PR 17513] - Added a link to spec in 13 CSS2/values tests, a=testonly
Automatic update from web-platform-tests
Added a link to spec in 13 CSS2/values tests (#17513)

--

wpt-commits: 4c26654f77551d686bbc255cee95089b12aa6907
wpt-pr: 17513
2019-07-24 13:31:57 +01:00
Gérard Talbot 98ee3764b0 Bug 1561439 [wpt PR 17512] - Added a link to spec to numbers-units-00[5-6] tests, a=testonly
Automatic update from web-platform-tests
Added a link to spec to numbers-units-00[5-6] tests (#17512)

--

wpt-commits: 95a1d50e544d1894110449e207f8e8cc92324dc8
wpt-pr: 17512
2019-07-24 13:31:56 +01:00
Gérard Talbot c0a61e9312 Bug 1561437 [wpt PR 17510] - Added a link to spec to numbers-units-00[2-3] tests, a=testonly
Automatic update from web-platform-tests
Added a link to spec to numbers-units-00[2-3] tests (#17510)

--

wpt-commits: 78f9cce31d3a905598773b0486f9567e8a4e6193
wpt-pr: 17510
2019-07-24 13:31:55 +01:00
Gérard Talbot 1399cb71c1 Bug 1561433 [wpt PR 17508] - Added a link to spec to numbers-units-004 test, a=testonly
Automatic update from web-platform-tests
Added a link to spec to numbers-units-004 test (#17508)

--

wpt-commits: 288514517e5012ad4459c63e8b37e6dcff3fd561
wpt-pr: 17508
2019-07-24 13:31:54 +01:00
Gérard Talbot 3a361ec54d Bug 1561430 [wpt PR 17507] - Added another link to spec to numbers-units-001 test, a=testonly
Automatic update from web-platform-tests
Added another link to spec to anumbers-units-001 test (#17507)

--

wpt-commits: 73f28194f388630a856827e63e286883e6c42a12
wpt-pr: 17507
2019-07-24 13:31:54 +01:00
Aleks Totic 9ef4ee35c5 Bug 1564666 [wpt PR 17542] - [LayoutNG] Fix for incorrect Legacy containing block oof removal, a=testonly
Automatic update from web-platform-tests
[LayoutNG] Fix for incorrect Legacy containing block oof removal

When containing block changes from being an OOF container
to not being one, it needs to remove the positioned descendants
from its list of positioned objects.

If an OOF object remains in the positioned objects list,
it will cause NGOutOfLayoutPart::SweepLegacyDescendants
to go into an infinite loop and run out of memory. This
was fixed to just trigger a DCHECK in a recent CL.

LayoutInline::StyleDidChange did not perform OOF descendant
removal correctly. LayoutInline OOF descendants are stored in
first non-anonymous block on parent chain, (container's container)
which is not the same as ContainingBlock().

Added a method that computes container's container to
LayoutObject, and made LayoutInline call it.

This fix also works for fixed, because
fixed containers are always absolute containers.

Bug: 977930
Change-Id: I9f88fe676ec67d9d6751f3502507d773ed978dc8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1680123
Commit-Queue: Aleks Totic <atotic@chromium.org>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#673156}

--

wpt-commits: a8405825541d608fd26f28b0af36e6b5c42fd70a
wpt-pr: 17542
2019-07-24 13:31:53 +01:00
moz-wptsync-bot 51eaa7c969 Bug 1564665 [wpt PR 17546] - Update wpt metadata, a=testonly
wpt-pr: 17546
wpt-type: metadata
2019-07-24 13:31:52 +01:00
Jack Steinberg 7a32c4d526 Bug 1564665 [wpt PR 17546] - Add default role status to toast, a=testonly
Automatic update from web-platform-tests
Add default role status to toast

BUG=972945

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

--

wpt-commits: ad56cbc9ec5c81cfba969b66f04a9b0c4469056e
wpt-pr: 17546
2019-07-24 13:31:51 +01:00
Robert Flack d6a5e4b77f Bug 1554290 [wpt PR 17004] - Test that font-family does not match against postscript names., a=testonly
Automatic update from web-platform-tests
Test that font-family does not match against postscript names. (#17004)

The spec states "A font family name only specifies a name given to a set
of font faces, it does not specify an individual face." [1] however a
postscript name uniquely identifies a specific face rather than a family
and so should not be matched by font-family.

[1] https://drafts.csswg.org/css-fonts-3/#font-family-prop
--

wpt-commits: 79f8156a104bb55409d84b0f9ffedc13c55f26f4
wpt-pr: 17004
2019-07-24 13:31:51 +01:00
Simon Pieters aed9ba85b5 Bug 1564664 [wpt PR 14979] - [css-ui] Test for appearance/-webkit-appearance and initial value, a=testonly
Automatic update from web-platform-tests
[css-ui] Test for appearance/-webkit-appearance and initial value

--

wpt-commits: 9d3498a34109f0a36c5f181c6f18d75607f9e566
wpt-pr: 14979
2019-07-24 13:31:50 +01:00
moz-wptsync-bot d08ded853b Bug 1564662 [wpt PR 17430] - Update wpt metadata, a=testonly
wpt-pr: 17430
wpt-type: metadata
2019-07-24 13:31:49 +01:00
Luke Bjerring 92ba8031be Bug 1564662 [wpt PR 17430] - Correct mediacapture-streams idlharness interface types, a=testonly
Automatic update from web-platform-tests
Correct mediacapture-streams idlharness interface types (#17430)

--

wpt-commits: 8bdb4e17cd949fec36bf9ec3d08dde9ae5889a98
wpt-pr: 17430
2019-07-24 13:31:48 +01:00
Koji Ishii b3dd4c1215 Bug 1564661 [wpt PR 17544] - [LayoutNG] Fix hit-testing on floats in line box, a=testonly
Automatic update from web-platform-tests
[LayoutNG] Fix hit-testing on floats in line box

This patch fixes hit-testing floats when they are included in
a line box, and extend the height of the line box.

LayoutNG places floats within a line box, and make its bounds
to include floats. Hit-testing code checks floating objects
only if foreground hit-testing did not succeeded.

This patch changes foreground hit-testing on line box to fail
if there's a float at the location. It should be ok because
line box does not have foreground objects, but this is not
the most efficient way to fix this problem. We might want to
revisit either where to put such floats, or how to hit-test
floats.

Bug: 977856
Change-Id: I687dd44ddfbf7ebcb25b38a9d90470ea939cb053
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1680074
Commit-Queue: Emil A Eklund <eae@chromium.org>
Reviewed-by: Emil A Eklund <eae@chromium.org>
Cr-Commit-Position: refs/heads/master@{#672911}

--

wpt-commits: 7baea31d05c76d6d37975bb08304088f7f50d480
wpt-pr: 17544
2019-07-24 13:31:48 +01:00
Eric Willigers 8d5782bfb7 Bug 1564660 [wpt PR 17442] - [css-images] Radii are clamped non-negative, a=testonly
Automatic update from web-platform-tests
[css-images] Radii are clamped non-negative (#17442)

Compute colors and lengths in
background-image getComputedStyle
https://github.com/w3c/csswg-drafts/issues/4042

Test that radii like calc(-0.5em + 10px) are clamped to be non-negative.
https://drafts.csswg.org/css-images/#radial-gradients
--

wpt-commits: b93cbfae1eb9e2a1248fb2d835ac7a7b1dc649cd
wpt-pr: 17442
2019-07-24 13:31:47 +01:00
moz-wptsync-bot 28a20453ef Bug 1564659 [wpt PR 17441] - Update wpt metadata, a=testonly
wpt-pr: 17441
wpt-type: metadata
2019-07-24 13:31:46 +01:00
Eric Willigers eed0d7da0b Bug 1564659 [wpt PR 17441] - [css-lists] list-style-image computed value, a=testonly
Automatic update from web-platform-tests
[css-lists] list-style-image computed value (#17441)

list-style-image supports image, including gradients
https://drafts.csswg.org/css-lists-3/#propdef-list-style-image

Colors and lengths in gradients are computed in computed style
results.
https://github.com/w3c/csswg-drafts/issues/4042

calcs giving negative radii are clamped to 0.
--

wpt-commits: 11984f1d160b7454b2d8d1e177d1e48b9db750e1
wpt-pr: 17441
2019-07-24 13:31:45 +01:00
Sergey Poromov ef384fe038 Bug 1564658 [wpt PR 17553] - Revert "[PW] Fix paint worklet canvas clip bound calculation", a=testonly
Automatic update from web-platform-tests
Revert "[PW] Fix paint worklet canvas clip bound calculation"

This reverts commit aa7c84555637cabd3fdb0c03d781cc6f72b9efa2.

Reason for revert: virtual/scalefactor200/external/wpt/css/css-paint-api/hidpi/canvas-transform.https.html test fails on WebKit Mac10.13 (retina).

This test consistently fails starting from https://ci.chromium.org/p/chromium/builders/ci/WebKit%20Mac10.13%20%28retina%29/16135

Original change's description:
> [PW] Fix paint worklet canvas clip bound calculation
>
> Right now when we initialize the paint canvas for paint worklet with a
> scale factor or browser zoom, we do not record the zoom factor in the
> canvas transform. As a result, when computing the clip bound we will
> apply the wrong transformation matrix and thus sometimes the contents
> can be completely clipped out while it should not.
>
> This CL fixes the problem and adds a layout test.
>
> Bug: 970783
> Change-Id: Ie3709ea5845ca2b405245d4b36f9fe8f99052bad
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1678287
> Reviewed-by: Stephen McGruer <smcgruer@chromium.org>
> Commit-Queue: Xida Chen <xidachen@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#672722}

TBR=xidachen@chromium.org,smcgruer@chromium.org

Change-Id: I6c6710f76ba204c2db9d90be56845c04ff072a54
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 970783
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1679696
Reviewed-by: Sergey Poromov <poromov@chromium.org>
Commit-Queue: Sergey Poromov <poromov@chromium.org>
Cr-Commit-Position: refs/heads/master@{#672870}

--

wpt-commits: 0804e0fcb5033df46553c9e245ffd4abbf122cf2
wpt-pr: 17553
2019-07-24 13:31:44 +01:00
Dominic Farolino 1ef38c3c7d Bug 1564657 [wpt PR 17549] - Fix bad placeholder string in Preload + SRI tests, a=testonly
Automatic update from web-platform-tests
Fix bad placeholder string in Preload + SRI tests

R=yhirano@chromium.org

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

--

wpt-commits: d9d459e7578c23b68865a02b8465c390d9025448
wpt-pr: 17549
2019-07-24 13:31:44 +01:00
Cathie Chen 04049ffa73 Bug 1556957 [wpt PR 17183] - [LayoutNG] Fixed crash issue when LI + zero height checkbox, a=testonly
Automatic update from web-platform-tests
[LayoutNG] Fixed crash issue when LI + zero height checkbox

List marker would resolve the bfc block_offset, but it didn't continue
to resolve its parent's. So it's possible that the bfc block_offset of
LI isn't resolved after layout list marker which will cause crash issue.
This patch make LI resolve it after layout list marker.

Bug: 969741
Change-Id: I1e1f2500217c51f24cb2633002d9a78ca1088d6c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1645135
Commit-Queue: cathie chen <cathiechen@igalia.com>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Reviewed-by: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#672853}

--

wpt-commits: 296089d51afdc8ee3c0c905d89d3ddebf7633af8
wpt-pr: 17183
2019-07-24 13:31:43 +01:00
moz-wptsync-bot e16dd0719d Bug 1564656 [wpt PR 17426] - Update wpt metadata, a=testonly
wpt-pr: 17426
wpt-type: metadata
2019-07-24 13:31:42 +01:00
Dominic Farolino 681c329519 Bug 1564656 [wpt PR 17426] - Add Preload + SRI web platform tests for script + style destinations, a=testonly
Automatic update from web-platform-tests
Add Preload + SRI web platform tests for script + style destinations

More preload destinations will be added after this CL, as well as the
main Preload + SRI implementation, to keep the changes here minimal.

R=kouhei@chromium.org, yhirano@chromium.org, yoavweiss@chromium.org

Bug: 677022
Change-Id: I596ac006874fb02bcd330422bd6496a05d388d45
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1669954
Commit-Queue: Dominic Farolino <dom@chromium.org>
Reviewed-by: Yutaka Hirano <yhirano@chromium.org>
Reviewed-by: Mike West <mkwst@chromium.org>
Cr-Commit-Position: refs/heads/master@{#672808}

--

wpt-commits: f0c2701197a8dc5682b0361698b73a0be9fd983c
wpt-pr: 17426
2019-07-24 13:31:41 +01:00
moz-wptsync-bot 2a662aaffe Bug 1564654 [wpt PR 17533] - Update wpt metadata, a=testonly
wpt-pr: 17533
wpt-type: metadata
2019-07-24 13:31:41 +01:00
Xida Chen fbf7c7193c Bug 1564654 [wpt PR 17533] - [PW] Fix paint worklet canvas clip bound calculation, a=testonly
Automatic update from web-platform-tests
[PW] Fix paint worklet canvas clip bound calculation

Right now when we initialize the paint canvas for paint worklet with a
scale factor or browser zoom, we do not record the zoom factor in the
canvas transform. As a result, when computing the clip bound we will
apply the wrong transformation matrix and thus sometimes the contents
can be completely clipped out while it should not.

This CL fixes the problem and adds a layout test.

Bug: 970783
Change-Id: Ie3709ea5845ca2b405245d4b36f9fe8f99052bad
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1678287
Reviewed-by: Stephen McGruer <smcgruer@chromium.org>
Commit-Queue: Xida Chen <xidachen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#672722}

--

wpt-commits: a5f7dc57600b83a47626507dd30216b0fa447b66
wpt-pr: 17533
2019-07-24 13:31:40 +01:00
Oriol Brufau 7830783795 Bug 1564653 [wpt PR 17536] - Recalculate descendant styles when display changes to custom layout, a=testonly
Automatic update from web-platform-tests
Recalculate descendant styles when display changes to custom layout

Previously this only happened if the old display was custom layout,
but not when changing from a standard display to a custom one.
This was a typo, the same condition was checked twice for old_style,
but the second occurrence should check new_style instead.
The change matters when there are inline children that should be
blockified by the custom layout, without the patch they would remain
inline.

BUG=978990
TEST=external/wpt/css/css-layout-api/layout-child-inlines-dynamic.https.html

Change-Id: I73bcf679209dd4bc4a0d7a49f4345ee699bbf37e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1678484
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Oriol Brufau <obrufau@igalia.com>
Cr-Commit-Position: refs/heads/master@{#672718}

--

wpt-commits: b26fcfbbc09d2fb3bfa1b9bbc643f7d4ffb971b0
wpt-pr: 17536
2019-07-24 13:31:39 +01:00
moz-wptsync-bot 9136514d9d Bug 1564652 [wpt PR 17528] - Update wpt metadata, a=testonly
wpt-pr: 17528
wpt-type: metadata
2019-07-24 13:31:38 +01:00
Nicolás Peña Moreno c8a6987366 Bug 1564652 [wpt PR 17528] - [LargestContentfulPaint] Fix flaky test observe-image.html, a=testonly
Automatic update from web-platform-tests
[LargestContentfulPaint] Fix flaky test observe-image.html

The timestamp captured at onload does not seem to always be smaller than
the render timestamp. This CL changes the lower bound so the test is no
longer flaky.

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

--

wpt-commits: 0a02aa2599f1914a56b8557f29ec579ca5e6e701
wpt-pr: 17528
2019-07-24 13:31:37 +01:00
Dale Curtis 01061990f6 Bug 1564650 [wpt PR 17348] - Query WebMediaPlayer when checking for presence of video frame., a=testonly
Automatic update from web-platform-tests
Query WebMediaPlayer when checking for presence of video frame.

ReadyState has never been suficient to test whether a video frame is
actually present. Instead we need to know when the frame has actually
been delivered to the compositor.

This patch updates HTMLVideoElement to query a new WebMediaPlayer method
which exposes the compositor's knowledge of the video frame.

Note: This patch also fixes some spurious logs and HTMLVideoElement tests
that were silently doing nothing.

BUG=974012,974190
TEST=new unittest.
TBR=eae

Change-Id: I1df54491c1fd7c2246ce0f60bc6e794b8b84476a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1659490
Commit-Queue: Dale Curtis <dalecurtis@chromium.org>
Reviewed-by: Mounir Lamouri <mlamouri@chromium.org>
Cr-Commit-Position: refs/heads/master@{#672682}

--

wpt-commits: b6b0d9b33bd45d468f7835cb79b7de318123aead
wpt-pr: 17348
2019-07-24 13:31:37 +01:00
Mustaq Ahmed 8137f497bb Bug 1564645 [wpt PR 17515] - Add a wpt for UAv2 frame hierarchy check., a=testonly
Automatic update from web-platform-tests
Add a wpt for UAv2 frame hierarchy check.

The test passes manually.

Bug: 978620
Change-Id: Ic40cef889d41c8b21e8e184d158ecdd2b92ebabd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1677067
Reviewed-by: Navid Zolghadr <nzolghadr@chromium.org>
Commit-Queue: Mustaq Ahmed <mustaq@chromium.org>
Cr-Commit-Position: refs/heads/master@{#672503}

--

wpt-commits: 22ac92d03adb94bc0999b2ae85ec9ce76c9d30a5
wpt-pr: 17515
2019-07-24 13:31:36 +01:00
Alice Boxhall e92c9fbab5 Bug 1557625 [wpt PR 17223] - Tentatively implement inert retargeting., a=testonly
Automatic update from web-platform-tests
Tentatively implement inert retargeting.

Algorithm described here: https://whatpr.org/html/4288/interaction.html#inert-subtrees:inert

Bug: 692360
Change-Id: Ie37b2c68cabf7ae9051875b8e15ed3675980a848
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1568378
Commit-Queue: Alice Boxhall <aboxhall@chromium.org>
Reviewed-by: Stephen Chenney <schenney@chromium.org>
Cr-Commit-Position: refs/heads/master@{#672488}

--

wpt-commits: d096b98d1c78e458a8e2ec9cd607f31cc885a197
wpt-pr: 17223
2019-07-24 13:31:35 +01:00
Eric Willigers 9355bd0e52 Bug 1564644 [wpt PR 17521] - CSS: Negative radii are invalid in radial-gradient, a=testonly
Automatic update from web-platform-tests
CSS: Negative radii are invalid in radial-gradient

https://drafts.csswg.org/css-images-3/#radial-gradients
"Negative values are invalid."

We now reject negative radii during radial-gradient parsing.

Bug: 978790
Change-Id: I2f5341cb19209e46299bab1982870cbe0cb52321
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1677071
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Eric Willigers <ericwilligers@chromium.org>
Cr-Commit-Position: refs/heads/master@{#672478}

--

wpt-commits: 855539ffcfec64d7e95a750054259c14c6278b56
wpt-pr: 17521
2019-07-24 13:31:34 +01:00
moz-wptsync-bot b72714c17a Bug 1564642 [wpt PR 17520] - Update wpt metadata, a=testonly
wpt-pr: 17520
wpt-type: metadata
2019-07-24 13:31:33 +01:00
Takashi Toyoshima f57ce5af05 Bug 1564642 [wpt PR 17520] - Web MIDI: reflect spec's [SecureContext] to relevant .idl files, a=testonly
Automatic update from web-platform-tests
Web MIDI: reflect spec's [SecureContext] to relevant .idl files

This is a follow up to disallow Web MIDI uses on insecure origins.
After this change, the Web MIDI related interfaces won't appear
on insecure origins.

https://github.com/WebAudio/web-midi-api/issues/183
https://github.com/WebAudio/web-midi-api/issues/199

Bug: 924471
Change-Id: I61d55d5ba192a6cbcea9e29f97c4bfe11ac4b983
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1673491
Commit-Queue: Takashi Toyoshima <toyoshim@chromium.org>
Reviewed-by: Kent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/master@{#672474}

--

wpt-commits: 12b6e03e14f991cc20a6b80dc7c4dc09d78ba9bf
wpt-pr: 17520


--HG--
rename : testing/web-platform/tests/feature-policy/reporting/midi-report-only.html => testing/web-platform/tests/feature-policy/reporting/midi-report-only.https.html
rename : testing/web-platform/tests/feature-policy/reporting/midi-report-only.html.headers => testing/web-platform/tests/feature-policy/reporting/midi-report-only.https.html.headers
rename : testing/web-platform/tests/feature-policy/reporting/midi-reporting.html => testing/web-platform/tests/feature-policy/reporting/midi-reporting.https.html
rename : testing/web-platform/tests/feature-policy/reporting/midi-reporting.html.headers => testing/web-platform/tests/feature-policy/reporting/midi-reporting.https.html.headers
2019-07-24 13:31:32 +01:00
Ian Kilpatrick e14ce7c9e8 Bug 1561377 [wpt PR 17504] - [LayoutNG] Don't run the OOFLayoutPart if we have any adjoining floats., a=testonly
Automatic update from web-platform-tests
[LayoutNG] Don't run the OOFLayoutPart if we have any adjoining floats.

If we have adjoining floats we'll revisit the node to correctly place
floats. During the first pass we may not have floats present within
lineboxes, causing NGContainerFragmentBuilder::GetChildOffset to fail.

This makes sure we don't run the OOFLayoutPart for this condition.

There is a followup cleanup patch I'll send out for review later which
speculatively places floats avoiding this condition also:
https://chromium-review.googlesource.com/c/chromium/src/+/1619047

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

--

wpt-commits: 5a42c001e74045dd9347ce9870fb7a8f17e6286a
wpt-pr: 17504
2019-07-24 13:31:32 +01:00
Reilly Grant 906da7e19c Bug 1561192 [wpt PR 17468] - [WebUSB] Fix usage of WTF::Vector as a bit vector, a=testonly
Automatic update from web-platform-tests
[WebUSB] Fix usage of WTF::Vector as a bit vector

When using WTF::Vector as a replacement for WTF::BitVector the bits
should be set using assignment rather than with insert() and EraseAt().
The latter changes the length of the bit vector as it is used.

Bug: 977638
Change-Id: I59390412013c97c7c06aa7239cab75a2557e8f07
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1673131
Commit-Queue: Reilly Grant <reillyg@chromium.org>
Reviewed-by: Ovidio de Jesús Ruiz-Henríquez <odejesush@chromium.org>
Cr-Commit-Position: refs/heads/master@{#672358}

--

wpt-commits: a18f55bcc133a4638fd77c67d0bc41e48c70d15d
wpt-pr: 17468
2019-07-24 13:31:31 +01:00
Eric Willigers 2696feab79 Bug 1564640 [wpt PR 17526] - CSS: list-style shorthand matches updated spec, a=testonly
Automatic update from web-platform-tests
CSS: list-style shorthand matches updated spec

Update the list-style shorthand
https://drafts.csswg.org/css-lists-3/#list-style-property
to match spec change
https://github.com/w3c/csswg-drafts/issues/2624
8ac1376b1f

The list-style shorthand is now
<list-style-position> || <list-style-image> || <list-style-type>
instead of
<list-style-type> || <list-style-position> || <list-style-image>

Firefox already supports the updated spec.

Bug: 978433
Change-Id: I579c2272390487b429d5fe986c51cdd2041653d8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1664093
Reviewed-by: Emil A Eklund <eae@chromium.org>
Commit-Queue: Eric Willigers <ericwilligers@chromium.org>
Cr-Commit-Position: refs/heads/master@{#672325}

--

wpt-commits: b97414545be808a5236e579fab30cedbfc058a66
wpt-pr: 17526
2019-07-24 13:31:30 +01:00
Mustaq Ahmed 96d0d47f0e Bug 1561436 [wpt PR 17509] - Cleaup subframes used in wpt/html/user-activation/*.html., a=testonly
Automatic update from web-platform-tests
Cleaup subframes used in wpt/html/user-activation/*.html.

Change-Id: I4a7dae4534339ec2f203efa3860d5b8a9e5e9ba4
TBR: lanwei@chromium.org
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1677127
Commit-Queue: Mustaq Ahmed <mustaq@chromium.org>
Reviewed-by: Mustaq Ahmed <mustaq@chromium.org>
Cr-Commit-Position: refs/heads/master@{#672262}

--

wpt-commits: 83ce2e74f491363d86bee209fef00d44b1b1ec01
wpt-pr: 17509
2019-07-24 13:31:29 +01:00
Fernando Serboncini 3abfb8855b Bug 1561314 [wpt PR 17496] - Set default font size for OffscreenCanvas to 10px, a=testonly
Automatic update from web-platform-tests
Set default font size for OffscreenCanvas to 10px

There's no hard standard on this, so we are matching the behavior
of detached canvas.

Bug: 977876
Change-Id: I84f8e32000f290d6826722863bb6fb16116e2f18
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1675911
Commit-Queue: Fernando Serboncini <fserb@chromium.org>
Reviewed-by: Yi Xu <yiyix@chromium.org>
Cr-Commit-Position: refs/heads/master@{#672198}

--

wpt-commits: 79f12a79675c0b084737d43b1af2cb85f97bbff9
wpt-pr: 17496
2019-07-24 13:31:28 +01:00
Joshua Bell 9166f441fd Bug 1561211 [wpt PR 17480] - Indexed DB: store/index keyPath property should return same instance, a=testonly
Automatic update from web-platform-tests
Indexed DB: store/index keyPath property should return same instance

On IDBObjectStore and IDBIndex instances, the keyPath property says is
defined in the spec with: "if this attribute returns an object
(specifically an Array), it returns the same object instance every
time it is inspected". Web platform tests for this were missing.

Since the property is 'any' in Web IDL (since it could be a string or
Array) it can't use the [SameObject] extended attribute. And in the
Blink IDL, it can't use the [SaveSameObject] hint since that requires
[SameObject]. Instead, use the [CachedAttribute] hint and never dirty
the cache.

Bug: 977048
Change-Id: Ic4ede31a3a01e7a8a90c4f54eb8a989a673fcf22
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1674495
Commit-Queue: Daniel Murphy <dmurph@chromium.org>
Reviewed-by: Daniel Murphy <dmurph@chromium.org>
Cr-Commit-Position: refs/heads/master@{#672137}

--

wpt-commits: 1fd5380edd2390b2584c2c51754749d68916a525
wpt-pr: 17480
2019-07-24 13:31:28 +01:00
Mason Freed 1585e9332e Bug 1561342 [wpt PR 17501] - Individual WPT tests for each backdrop-filter, a=testonly
Automatic update from web-platform-tests
Individual WPT tests for each backdrop-filter

This CL adds a specific, individual WPT test for each type of
backdrop-filter effect.

If you find yourself here, looking for the test for blur() or
a multi-filter (combined) test, see crbug.com/978481.

Bug: 831485
Change-Id: I065fd94dbfe5ef0813ffe90f07878247147d3261
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1674708
Auto-Submit: Mason Freed <masonfreed@chromium.org>
Reviewed-by: Robert Ma <robertma@chromium.org>
Commit-Queue: Mason Freed <masonfreed@chromium.org>
Cr-Commit-Position: refs/heads/master@{#672131}

--

wpt-commits: d4a8ad3cb52de06a90b991dd0107f5ffbe206125
wpt-pr: 17501
2019-07-24 13:31:27 +01:00
moz-wptsync-bot 0ff0106ff6 Bug 1510389 [wpt PR 14260] - Update wpt metadata, a=testonly
wpt-pr: 14260
wpt-type: metadata
2019-07-24 13:31:26 +01:00
Anne van Kesteren ee576d58e9 Bug 1510389 [wpt PR 14260] - Origin outside of CORS and interaction with the Referrer Policy, a=testonly
Automatic update from web-platform-tests
Fetch: Origin outside of CORS

Ensure we have more coverage for how to set the Origin header outside of
CORS. And also how its value is impacted by Referrer Policy.

Fetch change: https://github.com/whatwg/fetch/pull/908.

Co-authored-by: Junior Hsu <cuveehsu@gmail.com>
Co-authored-by: Anne van Kesteren <annevk@annevk.nl>
--

wpt-commits: ef44bff0adaa07f2e420a0cbc1bc493cd5786656
wpt-pr: 14260
2019-07-24 13:31:25 +01:00
Frédéric Wang 7893e0edb8 Bug 1564636 [wpt PR 17534] - math-script-level-004: Fix expectation for the font-size values., a=testonly
Automatic update from web-platform-tests
math-script-level-004: Fix expectation for the font-size values. (#17534)

When the MATH table has scriptScriptPercentScaleDown the spec says 0.5041 = 0.71^2 should be used as the default value.
The scale80-0-scaleup test incorrectly uses a hardcoded value of 0.71 instead.
This patch fixes this issue and introduces new variables for the fallback values of scriptPercentScaleDown and scriptScriptPercentScaleDown
to clarify the expectation.
--

wpt-commits: 677e4ac410c6538a76c72d704768dc9c0e8bc0c5
wpt-pr: 17534
2019-07-24 13:31:24 +01:00
autofoolip 20dee7c1c9 Bug 1564635 [wpt PR 17538] - Update interfaces/webxr.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/webxr.idl (#17538)

Source: https://github.com/tidoust/reffy-reports/blob/64138b3/whatwg/idl/webxr.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/551049210
--

wpt-commits: 70e20022f311052672b86d30ab0895c1c276c72e
wpt-pr: 17538
2019-07-24 13:31:24 +01:00
autofoolip 4ebf8330b3 Bug 1564633 [wpt PR 17537] - Update interfaces/performance-timeline.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/performance-timeline.idl (#17537)

Source: https://github.com/tidoust/reffy-reports/blob/2b3480f/whatwg/idl/performance-timeline.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/551020459
--

wpt-commits: ef22f8e79aecae3a6409f0f3d984778e1fa2f8a4
wpt-pr: 17537
2019-07-24 13:31:23 +01:00
L. David Baron ee24755329 Bug 1564632 [wpt PR 17541] - Sync Mozilla CSS tests as of 2019-06-26, a=testonly
Automatic update from web-platform-tests
Sync Mozilla CSS tests as of https://hg.mozilla.org/mozilla-central/rev/91c42888cf7fa67f2b9d08d0e62cb203ad1e6619 . (#17541)

This contains changes from two bugs:
* [bug 1558849](https://bugzilla.mozilla.org/show_bug.cgi?id=1558849) by @dholbert, reviewed by @jfkthame (the ruby/ changes)
* [bug 1561351](https://bugzilla.mozilla.org/show_bug.cgi?id=1561351) by me, reviewed by @dholbert (the shapes1/ changes)
--

wpt-commits: f15fe7fd97f3e70bbc732339e54b6272b4d76a34
wpt-pr: 17541
2019-07-24 13:31:22 +01:00
autofoolip 9da81ce50c Bug 1564631 [wpt PR 17529] - Trigger affected tests, a=testonly
Automatic update from web-platform-tests
Trigger affected tests (#17529)

* Update interfaces/service-workers.idl

Source: https://github.com/tidoust/reffy-reports/blob/b3787dc/whatwg/idl/service-workers.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/550916945

* Trigger affected tests

--

wpt-commits: a1212ad614ae8c5571e5bea54361aac5d0bf8ef8
wpt-pr: 17529
2019-07-24 13:31:21 +01:00
Gérard Talbot d891fb463b Bug 1564629 [wpt PR 16170] - Added parentheses to check minimum of 32 nested pairs inside calc, a=testonly
Automatic update from web-platform-tests
Added parentheses to check minimum of 32 nested pairs inside calc

--

wpt-commits: 93aba22570263daa86c2def8d975eb6c01ffbc2e
wpt-pr: 16170
2019-07-24 13:31:21 +01:00
autofoolip cb32928e84 Bug 1564626 [wpt PR 17530] - Update interfaces/wai-aria.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/wai-aria.idl (#17530)

Source: https://github.com/tidoust/reffy-reports/blob/b3787dc/whatwg/idl/wai-aria.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/550916945
--

wpt-commits: 13b3630dfbea2e842b45a44c523077d0c9d1b08e
wpt-pr: 17530
2019-07-24 13:31:20 +01:00
autofoolip 39ea6ec96f Bug 1564625 [wpt PR 17531] - Update interfaces/webmidi.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/webmidi.idl (#17531)

Source: https://github.com/tidoust/reffy-reports/blob/b3787dc/whatwg/idl/webmidi.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/550916945
--

wpt-commits: 947afe339e20289fa3d25e5a3d3b49ed035002d1
wpt-pr: 17531
2019-07-24 13:31:19 +01:00
autofoolip 25b8d63b2e Bug 1564620 [wpt PR 17532] - Update interfaces/webrtc-stats.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/webrtc-stats.idl (#17532)

Source: https://github.com/tidoust/reffy-reports/blob/b3787dc/whatwg/idl/webrtc-stats.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/550916945
--

wpt-commits: 81a7e09a49621aaccbb2fb3d977b2f216af1bbf4
wpt-pr: 17532
2019-07-24 13:31:18 +01:00
Domenic Denicola dfd8274e1f Bug 1564618 [wpt PR 17421] - KV Storage: add timeout=long and reenable disabled test, a=testonly
Automatic update from web-platform-tests
KV Storage: add timeout=long and reenable disabled test

Like several IndexedDB tests, KV Storage can cause timeouts unless given more time.

BUG=936615

Change-Id: I8069d77088625b32867a5ebcc9ce69c4810a18ac
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1670621
Reviewed-by: Joshua Bell <jsbell@chromium.org>
Commit-Queue: Domenic Denicola <domenic@chromium.org>
Cr-Commit-Position: refs/heads/master@{#671576}

--

wpt-commits: 88bac6b712530867081709212b365a6a01feee04
wpt-pr: 17421
2019-07-24 13:31:17 +01:00
moz-wptsync-bot 99c7811cc1 Bug 1561129 [wpt PR 17443] - Update wpt metadata, a=testonly
wpt-pr: 17443
wpt-type: metadata
2019-07-24 13:31:17 +01:00
Domenic Denicola e6a4c3bbfd Bug 1561129 [wpt PR 17443] - KV Storage: update to match IDL, a=testonly
Automatic update from web-platform-tests
KV Storage: update to match IDL

Along with https://chromium-review.googlesource.com/c/chromium/src/+/1670572, this aligns the KV Storage implementation with https://github.com/WICG/kv-storage/pull/68, which uses Web IDL to define the API. The observable changes are to:

* Enumerability of methods
* Adding @@toStringTag (affecting Object.prototype.toString.call)

This includes web platform tests that abuse the current idlharness.js infrastructure, plus some ad-hoc hand-written tests that we expect to be generated by future versions of idlharness.js once the relevant Web IDL pull requests are merged. It removes the existing API surface tests and helpers in favor of idlharness.js.

Bug: 931263
Change-Id: I9205d1a8b3040617cbb6200f825ba9ad250e61c5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1672137
Commit-Queue: Domenic Denicola <domenic@chromium.org>
Reviewed-by: Joshua Bell <jsbell@chromium.org>
Cr-Commit-Position: refs/heads/master@{#671975}

--

wpt-commits: 72da3e36e3657a358c4e74b495e582262b40a016
wpt-pr: 17443
2019-07-24 13:31:16 +01:00
Makoto Shimazu 7f1c86ef60 Bug 1561219 [wpt PR 17413] - Add sec-metadata test when updating a service worker, a=testonly
Automatic update from web-platform-tests
Add sec-metadata test when updating a service worker

Bug: 972458
Change-Id: Ibc0e0da1a69905ca8318e762ea92e1eb3616bbf3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1669253
Reviewed-by: Yutaka Hirano <yhirano@chromium.org>
Commit-Queue: Makoto Shimazu <shimazu@chromium.org>
Auto-Submit: Makoto Shimazu <shimazu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#671963}

--

wpt-commits: 7ab6889063d609e55b42aeb5dfd69d5525e0ebcc
wpt-pr: 17413
2019-07-24 13:31:15 +01:00
Rob Buis 4afd810ce2 Bug 1564617 [wpt PR 17524] - Fix font size expectation, a=testonly
Automatic update from web-platform-tests
Fix font size expectation (#17524)

The local variable should match the actual font-size.
--

wpt-commits: 5fd60735ebebf21db46f272587052c360ebd7615
wpt-pr: 17524
2019-07-24 13:31:14 +01:00
Andreea Pavel 713c40b5f7 Bug 1559494 [wpt PR 17498] - [Gecko Bug 1559494] disable new_window_null.tentative.html on android under the correct path, a=testonly
Automatic update from web-platform-tests
disable new_window_null.tentative.html on android under the correct path

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

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1559494
gecko-commit: ef772f4c6eeccdfaaf2f1fde1a71119a5547b951
gecko-integration-branch: autoland
gecko-reviewers: jdm

--

wpt-commits: 66dc9c93f2c8ebd7c8fdc28fae20d92713c97806
wpt-pr: 17498
2019-07-24 13:31:13 +01:00
moz-wptsync-bot c79e0dabc9 Bug 1561418 [wpt PR 17505] - Simplify EventSource bogus ctor tests, a=testonly
Automatic update from web-platform-tests
Simplify EventSource bogus ctor tests (#17505)

* Simplify EventSource bogus ctor tests

* Expect throw by name, not code

--

wpt-commits: 76f2eb7e1526ecaa0b5eea320d5d6c7c3c80707c
wpt-pr: 17505
2019-07-24 13:31:13 +01:00
Mike Pennisi 2e0b4cda71 Bug 1561406 [wpt PR 17369] - [docs] Simplify recommendation for advanced usage, a=testonly
Automatic update from web-platform-tests
[docs] Simplify recommendation for advanced usage

The steps listed in the "Tips & Tricks" section largely summarize the
instructions in the preceeding sections with two exeptions:

1. the recommendation to rebase (which lacks a definition)
2. the warning against modifying the branch following submission (which
   conflicts with a prior section)

Remove the steps and expand the recommendation of Pro Git.

--

wpt-commits: 4b93a2e9c9f904265ae755291ca253045adb3f66
wpt-pr: 17369
2019-07-24 13:31:12 +01:00
Luke Bjerring 33c7d927d8 Bug 1561364 [wpt PR 17503] - Use consistent test naming in encoding/encodeInto.any.js, a=testonly
Automatic update from web-platform-tests
Use consistent test name (#17503)

--

wpt-commits: 5059d2c77703d67d2f76931b44e6d2437526b6e9
wpt-pr: 17503
2019-07-24 13:31:11 +01:00
Sam Sneddon 352cdf3eac Bug 1558809 [wpt PR 17292] - Add ahem.css to many more tests, a=testonly
Automatic update from web-platform-tests
Merge pull request #17292 from gsnedders/ahem-part2b

Add ahem.css to many more tests
--

wpt-commits: daf75e3bc7829fc4de06bff7136009210aafe3e5
wpt-pr: 17292
2019-07-24 13:31:10 +01:00
pyup-bot a4fdbf1adc Bug 1561187 [wpt PR 17460] - Update mypy to 0.711, a=testonly
Automatic update from web-platform-tests
Update mypy from 0.710 to 0.711
--

wpt-commits: 41be99f198f2937103f8af00642cce91c9e48826
wpt-pr: 17460
2019-07-24 13:31:09 +01:00
Yoav Weiss bf80fe7650 Bug 1561203 [wpt PR 17438] - [Navigation Timing] secureConnectionStart should be non-zero, a=testonly
Automatic update from web-platform-tests
[Navigation Timing] secureConnectionStart should be non-zero

The value of secureConnectionStart should be non-zero for secure
context navigations. It wasn't. This CL makes sure that it is!

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

--

wpt-commits: 87e1dabfa2ef2cf1d1946f428d19973b9bb35ddc
wpt-pr: 17438
2019-07-24 13:31:09 +01:00
Frédéric Wang 3963c0214d Bug 1561220 [wpt PR 17486] - Add more tests for fraction gaps., a=testonly
Automatic update from web-platform-tests
Add more tests for fraction gaps. (#17486)

These tests check the gap parameters from https://mathml-refresh.github.io/mathml-core/#fractions-mfrac

The existing frac-parameters-1 and frac-parameters-2 tests use mspace elements as numerator/denominator so the box returned by getBoundingClientRect() perfectly encloses the visual rendering of these elements.

These versions rely on reftests to check when mtext elements are used as numerator/denominator with a font typo ascent/descent different from the actual glyph's bounding box ascent/descent. In each case, three glyphs are tested (centered, above or below the baseline).

These tests pass on gecko/webkit but currently fail with the chromium-mathml build for glyphs that are not centered on the baseline.
--

wpt-commits: ecc43f56d11b2485f17bf57c0db2031778d3eca9
wpt-pr: 17486
2019-07-24 13:31:08 +01:00
Jack Steinberg 64e5271b73 Bug 1561221 [wpt PR 17487] - Change toast default duration to 3000ms, and shorten non-default timeout tests, a=testonly
Automatic update from web-platform-tests
Change toast default duration to 3000ms,
and shorten non-default timeout tests

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

--

wpt-commits: 0eb81a52b8090066b757cd542713c51e73986bda
wpt-pr: 17487
2019-07-24 13:31:07 +01:00
Andreea Pavel 7d48efdc46 Bug 1559494 [wpt PR 17476] - [Gecko Bug 1559494] disabled new_window_null.tentative.html on android, a=testonly
Automatic update from web-platform-tests
disabled new_window_null.tentative.html on android

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

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1559494
gecko-commit: 440efb54ea2061cc576c1c6e0823b5cf9ac8a1a9
gecko-integration-branch: central
gecko-reviewers: jmaher

--

wpt-commits: 3d44b23e2683bb460c1b623223a7b34add76dca7
wpt-pr: 17476
2019-07-24 13:31:06 +01:00
Piotr Bialecki b646f15b77 Bug 1561188 [wpt PR 17462] - Bring XRRay.matrix and XRRay constructors up to spec, a=testonly
Automatic update from web-platform-tests
Bring XRRay.matrix and XRRay constructors up to spec

Minor update to XRRay.matrix algorithm to recompute internal matrix
if it was detached.

Modification to XRRay's constructors to throw InvalidStateError in
case direction normalization cannot be performed.

Update WPT tests to account for the change.

Bug: 957763
Change-Id: I7e65b660de013badbc2cff249d5a75a5fa75ab96
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1671871
Reviewed-by: Brandon Jones <bajones@chromium.org>
Commit-Queue: Piotr Bialecki <bialpio@chromium.org>
Cr-Commit-Position: refs/heads/master@{#671779}

--

wpt-commits: 766f40ade665477bdc44b5070a5d7cf533748552
wpt-pr: 17462
2019-07-24 13:31:05 +01:00
Emil A Eklund 1f7f287abf Bug 1561186 [wpt PR 17459] - [LayoutNG] Fix list-item marker logic, a=testonly
Automatic update from web-platform-tests
[LayoutNG] Fix list-item marker logic

Update the list-item marker logic to reflect that list-style-image takes
precedence over list-style-type: none. Also adds a WPT correctness test.

Bug: 976937
Test: wpt/css/css-lists/list-type-none-style-image.html
Change-Id: I2255254f72e58d53671337ccb3f6a285cc515522
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1671896
Reviewed-by: Koji Ishii <kojii@chromium.org>
Commit-Queue: Emil A Eklund <eae@chromium.org>
Cr-Commit-Position: refs/heads/master@{#671772}

--

wpt-commits: b595b20b8acf686daa11290b4c132a79b3f1dfe6
wpt-pr: 17459
2019-07-24 13:31:05 +01:00
Mugdha Lakhani cebe583a38 Bug 1561194 [wpt PR 17347] - [Background Sync] Periodic Background Sync idl, a=testonly
Automatic update from web-platform-tests
[Background Sync] Periodic Background Sync idl

changes + few WPT and web_tests.

Bug: 925297

Change-Id: I5c8833e236f7cf9b2993e69494ec4dc9797f7120
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1660446
Commit-Queue: Mugdha Lakhani <nator@chromium.org>
Reviewed-by: Peter Beverloo <peter@chromium.org>
Reviewed-by: Mike West <mkwst@chromium.org>
Reviewed-by: Rayan Kanso <rayankans@chromium.org>
Cr-Commit-Position: refs/heads/master@{#671726}

--

wpt-commits: 38ca23981b8b2227e47a497d5952503202350e38
wpt-pr: 17347
2019-07-24 13:31:04 +01:00
Yuki Shiino 7272ca0c98 Bug 1554083 [wpt PR 17463] - [Gecko Bug 1554083] [wpt PR 16992] - Revert "Frame freezing on load.", a=testonly, a=testonly
Automatic update from web-platform-tests
[wpt PR 16992] - Revert "Frame freezing on load.", a=testonly

Automatic update from web-platform-tests
Revert "Frame freezing on load."

This reverts commit 0daefdcf34ba9a8c21ab907b2159c5652169a45b.

Reason for revert:
DCHECK(!GetDocument()->LoadEventStillNeeded());
in local_frame.cc is failing at
https://ci.chromium.org/p/chromium/builders/ci/Mac10.13%20Tests%20%28dbg%29

Original change's description:
> Frame freezing on load.
>
> Move load event checks to renderer side so it is consistent with the
> page lifecycle spec. Add additional resource that is slow to load
> to ensure the load event is waited for correctly before freezing.
>
> BUG=907125
>
> Change-Id: I8f45ddffcf3ce88f6244307833325a54e1c2d395
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1625464
> Reviewed-by: Kentaro Hara <haraken@chromium.org>
> Reviewed-by: Avi Drissman <avi@chromium.org>
> Commit-Queue: Dave Tapuska <dtapuska@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#662340}

TBR=avi@chromium.org,haraken@chromium.org,dtapuska@chromium.org

# Not skipping CQ checks because original CL landed > 1 day ago.

Bug: 907125
Change-Id: I4e27e30519359e2a3ef0d2c92a0fc9d88ac78aff
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1628499
Reviewed-by: Yuki Shiino <yukishiino@chromium.org>
Reviewed-by: Kentaro Hara <haraken@chromium.org>
Commit-Queue: Yuki Shiino <yukishiino@chromium.org>
Cr-Commit-Position: refs/heads/master@{#663009}

--

wp5At-commits: 138d2e938d493a5c8435025162759c2e34b3b1d1
wpt-pr: 16992

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1554083
gecko-commit: 6b5ce266625e08bf06a40e6fd2b9b419a9f7f3ed
gecko-integration-branch: central
gecko-reviewers: testonly

--

wpt-commits: 87c8ca1b6f9debb046752ca92d6cea7af6e9f17c
wpt-pr: 17463
2019-07-24 13:31:03 +01:00
Raymond Toy 6c2e309a9d Bug 1558611 [wpt PR 17461] - [Gecko Bug 1558611] [wpt PR 17233] - Active Processing for ConvolverNode, a=testonly, a=testonly
Automatic update from web-platform-tests
[wpt PR 17233] - Active Processing for ConvolverNode, a=testonly

Automatic update from web-platform-tests
Active Processing for ConvolverNode

The ConvolverNode should output a single channel of silence when it is not
actively processing.  Active processing is already supported and just needed
to have the convolver output a single channel of silence when it is
constructed, before anything is connected to it.

Bug: 971389
Change-Id: Icc894cd7ea6dec60a1eccb0fa4a3aea68ac5b51f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1644899
Commit-Queue: Raymond Toy <rtoy@chromium.org>
Reviewed-by: Hongchan Choi <hongchan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#668149}

--

wp5At-commits: 6531eab802391a24dabca973cc4329abbeadd896
wpt-pr: 17233

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1558611
gecko-commit: 3b9b543d1c8db5573155dc6ff44e65f871ae6ec9
gecko-integration-branch: central
gecko-reviewers: testonly

--

wpt-commits: 9e43b67f4fec9e0a1ffe2d91a5b4fd0c9b5ad705
wpt-pr: 17461
2019-07-24 13:31:02 +01:00
Dan Beam 76b6395788 Bug 1561189 [wpt PR 17465] - Revert "Insert a generated item after preserved spaces following a forced break", a=testonly
Automatic update from web-platform-tests
Revert "Insert a generated item after preserved spaces following a forced break"

This reverts commit 6b0ca8ce33e71d570fce11ae6fb5f898ddf053e4.

Reason for revert:

Broke external/wpt/css/css-text/word-break/word-break-break-all-004.html on many Mac bots:

https://ci.chromium.org/p/chromium/builders/ci/Mac10.10%20Tests/44291
https://ci.chromium.org/p/chromium/builders/ci/Mac10.11%20Tests/39449
https://ci.chromium.org/p/chromium/builders/ci/Mac10.12%20Tests/24278
https://ci.chromium.org/p/chromium/builders/ci/Mac10.13%20Tests/14909
https://ci.chromium.org/p/chromium/builders/ci/WebKit%20Mac10.13%20%28retina%29/16025

Original change's description:
> Insert a generated item after preserved spaces following a forced break
>
> We already had to implement a special logic to deal with leading
> preserved white spaces due some optimizations we have in the line
> breaking code to give always breaking opportunities before spaces.
>
> However, the presence of forced breaks may cause some of the following
> spaces becoming leading preserved spaces in the next line.
>
> This patch applies the same logic we had for such leading spaces at
> the text's first line. It also needs to define additional cases in the
> function that evaluates the need of adding these generated breaking
> opportunity items.
>
> Bug: 976195
> Change-Id: If39e7ba8a535c15d33d6021c6cd04da9590b1131
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1667305
> Commit-Queue: Javier Fernandez <jfernandez@igalia.com>
> Reviewed-by: Koji Ishii <kojii@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#671656}

TBR=jfernandez@igalia.com,kojii@chromium.org

Change-Id: I418bb0d30fce7f9ac5724f76c0a854bcb070aa5c
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 976195
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1674249
Reviewed-by: Dan Beam <dbeam@chromium.org>
Commit-Queue: Dan Beam <dbeam@chromium.org>
Cr-Commit-Position: refs/heads/master@{#671703}

--

wpt-commits: 3d97450f2c48758db3f76f3360ff7c3e4069c320
wpt-pr: 17465
2019-07-24 13:31:01 +01:00
Dave Tapuska 973d452f7f Bug 1561175 [wpt PR 17454] - Add test checking SharedArrayBuffers are transferred over MessageChannels, a=testonly
Automatic update from web-platform-tests
Add test checking SharedArrayBuffers are transferred over MessageChannels

SharedArrayBuffers in Chrome don't end up getting passed correctly when
it crosses a document boundary. This is because of the simplistic
Cluster Agent Key implementation. SharedArrayBuffers are currently
passed correctly provided the MessageChannel is all inside the same
document. (a document and itself, or a document and an associated worker).

BUG=798572

Change-Id: I012b2fbdae52ebee7d26034caa996f2e0cf929ae
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1672777
Reviewed-by: Ben Kelly <wanderview@chromium.org>
Commit-Queue: Dave Tapuska <dtapuska@chromium.org>
Cr-Commit-Position: refs/heads/master@{#671672}

--

wpt-commits: b3418ad6bf7b49e59025e5278e1291587c6fc10e
wpt-pr: 17454
2019-07-24 13:31:01 +01:00
pyup-bot 67636320b5 Bug 1556885 [wpt PR 17179] - Update typed-ast to 1.4.0, a=testonly
Automatic update from web-platform-tests
Update typed-ast from 1.3.5 to 1.4.0
--

wpt-commits: fe547533a8aca6859ce51cfd12522079d9e5a732
wpt-pr: 17179
2019-07-24 13:31:00 +01:00
Javier Fernandez 150170970b Bug 1561168 [wpt PR 17393] - Insert a generated item after preserved spaces following a forced break, a=testonly
Automatic update from web-platform-tests
Insert a generated item after preserved spaces following a forced break

We already had to implement a special logic to deal with leading
preserved white spaces due some optimizations we have in the line
breaking code to give always breaking opportunities before spaces.

However, the presence of forced breaks may cause some of the following
spaces becoming leading preserved spaces in the next line.

This patch applies the same logic we had for such leading spaces at
the text's first line. It also needs to define additional cases in the
function that evaluates the need of adding these generated breaking
opportunity items.

Bug: 976195
Change-Id: If39e7ba8a535c15d33d6021c6cd04da9590b1131
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1667305
Commit-Queue: Javier Fernandez <jfernandez@igalia.com>
Reviewed-by: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#671656}

--

wpt-commits: 9348328991a301000225e6da1010755eceaf1389
wpt-pr: 17393
2019-07-24 13:30:59 +01:00
Kagami Sascha Rosylight a7823b7894 Bug 1552418 [wpt PR 16864] - Update to webidl2.js@22.0.0, a=testonly
Automatic update from web-platform-tests
Update to webidl2.js@22.0.0 (#16864)

--

wpt-commits: 3f55557a6495b3bf437bd541253fff127acd6103
wpt-pr: 16864
2019-07-24 13:30:58 +01:00
jugglinmike 5922407bda Bug 1561172 [wpt PR 17386] - [docs] Add detail on writing Python handlers, a=testonly
Automatic update from web-platform-tests
[docs] Add detail on writing Python handlers (#17386)

Extend the documentation on writing Python handlers to more completely
describe the feature. Introduce a short example to concretely
demonstrate its usage. Apply similar changes to the corresponding
documentation in the `wptserve` directory for parity.

--

wpt-commits: acbefd606a1b9284b96d21a4a332d0202e36d531
wpt-pr: 17386
2019-07-24 13:30:57 +01:00
Philip Jägenstedt 4d9cb4b0b4 Bug 1561169 [wpt PR 17409] - [Azure Pipelines] put parenthesis pack in step names, a=testonly
Automatic update from web-platform-tests
[Azure Pipelines] put parenthesis pack in step names

This reverts drive-by changes for consistency in commit
e75855649360298870a40ed78874bd4ab1470c20, which actually left the step
names inconsistent.

--

wpt-commits: 42ea2f906ab2367dc4403fb5cf8f7d476f9e0e5c
wpt-pr: 17409
2019-07-24 13:30:57 +01:00
Kagami Sascha Rosylight 6c38352306 Bug 1561166 [wpt PR 17440] - Fix markdown to use powershell syntax highlighter, a=testonly
Automatic update from web-platform-tests
Fix markdown to use powershell syntax highlighter
--

wpt-commits: f7ee963089151bd746c15acb72e2a65fb92ebacc
wpt-pr: 17440
2019-07-24 13:30:56 +01:00
Emilio Cobos Álvarez 019c28cf0f Bug 1561163 [wpt PR 17452] - Improve failing condition of a test., a=testonly
Automatic update from web-platform-tests
Improve failing condition of a test (#17452)

So it doesn't time out.
--

wpt-commits: 1f512077ca0998e0af60ff727eea8c8ba5d78491
wpt-pr: 17452
2019-07-24 13:30:55 +01:00
moz-wptsync-bot d7cb05044a Bug 1561149 [wpt PR 17433] - [serve] Second attempt to fix the logging more properly, a=testonly
Automatic update from web-platform-tests
Revert "[serve] Make pywebsocket honor log_level config"

This reverts commit 7edf9eabfae3550a4dd2a48625e68b02a734de15.

--
Fix pywebsocket logging properly

The previous attempt (#17124) called pywebsocket._configure_logging,
which had the unwanted side effect of resetting lots of logging setup in
the pywebsocket subprocess (e.g. mozlog configured by wptrunner -- the
log messages produced by pywebsocket lost its structure and became a
simple STDERR text captured by mozlog.capture).

Instead of calling pywebsocket._configure_logging, the original issue
(log level in config.json not honoured by pywebsocket) should be fixed
by setting the log level on the root logger instead, which will set up
all loggers (including those in third-party libraries) correctly. This
is done only on the entry point of `wpt serve` and won't affect
wptrunner which has its own logging setup.

--

wpt-commits: b693b1b954a8828dc5a0c69319e234b9e3b2d76d, 6e7ac6df08e23d9c8e7aa3223f387f71beb39b9c
wpt-pr: 17433
2019-07-24 13:30:54 +01:00
Rune Lillesveen 73c5a11c8c Bug 1561130 [wpt PR 17447] - Handle null ::first-letter text layout object., a=testonly
Automatic update from web-platform-tests
Handle null ::first-letter text layout object.

Ideally, UpdateFirstLetterPseudoElement() will remove the ::first-letter
pseudo element from the DOM when there is no text which can contain the
first letter. Hence, we should not end up in a situation where we try to
AttachLayoutTree for the FirstLetterPseudoElement with a null
first_letter_text.

However, the layout tree is different in AttachLayoutTree() than in
UpdateFirstLetterPseudoElement() in the case where there already was a
::first-letter pseudo element, since we detached it right before
AttachLayoutTree. This means we may have different results for
FirstLetterTextLayoutObject() at those two points if the method has
bugs.

Such a bug was found here where a list item marker inside an anonymous
block had an out-of-flow sibling, but we were not able to traverse out
of the anonymous block to find the first letter text.

Add a DCHECK to let us trigger cases where FirstLetterTextLayoutObject()
is buggy, but also add if-tests to make sure we don't crash.

Bug: 977044
Change-Id: Id80f8aad5c04678d64927e7a7ca4d60cdb6a4b8e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1672845
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Commit-Queue: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/master@{#671629}

--

wpt-commits: 53ebe42e282c9cd4c49d8e615b30eee06c2211a0
wpt-pr: 17447
2019-07-24 13:30:52 +01:00
Wanming Lin bac21dd67c Bug 1560937 [wpt PR 17392] - [shapedetection] Add some shapedetection tests, a=testonly
Automatic update from web-platform-tests
[shapedetection] Add some shapedetection tests

Cover following two checkpoints:
- If the ImageBitmapSource is an HTMLVideoElement object whose readyState attribute
  is either HAVE_NOTHING or HAVE_METADATA then reject the Promise with a new
  DOMException whose name is InvalidStateError.
- If the ImageBitmapSource argument is an HTMLCanvasElement whose bitmap’s origin-clean
  flag is false, then reject the Promise with a new DOMException whose name is SecurityError.

spec: https://wicg.github.io/shape-detection-api/#image-sources-for-detection
Change-Id: I0522d0340d3cb0291df6be65dfc1ab99037b30f7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1666766
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Commit-Queue: Wanming Lin <wanming.lin@intel.com>
Cr-Commit-Position: refs/heads/master@{#671578}

--

wpt-commits: ec977dea05df9ce55c03a842ffe05a1bf6ee399a
wpt-pr: 17392
2019-07-24 13:30:51 +01:00
Olivier Yiptong dc94c7cd2b Bug 1560932 [wpt PR 17364] - [Native File System] Create FileSystemFileWriterImpl to mirror the renderer side, a=testonly
Automatic update from web-platform-tests
[Native File System] Create FileSystemFileWriterImpl to mirror the renderer side

This is the initial cl of the refactor of NativeFileSystemFileHandleImpl to
mirror the split on the renderer side with the handle and the writer as
two separate entities.

It is the initial implementation for FileSystemFileWriterImpl. It includes
only one no-op method for now: close().

This sets the stage for atomic writes as close() will be the explicit
termination of a write, which allows us to do the atomic operation.

Bug: 968550
Change-Id: I0af81efa46789f18c4a8b0bca3ab89c5703b798c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1662709
Commit-Queue: Olivier Yiptong <oyiptong@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Marijn Kruisselbrink <mek@chromium.org>
Auto-Submit: Olivier Yiptong <oyiptong@chromium.org>
Cr-Commit-Position: refs/heads/master@{#671539}

--

wpt-commits: 3cb5a99e5521936fb8819de8aaba806050b84184
wpt-pr: 17364
2019-07-24 13:30:50 +01:00
George Roman 066cdb206c Bug 1557463 [wpt PR 17212] - Add mandatory capabilities parameter for webdriver new session command, a=testonly
Automatic update from web-platform-tests
Add mandatory capabilities parameter in the body for the webdriver new session command (#17212)

--

wpt-commits: 693543f7296ef79cc4ec534422c5a0bb433992dd
wpt-pr: 17212
2019-07-24 13:30:50 +01:00
Christian Biesinger c11633eb30 Bug 1560930 [wpt PR 17434] - [css-flexbox] Clamp the cross-size by the min/max size, a=testonly
Automatic update from web-platform-tests
[css-flexbox] Clamp the cross-size by the min/max size

...when computing the main-axis size of a flex item.

As per this change:
https://drafts.csswg.org/css-flexbox/#change-2018-used-cross-size

R=dgrogan@chromium.org, eae@chromium.org

Bug: 972576
Change-Id: I11a1ac14e2e0e44e39fcd45d4568874da2dcfce8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1672014
Auto-Submit: Christian Biesinger <cbiesinger@chromium.org>
Reviewed-by: David Grogan <dgrogan@chromium.org>
Reviewed-by: Emil A Eklund <eae@chromium.org>
Commit-Queue: Christian Biesinger <cbiesinger@chromium.org>
Commit-Queue: Emil A Eklund <eae@chromium.org>
Cr-Commit-Position: refs/heads/master@{#671485}

--

wpt-commits: cc0f6ffd9998bdc180d3c70354656f438d99f701
wpt-pr: 17434
2019-07-24 13:30:49 +01:00
Xianzhu Wang 44143e4feb Bug 1560929 [wpt PR 17429] - Don't skip fragment clip if there are other clips for composited layers, a=testonly
Automatic update from web-platform-tests
Don't skip fragment clip if there are other clips for composited layers

Composited layer under multicol is still not fully correctly
supported. Currently we don't allow fragmentation of composited layers,
and skip fragment clip for them. However, if there are other clips below
the fragment clip, we should not skip fragment clip to ensure the other
clips are correctly applied. This is still not fully correct (see the
comment in the code for details), but the result is less broken in many
cases. Hopefully we'll fully fix the issue in
CompositeAfterPaint+LayoutNG-box-fragments.

Bug: 976187
Change-Id: Ica9acc71f0d1204d6380f1bcac3e2159631d63e9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1670413
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Reviewed-by: Chris Harrelson <chrishtr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#671480}

--

wpt-commits: 1c33536fe6e7d2a6a0323bdb849a5a80c33513a6
wpt-pr: 17429
2019-07-24 13:30:48 +01:00
Koji Ishii 4d0e2fd4d6 Bug 1560928 [wpt PR 17428] - [LayoutNG] Fix |ComputeMinMaxSize| not to clear |NeedsLayout|, a=testonly
Automatic update from web-platform-tests
[LayoutNG] Fix |ComputeMinMaxSize| not to clear |NeedsLayout|

This patch fixes |ComputeMinMaxSize| not to clear |NeedsLayout|
when all of following conditions are met:
1. Needs |MinMaxSize|
2. Is an orthogonal flow root.
3. Is legacy layout.
4. Change is applied that dirties the layout.

In this case, |NGBlockNode::ComputeMinMaxSize()| calls
|Layout()|, which goes to |RunLegacyLayout()|, which calls
|LayoutObject::LayoutIfNeeded()|. However, its constraint
space is intermediate that it does not update
|CachedLayoutResult|.

Then when laying it out, because |NeedsLayout()| is cleared,
existing out-of-date |CachedLayoutResult| is used.

This patch fixes:
1. Not to pre-layout orthogonal roots if it has
   |CachedLayoutResult|.
2. Set |NeedsLayout()| if |RunLegacyLayout()| clears it, but
   |CachedLayoutResult| was not updated.

Bug: 976859
Change-Id: Ic2d979a3c4f9479040bfd0e54cf4283b60ed52b5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1670146
Reviewed-by: Christian Biesinger <cbiesinger@chromium.org>
Reviewed-by: Emil A Eklund <eae@chromium.org>
Commit-Queue: Emil A Eklund <eae@chromium.org>
Cr-Commit-Position: refs/heads/master@{#671460}

--

wpt-commits: 47b08c15495e05fa73e243736742851109198af1
wpt-pr: 17428
2019-07-24 13:30:47 +01:00
Jeremy Roman de3dc8b626 Bug 1560925 [wpt PR 17431] - Remove unused BroadcastChannel in portal-activate-data.html., a=testonly
Automatic update from web-platform-tests
Remove unused BroadcastChannel in portal-activate-data.html.

It was probably left behind during recent WPT refactoring.

Change-Id: Ia993654248303c56559cb8cf755d11944213048a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1671947
Commit-Queue: Jeremy Roman <jbroman@chromium.org>
Commit-Queue: Adithya Srinivasan <adithyas@chromium.org>
Auto-Submit: Jeremy Roman <jbroman@chromium.org>
Reviewed-by: Adithya Srinivasan <adithyas@chromium.org>
Cr-Commit-Position: refs/heads/master@{#671414}

--

wpt-commits: 674c9f5b6c076746d8823ee215181b9b471cd1a4
wpt-pr: 17431
2019-07-24 13:30:47 +01:00
autofoolip ef85332fe9 Bug 1560924 [wpt PR 17423] - Update interfaces/webrtc.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/webrtc.idl (#17423)

Source: https://github.com/tidoust/reffy-reports/blob/7e64fc0/whatwg/idl/webrtc.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/548532003
--

wpt-commits: 4501cf73a612984558cb2babbd4287f149ab2591
wpt-pr: 17423
2019-07-24 13:30:46 +01:00
autofoolip 6151869f9a Bug 1560922 [wpt PR 17422] - Update interfaces/mediasession.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/mediasession.idl (#17422)

Source: https://github.com/tidoust/reffy-reports/blob/7e64fc0/whatwg/idl/mediasession.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/548532003
--

wpt-commits: 99f9b7e682948620190ce740f72a4adedcd52c6a
wpt-pr: 17422
2019-07-24 13:30:45 +01:00
Aleksey Shvayka 902dc56207 Bug 1558682 [wpt PR 17278] - Assert that `visibilitychange` event bubbles, a=testonly
Automatic update from web-platform-tests
Assert that `visibilitychange` event bubbles

--
Move pop-up documents to resources/

--
Remove unused statement

--

wpt-commits: 9dc0854f96b351813babc0529a7a313c51e06e94, 1df71f303422d3cc98602ae3ee1168a8d044c110, c2c26462a2dc136ced644fc04f8baaf7ac178312
wpt-pr: 17278


--HG--
rename : testing/web-platform/tests/page-visibility/unload-1.html => testing/web-platform/tests/page-visibility/resources/unload.html
2019-07-24 13:30:44 +01:00
jugglinmike 561d4c5cdf Bug 1539940 [wpt PR 15964] - [docs] Deprecate some requirement flags, a=testonly
Automatic update from web-platform-tests
[docs] Deprecate some requirement flags (#15964)

Reference: https://github.com/web-platform-tests/wpt/issues/5293

Also update the example to use non-deprecated flags.
--

wpt-commits: a56df4a639b5e1c278037d53ce461f66e06c902a
wpt-pr: 15964
2019-07-24 13:30:44 +01:00
Mike Pennisi 63e0c98530 Bug 1560921 [wpt PR 16339] - [docs] Reorganize information on Ahem, a=testonly
Automatic update from web-platform-tests
[docs] Reorganize information on Ahem

WPT maintains a document dedicated to configuring systems to run the
tests. Relocate the instructions on installing Ahem to this document,
and reference them from their original location (an explanation of how
to use the font to author tests).

--

wpt-commits: 49e92561e87e4e1dd7a798dc74f69378b4526878
wpt-pr: 16339
2019-07-24 13:30:43 +01:00
Mike Pennisi 64041687a6 Bug 1560917 [wpt PR 17418] - [docs] Incorporate wptserve documentation , a=testonly
Automatic update from web-platform-tests
[docs] Enable Sphinx's "nit-picky" mode

The `-n` flag to Sphinx is documented as "warn about all missing
references." Enable that flag and correct the missing references which
were previously tolerated.

--
[docs] Incorporate wptserve documentation

While Sphinx is capable of including the contents of files which exist
outside of the documentation root (via the `include` directive), it
interprets such text in the context of the including file. That makes
the mechanism inappropriate for including documentation that references
still other files using relative paths.

To address this, create a symbolic link to the `wptserve` source
directory. Fix or ignore infractions in the newly-incorporated files.

--

wpt-commits: 929bb86fff798cac3b94af7a2549480fac40a84e, a54dccec285341423d3e956bcbdbaac5b0e45ab8
wpt-pr: 17418
2019-07-24 13:30:42 +01:00
Hiroki Nakagawa 9a92162fa5 Bug 1560916 [wpt PR 17395] - Worker: Deflake worker-interception.https.html, a=testonly
Automatic update from web-platform-tests
Worker: Deflake worker-interception.https.html

This is a follow-up CL for
https://chromium-review.googlesource.com/c/chromium/src/+/1657855/10#message-de50523b6c1fc520cf1a7c2edf3033d4e2139103

worker-interception.https.html is flaky on Firefox. It looks like service worker
unregistration is unexpectedly canceled. Each test case doesn't explicitly
terminate (shared) workers, so they may prolong the lifetime of the registration
being unregistered, and the next test case may unexpectedly reuse it. This
results in failures in setup_service_worker().

To fix it, this CL separates service worker scope per test. Note that explicit
worker termination should not work in this case because shared workers are
out-of-process workers and it's not possible to terminate them
deterministically.

Bug: n/a
Change-Id: I16c32d6477c8b1a4d1a246b33a8e21747b4fec66
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1663459
Reviewed-by: Matt Falkenhagen <falken@chromium.org>
Commit-Queue: Hiroki Nakagawa <nhiroki@chromium.org>
Cr-Commit-Position: refs/heads/master@{#670831}

--

wpt-commits: 8ad6f6a2ebb5b861f17c1b8084b264c71e6b965b
wpt-pr: 17395
2019-07-24 13:30:41 +01:00
Kevin Ellis ad2463efda Bug 1560913 [wpt PR 17349] - Optimize cubic bezier solver., a=testonly
Automatic update from web-platform-tests
Optimize cubic bezier solver.

Newton's method requires an accurate guess to get good convergence.
This patch introduces a linear interpolation of a crude spline as a
starting point for the iterative solver. Previously the starting point
t = x was used.  The patch also introduces a tighter tolerance for
Newton's method than the fallback, and is justified by Newton's method
having quadratic convergence characteristics. Speed testing indicates
that the solver is roughly 50% faster, since the number of iterations
is typically less even at the higher accuracy requirement.

Bug: 827560
Change-Id: I89e3cc9061823269aabb16697e2d167751aa52b1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1643973
Reviewed-by: Ian Vollick <vollick@chromium.org>
Reviewed-by: Robert Flack <flackr@chromium.org>
Reviewed-by: Xida Chen <xidachen@chromium.org>
Commit-Queue: Kevin Ellis <kevers@chromium.org>
Cr-Commit-Position: refs/heads/master@{#670995}

--

wpt-commits: dbe15f82985f2e2a978255665f388c7dcdd425b1
wpt-pr: 17349
2019-07-24 13:30:41 +01:00
Robert Ma 95ad8a27e3 Bug 1560912 [wpt PR 17415] - Expect actionsWithKeyPressed.html to fail on Mac, a=testonly
Automatic update from web-platform-tests
Expect actionsWithKeyPressed.html to fail on Mac

Related to issue #17296. This PR does not fix the underlying issue, but
only unblocks the infrastructure tests on macOS.

--
Expect elementPosition.html to timeout

For Chrome on macOS

--

wpt-commits: 2e5b9fb08c42966831690bd01b9b6410efc479fa, fe2232a673785d77c1b23509c5ae52c325378918
wpt-pr: 17415
2019-07-24 13:30:40 +01:00
pyup.io bot c539ce5388 Bug 1560911 [wpt PR 17405] - Update mypy to 0.710, a=testonly
Automatic update from web-platform-tests
Update mypy from 0.701 to 0.710 (#17405)

--

wpt-commits: eecf6c3158d229132698164e06b13e89657d1ea1
wpt-pr: 17405
2019-07-24 13:30:39 +01:00
Yoav Weiss cd5238cddf Bug 1560908 [wpt PR 17412] - [Navigation Timing] Replace TAO restrictions with same-origin ones, a=testonly
Automatic update from web-platform-tests
[Navigation Timing] Replace TAO restrictions with same-origin ones

The NavigationTiming specification changed [1] to replace TAO based opt-in
to get information about unloadStart, unloadEnd and redirectCount with
same origin restrictions.

Our implementation was not aligned with the old spec language, but
isn't aligned with the new one either.

This CL aligns the implementation with the new language.

Change-Id: Ic4f3c7061e7b9a40f960f0bf26ef26823d5fe743
Bug: 977147

[1] https://github.com/w3c/navigation-timing/pull/108

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

--

wpt-commits: 94f51553f1413cf2118b9bf89762bfad16d8a18a
wpt-pr: 17412
2019-07-24 13:30:38 +01:00
Jake Archibald 9019f4daff Bug 1558761 [wpt PR 17285] - Service worker: self.serviceWorker, a=testonly
Automatic update from web-platform-tests
Service worker: self.serviceWorker (#17285)

* Tests for self.serviceWorker

* Don't need `self`

* Add read only test

* Adding comments & test the object doesn't change

* Swap order

--

wpt-commits: 3725067ef0328c998be2ba93dbaeb0579586fccd
wpt-pr: 17285
2019-07-24 13:30:38 +01:00
Wanming Lin e585e10cd2 Bug 1560906 [wpt PR 17425] - [webnfc] Remove incorrect test, a=testonly
Automatic update from web-platform-tests
[webnfc] Remove incorrect tests (#17425)

Per spec https://heycam.github.io/webidl/#es-DOMString,
non string value will be converted to string via `toString()`
method, therefore there's no `TypeError` to be thrown.

--

wpt-commits: 3a00a57af5f449a72f0e1b89dae6f1bd15ad8fcd
wpt-pr: 17425
2019-07-24 13:30:37 +01:00
Hiroki Nakagawa c4c8dc14af Bug 1560905 [wpt PR 17414] - Worker: Remove duplicate service worker interception tests for shared workers, a=testonly
Automatic update from web-platform-tests
Worker: Remove duplicate service worker interception tests for shared workers

worker-interception.https.html has more test coverage, and is well-formatted.

Bug: n/a
Change-Id: I29640ffa781c1b90b1faa56eab4f771c1a3c0a84
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1669137
Auto-Submit: Hiroki Nakagawa <nhiroki@chromium.org>
Commit-Queue: Matt Falkenhagen <falken@chromium.org>
Reviewed-by: Matt Falkenhagen <falken@chromium.org>
Cr-Commit-Position: refs/heads/master@{#671183}

--

wpt-commits: 982f12dc86098e5b32ffec455520a5eb114c27af
wpt-pr: 17414
2019-07-24 13:30:36 +01:00
Jack Steinberg b13e808157 Bug 1560904 [wpt PR 17408] - Move toast/ directory to elements/ directory and update paths, a=testonly
Automatic update from web-platform-tests
Move toast/ directory to elements/ directory and update paths

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

--

wpt-commits: 7da4a4441cc8133386b06d7a91b4c5eeefd7e090
wpt-pr: 17408
2019-07-24 13:30:35 +01:00
jugglinmike 98bcfce7bb Bug 1560902 [wpt PR 17401] - [docs] Increase strictness of build process, a=testonly
Automatic update from web-platform-tests
[docs] Increase strictness of build process (#17401)

Use the `-W` flag to interpret Sphinx warnings as errors, causing the
build to fail in the presence of either. This makes various authoring
mistakes more visible. Perhaps most importantly: it highlights instances
of "orphaned" content.

Fix all details which were previously reported as warnings and thus
permitted.
--

wpt-commits: 9c6304b71c5ee090ebc1eef02ab32b70444d9704
wpt-pr: 17401
2019-07-24 13:30:35 +01:00
Nicolás Peña Moreno 4a861cafd1 Bug 1560901 [wpt PR 17388] - [ElementTiming] Add tests for generated and shadow text, a=testonly
Automatic update from web-platform-tests
[ElementTiming] Add tests for generated and shadow text

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

--

wpt-commits: 042be7d39a11e80f6a8a6fe5fe1bcd34137661bb
wpt-pr: 17388
2019-07-24 13:30:34 +01:00
Anders Hartvoll Ruud 958a1daa0a Bug 1560900 [wpt PR 17411] - Allow var() references in -internal-visited-* properties., a=testonly
Automatic update from web-platform-tests
Allow var() references in -internal-visited-* properties.

Previously, -internal-visited-* properties didn't get any parsing behavior,
because they were assumed to be used during style application only. In
other words, it was assumed that the parsing would happen _before_ e.g.
color would expand to -internal-visited-color.

This is (of course) not true if the value has a var() reference, since
the actual parsing then happens computed-value time.

To fix this, this CL gives all -internal-visited-* properties parsing
behavior.

The "pending substitution value" adds complexity here, since the value
itself contains the shorthand it came from. This means that if e.g. the
border shorthand is parsed with a value that contains a var() reference,
the corresponding -internal-border-*-color property will point to the
same pending substitution value, that contains the "border" shorthand.
When resolving that pending substitution value computed-value time,
we expand the shorthand into its longhands, which of course are unaware
of the -internal-visited-* context. To fix this, this CL adds a way to
get the unvisited counterpart from a visited property, and uses the
unvisited CSSPropertyID as they key for the pending substitution cache.

Bug: 974665, 976913
Change-Id: I1a168bfe188eaccad7feac6c065f8e447ee56dbe
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1669290
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/master@{#670896}

--

wpt-commits: be93a1b93e08be1bd161208aaa6ab662c1c2d1c1
wpt-pr: 17411
2019-07-24 13:30:33 +01:00
Adam Rice 70092d48fe Bug 1560899 [wpt PR 17380] - WebSocket: stop removing an iframe in onerror from crashing, a=testonly
Automatic update from web-platform-tests
WebSocket: stop removing an iframe in onerror from crashing

There was an issue that if the iframe owning a WebSocket was
synchronously removed in the onerror handler then it would crash the
render process. This was caused by unconditionally calling Close()
without checking the current state.

Fix it.

Also add a web platform test.

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

--
Set a long timeout

--

wpt-commits: 433e1f06259a79c6cb8bf695bc03ffdfdfe4e7e7, 28ad65497bccb301707e341a9d36f9d144e2793e
wpt-pr: 17380
2019-07-24 13:30:32 +01:00
Nicolás Peña Moreno 631ce37940 Bug 1557479 [wpt PR 17214] - Implement basic LargestContentfulPaint API, a=testonly
Automatic update from web-platform-tests
Implement basic LargestContentfulPaint API

This CL adds a basic implementation of the LargestContentfulPaint API.
The implementation is done behind a flag, and is missing attribution
information and special handling for images.

Explainer: https://github.com/WICG/LargestContentfulPaint
Intent to Implement:
https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/WVqgYtyaGJk

Bug: 965505
Change-Id: Ic29604349dc60de2808bdef3df4684e81e1845d7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1646634
Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
Reviewed-by: Chris Harrelson <chrishtr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#670911}

--

wpt-commits: 93ba864d402d941a2670681d535e33723e5296c0
wpt-pr: 17214
2019-07-24 13:30:31 +01:00
Dave Tapuska e71611d2ab Bug 1560898 [wpt PR 17363] - Enable PauseExecutionContextOnBackgroundFreeze, a=testonly
Automatic update from web-platform-tests
Enable PauseExecutionContextOnBackgroundFreeze

Thie change enables (experimentally) pausing the execution context
when a document is frozen.

The WPT tests written required that promise resolution continued after
the page was frozen. This isn't the case when
PauseExecutionContextOnBackgroundFreeze is enabled so rewrite the tests
to poll for the correct state.

BUG=957589

Change-Id: If104235fd7281d88b5d86a3f0b89337828e7f4e7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1662633
Reviewed-by: Shubhie Panicker <panicker@chromium.org>
Reviewed-by: Alexander Timin <altimin@chromium.org>
Commit-Queue: Dave Tapuska <dtapuska@chromium.org>
Cr-Commit-Position: refs/heads/master@{#670883}

--

wpt-commits: 81c649c98aa73ac14416491271ed001ffe9e4bbe
wpt-pr: 17363
2019-07-24 13:30:31 +01:00
Robert Ma 2114f1013f Bug 1560897 [wpt PR 17404] - Fix EdgeChromium on Azure, a=testonly
Automatic update from web-platform-tests
[Azure] Fix logging params

This makes the logging behaviour consistent across all jobs on Azure:
info level tbpl logging to stdout, which is also consistent with
Taskcluster setup.

Notably, the previous configuration for "all tests: Edge" accidentally
specified --log-tbpl twice, causing duplicate log outputs, which is
fixed in this commit.

--
Disable version check of EdgeDriver

--

wpt-commits: 7dd31d2b2f9ebca522b50af958c18208d08683ae, 5303a4e841969e0b5991c45c276027a671e3ba20
wpt-pr: 17404
2019-07-24 13:30:30 +01:00
Jack Steinberg ea7b48eb02 Bug 1560894 [wpt PR 17406] - Change message presence check and add tests for different message behavior, a=testonly
Automatic update from web-platform-tests
Change message presence check and add tests for different message behavior

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

--

wpt-commits: 341842ea958edf33bf13cf894005122977195bfd
wpt-pr: 17406
2019-07-24 13:30:29 +01:00
Dominic Farolino 4ef23f36db Bug 1560893 [wpt PR 17394] - Refactor SRI script tests to prepare for Preload + SRI, a=testonly
Automatic update from web-platform-tests
Refactor SRI script tests to prepare for Preload + SRI

This CL refactors the SRI script tests and what script resources they
consume to remove duplication, and factor out + generalize some of the
helpers, such as the script URL prefixes.

Before this CL, there were multiple script files whose contents were
irrelevant to the tests. The scripts would be served differently due
to `.headers` files. This CL consolidates all of the script resources
into a single `script.js` that the test runner can use while demanding
specific headers for tests. This file and factored-out URL prefixes in
`sri-test-helpers.sub.js` will be used by Preload + SRI tests, so this
CL makes writing those tests cleaner.

Bug: 677022
Change-Id: Ie6cc312f9d81de4d5f75925810b7ce88a61910a5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1667326
Reviewed-by: Yutaka Hirano <yhirano@chromium.org>
Reviewed-by: Kouhei Ueno <kouhei@chromium.org>
Commit-Queue: Dominic Farolino <dom@chromium.org>
Cr-Commit-Position: refs/heads/master@{#670809}

--

wpt-commits: 1dd0bc9ffd9b1433cb2aa1e20f972fd477c65ad4
wpt-pr: 17394
2019-07-24 13:30:28 +01:00
Jihwan Marc Kim b8fa6c9e69 Bug 1558818 [wpt PR 17293] - location.hash = '' should always result in an empty fragment, not no-fragment, a=testonly
Automatic update from web-platform-tests
location.hash = '' should always result in an empty fragment, not no-fragment

So far in |setHash|, old fragment identifier and new fragment identifier are
compared ignoring nullity.

When fragment has never been set, |old_fragment_identifier| is null.
In this situation, |location.hash = ''| is called,
|new_fragment_identifier| is not null empty value.
|EqualIgnoringNullity| treats these as the same, |setHash| does nothing.

So, this patch compare old and new fragment by == operator
not |EqualIgnoringNullity|.

Bug: 615300
Change-Id: Id509bc5066eeee83236ecb4ee816ecb90540a260
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1647298
Commit-Queue: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Cr-Commit-Position: refs/heads/master@{#670795}

--

wpt-commits: a3e67aed3509dc5255a029f913c5785be4e67aed
wpt-pr: 17293
2019-07-24 13:30:27 +01:00
Ella Ge f5533bb9fd Bug 1560891 [wpt PR 17402] - Reland "Automate pointerevent pointerlock tests", a=testonly
Automatic update from web-platform-tests
Reland "Automate pointerevent pointerlock tests"

This reverts commit c1e32fe0a44fc0eef45c526df9a730a9b91d312b.

Reason for revert: Reland

Original change's description:
> Revert "Automate pointerevent pointerlock tests"
>
> This reverts commit de87ca945cfee1a8cf2471e9fffc2597b143e20c.
>
> Reason for revert:
> external/wpt/pointerevents/pointerlock/pointerevent_movementxy.html fails on
> https://ci.chromium.org/p/chromium/builders/ci/WebKit%20Mac10.13%20%28retina%29/15841
>
> external/wpt/pointerevents/pointerlock/pointerevent_pointerlock_after_pointercapture.html
> * external/wpt/pointerevents/pointerlock/pointerevent_pointerlock_supercedes_capture.html cause memory leak
> https://ci.chromium.org/p/chromium/builders/ci/WebKit%20Linux%20Leak/934
>
> Original change's description:
> > Automate pointerevent pointerlock tests
> >
> > Move from gpubenchmarking automation to test driver
> >
> > Bug: 606367
> > Change-Id: I4fbb3c9fcdda698178c8463397af4d31d0ce5080
> > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1660796
> > Commit-Queue: Ella Ge <eirage@chromium.org>
> > Reviewed-by: Lan Wei <lanwei@chromium.org>
> > Cr-Commit-Position: refs/heads/master@{#670527}
>
> TBR=lanwei@chromium.org,nzolghadr@chromium.org,eirage@chromium.org
>
> Change-Id: Iaba73cad638554ec19c21fdf821e0cf796807d47
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Bug: 606367
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1667752
> Reviewed-by: Lan Wei <lanwei@chromium.org>
> Commit-Queue: Lan Wei <lanwei@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#670570}

TBR=lanwei@chromium.org,nzolghadr@chromium.org,eirage@chromium.org

Change-Id: Icb9ed5bf1d39def760aeecca898415f446ead3f1
Bug: 606367
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1668050
Reviewed-by: Ella Ge <eirage@chromium.org>
Commit-Queue: Ella Ge <eirage@chromium.org>
Cr-Commit-Position: refs/heads/master@{#670733}

--

wpt-commits: 98186075ea53e8bdef46d1d7a207fb9a73a68ee5
wpt-pr: 17402
2019-07-24 13:30:27 +01:00
Ian Kilpatrick 85c7faa169 Bug 1560890 [wpt PR 17391] - [LayoutNG] Fix inserting exclusion crash., a=testonly
Automatic update from web-platform-tests
[LayoutNG] Fix inserting exclusion crash.

When placing a new area into the closed area list there is almost
always an area at LayoutUnit::Min().

However if there was a float placed at LayoutUnit::Min() it is possible
to get into a state where this isn't the case.

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

--

wpt-commits: 9a183439c7fd1a22298c49a86be1e293d460ea75
wpt-pr: 17391
2019-07-24 13:30:26 +01:00
moz-wptsync-bot f11322abb1 Bug 1559005 [wpt PR 17304] - Update wpt metadata, a=testonly
wpt-pr: 17304
wpt-type: metadata
2019-07-24 13:30:25 +01:00
Jun Cai 44dd21587f Bug 1559005 [wpt PR 17304] - SMS API: Clean up SMS API mojom interface, a=testonly
Automatic update from web-platform-tests
SMS API: Clean up SMS API mojom interface

This CL cleans up the SMS API mojom interface based on the suggestions
on the following issue link. No behavioral changes for the SMS API
mojom interface.

Bug: 968584
Change-Id: Iba707dd9a94f75cb28b7409f930e75b0f6f2f792
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1654272
Commit-Queue: Jun Cai <juncai@chromium.org>
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Reviewed-by: Philip Jägenstedt <foolip@chromium.org>
Cr-Commit-Position: refs/heads/master@{#670694}

--

wpt-commits: 43ef8451989ca9be29d55ca88cb80a1ab90030a1
wpt-pr: 17304
2019-07-24 13:30:24 +01:00
Aleks Totic d4f1901d92 Bug 1560889 [wpt PR 17390] - [LayoutNG] Fix DCHECK(NeedsLayout) for inline oof fixed container., a=testonly
Automatic update from web-platform-tests
[LayoutNG] Fix DCHECK(NeedsLayout) for inline oof fixed container.

NGOutOfFlowLayoutDescendant.inline_container was not being set
correctly for an Element if:
- There is an OOF containing block between Element and
its Container(). This can only happens if Element is
position:fixed.

This caused Element not to be laid out after it got dirty (but
its containing block did not).

The fix is to set inline_container when Element's
NGOutOfFlowDesecendantCandidate gets propagated up the OOF
containing block chain.

For a while, I was afraid that this fundamentally broke
the concept of inline_container. I could not come up
with a counterexample that broke this fix.

Bug: 974760
Change-Id: Id16a0057f0aefe183c30c53244dd5c46108f093c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1666809
Commit-Queue: Aleks Totic <atotic@chromium.org>
Reviewed-by: Emil A Eklund <eae@chromium.org>
Reviewed-by: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#670634}

--

wpt-commits: b6343fc17a3035a0c2170f44fb63df2356aa2cb9
wpt-pr: 17390
2019-07-24 13:30:23 +01:00
Christian Biesinger a41f088278 Bug 1560887 [wpt PR 17396] - [css-flexbox] Also skip non-flexbox items with percentages, a=testonly
Automatic update from web-platform-tests
[css-flexbox] Also skip non-flexbox items with percentages

The same percentage issue happens with regular blocks. See the
linked bug and associated testcase.

R=dgrogan@chromium.org, eae@chromium.org

Bug: 973924
Change-Id: I588353f0dcce4a446c08a8aa0f186c9ec2ee8949
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1667684
Commit-Queue: Christian Biesinger <cbiesinger@chromium.org>
Auto-Submit: Christian Biesinger <cbiesinger@chromium.org>
Reviewed-by: David Grogan <dgrogan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#670606}

--

wpt-commits: 6515e798b30a5d3053bec1faae2f8c366fdbcba9
wpt-pr: 17396
2019-07-24 13:30:23 +01:00
jugglinmike e6a9bf6b3e Bug 1557575 [wpt PR 17221] - [css-ui] Test serialization: `-webkit-appearance`, a=testonly
Automatic update from web-platform-tests
[css-ui] Test serialization: `-webkit-appearance` (#17221)

* [css-ui] Test serialization: `-webkit-appearance`

* fixup! [css-ui] Test serialization: `-webkit-appearance`

Change API used to set style in order to actually test the internals
referenced by the test title.

* fixup! [css-ui] Test serialization: `-webkit-appearance`

Introduce tests for property reference

* fixup! [css-ui] Test serialization: `-webkit-appearance`

Remove duplicate assertion

* fixup! [css-ui] Test serialization: `-webkit-appearance`

Comprehensive tests for property references have been added since these
tests were written. Remove the excess assertions in order to improve the
focus of these tests.

* fixup! [css-ui] Test serialization: `-webkit-appearance`

Add equivalent tests for unprefixed `appearance` property

* fixup! [css-ui] Test serialization: `-webkit-appearance`

--

wpt-commits: 79787d6d6eff255fbe6efdbe386e92363d2b6303
wpt-pr: 17221
2019-07-24 13:30:22 +01:00
Luke Bjerring 39ddeb8a4f Bug 1560885 [wpt PR 17399] - Mark a couple of manual payment-handler tests as manual, a=testonly
Automatic update from web-platform-tests
Mark a couple manual tests as manual (#17399)

--

wpt-commits: 94db8cdda0057d06028c18603e9d10edb14a6f21
wpt-pr: 17399


--HG--
rename : testing/web-platform/tests/payment-handler/change-payment-method.https.html => testing/web-platform/tests/payment-handler/change-payment-method-manual.https.html
rename : testing/web-platform/tests/payment-handler/payment-request-event.https.html => testing/web-platform/tests/payment-handler/payment-request-event-manual.https.html
2019-07-24 13:30:21 +01:00
Mason Freed ae6aa504b8 Bug 1560884 [wpt PR 17366] - Adding a test for backdrop filter plus mask, a=testonly
Automatic update from web-platform-tests
Adding a test for backdrop filter plus mask

This tests a backdrop filter element that also contains a (non-border
rect) mask or clip. It currently fails.

Bug: 974857
Change-Id: Ied65cc96deb2d02634b62d8743bff02588c94411
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1662499
Commit-Queue: Chris Harrelson <chrishtr@chromium.org>
Reviewed-by: Chris Harrelson <chrishtr@chromium.org>
Auto-Submit: Mason Freed <masonfreed@chromium.org>
Cr-Commit-Position: refs/heads/master@{#670587}

--

wpt-commits: 1ace0eaddd369c7063e0a34ac91a2f361020b5bf
wpt-pr: 17366
2019-07-24 13:30:20 +01:00
Lan Wei 9e238b6e74 Bug 1560883 [wpt PR 17398] - Revert "Automate pointerevent pointerlock tests", a=testonly
Automatic update from web-platform-tests
Revert "Automate pointerevent pointerlock tests"

This reverts commit de87ca945cfee1a8cf2471e9fffc2597b143e20c.

Reason for revert:
external/wpt/pointerevents/pointerlock/pointerevent_movementxy.html fails on
https://ci.chromium.org/p/chromium/builders/ci/WebKit%20Mac10.13%20%28retina%29/15841

external/wpt/pointerevents/pointerlock/pointerevent_pointerlock_after_pointercapture.html
* external/wpt/pointerevents/pointerlock/pointerevent_pointerlock_supercedes_capture.html cause memory leak
https://ci.chromium.org/p/chromium/builders/ci/WebKit%20Linux%20Leak/934

Original change's description:
> Automate pointerevent pointerlock tests
>
> Move from gpubenchmarking automation to test driver
>
> Bug: 606367
> Change-Id: I4fbb3c9fcdda698178c8463397af4d31d0ce5080
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1660796
> Commit-Queue: Ella Ge <eirage@chromium.org>
> Reviewed-by: Lan Wei <lanwei@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#670527}

TBR=lanwei@chromium.org,nzolghadr@chromium.org,eirage@chromium.org

Change-Id: Iaba73cad638554ec19c21fdf821e0cf796807d47
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 606367
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1667752
Reviewed-by: Lan Wei <lanwei@chromium.org>
Commit-Queue: Lan Wei <lanwei@chromium.org>
Cr-Commit-Position: refs/heads/master@{#670570}

--

wpt-commits: 811ffa45050ddad215a9cd815857153a35ea6d35
wpt-pr: 17398
2019-07-24 13:30:19 +01:00
Danyao Wang 262fad7d07 Bug 1560882 [wpt PR 17389] - Fix timeout in rejects_if_not_active.https.html, a=testonly
Automatic update from web-platform-tests
Return show promise instead of the resolved value of show promise (#17389)

--

wpt-commits: e0cfe65d6e5338f501dfe0494e6ce2cc666ee978
wpt-pr: 17389
2019-07-24 13:30:18 +01:00
Ella Ge 42bbe3306c Bug 1560881 [wpt PR 17359] - Automate pointerevent pointerlock tests, a=testonly
Automatic update from web-platform-tests
Automate pointerevent pointerlock tests

Move from gpubenchmarking automation to test driver

Bug: 606367
Change-Id: I4fbb3c9fcdda698178c8463397af4d31d0ce5080
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1660796
Commit-Queue: Ella Ge <eirage@chromium.org>
Reviewed-by: Lan Wei <lanwei@chromium.org>
Cr-Commit-Position: refs/heads/master@{#670527}

--

wpt-commits: c9ce315893d07645acb3901d60f323f3b7d179c5
wpt-pr: 17359
2019-07-24 13:30:18 +01:00
Hiroki Nakagawa c087bf4402 Bug 1559287 [wpt PR 17333] - Worker: Add service worker interception tests for shared workers, a=testonly
Automatic update from web-platform-tests
Worker: Add service worker interception tests for shared workers

One test case for shared workers is failing because it's not allowed to create a
dedicated worker on a shared worker.

Bug: n/a
Change-Id: I4f7139adacdccb0f16d7afedd7eaab065c4bea2c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1657855
Commit-Queue: Hiroki Nakagawa <nhiroki@chromium.org>
Reviewed-by: Matt Falkenhagen <falken@chromium.org>
Cr-Commit-Position: refs/heads/master@{#669615}

--

wpt-commits: 3671eb9b321c60898a79c76d20a97807925ebe1e
wpt-pr: 17333
2019-07-24 13:30:17 +01:00
Daniel Vogelheim 8a9997c508 Bug 1560880 [wpt PR 17382] - [Trusted Types] Add xlink:href trusted type checks to SMIL elements., a=testonly
Automatic update from web-platform-tests
[Trusted Types] Add xlink:href trusted type checks to SMIL elements.

Follow-on to crrev.com/c/1634880

Bug: 933300
Change-Id: I8a6e458484db818bec49ec1b4307962b4cc6e288
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1664710
Commit-Queue: Daniel Vogelheim <vogelheim@chromium.org>
Reviewed-by: Fredrik Söderquist <fs@opera.com>
Cr-Commit-Position: refs/heads/master@{#670437}

--

wpt-commits: e368b7db5c0a02fb6a8cb984b34bdc9016b3bf07
wpt-pr: 17382
2019-07-24 13:30:16 +01:00
Jack Steinberg 99eb349595 Bug 1556471 [wpt PR 17146] - Initial implementation of std-toast, a=testonly
Automatic update from web-platform-tests
Initial implementation of std-toast

Intent to Implement: https://groups.google.com/a/chromium.org/forum/?utm_source=digest&utm_medium=email#!topic/blink-dev/Gl7FIKM5IFw

BUG=972945

Follow-ups will align with std-switch in elements and de-duplicate the .eslintrc.js files between toast and kv-storage.

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

--

wpt-commits: 17de974a80b0d9a6ff48dc24796441057afad5a0
wpt-pr: 17146
2019-07-24 13:30:15 +01:00
Tom McKee 4b03795d44 Bug 1556860 [wpt PR 17176] - Removing initial Element Timing implicit registration heuristic., a=testonly
Automatic update from web-platform-tests
Removing initial Element Timing implicit registration heuristic.

The Element Timing specification originally included a provision for reporting
timings of elements that were automatically detected as 'important'. This would
allow useful information from the Element Timing API to be reported through the
Performance Timeline even if site authors neglected to mark their important
elements with the 'elementtiming' attribute.

The automatic detection of 'important' elements is, necessarily, a heuristic
and, until consensus for the correct heuristic had been reached, we were
treating any image that occupied greater than %15 of the viewport as
'automatically important'. As the Element Timing specification is still being
refined, the exact threshold and heuristic is still being investigated. Until
agreement on an appropriate heuristic is reached, implicit registration will be
disabled.

This CL removes our %15 threshold and disables implicit registration. There was
also WPT coverage to test that all browsers would respect the %15 threshold so
that test is being removed too.

Change-Id: I14847533402f5a68bb3de63a8f9acbd004c5a8e4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1643379
Reviewed-by: Chris Harrelson <chrishtr@chromium.org>
Reviewed-by: Nicolás Peña Moreno <npm@chromium.org>
Commit-Queue: Tom McKee <tommckee@chromium.org>
Cr-Commit-Position: refs/heads/master@{#670319}

--

wpt-commits: f76b2e5e2b1dd5d73cf2351c57a303d4a67eb729
wpt-pr: 17176
2019-07-24 13:30:15 +01:00
jugglinmike 5d92050ccc Bug 1560878 [wpt PR 17368] - [docs] Improve GitHub introduction, a=testonly
Automatic update from web-platform-tests
[docs] Improve GitHub introduction (#17368)

- define the term "upstream"
- simplify sentence structure
- remove references to W3C
- remove platform-specific ("cd") or otherwise unfamiliar ("diff", "ui",
  "repo") terminology
- improve formatting
- reduce use of passive voice
--

wpt-commits: b6c9dcc49399713645c3b956289accc4f76a0792
wpt-pr: 17368
2019-07-24 13:30:14 +01:00
jugglinmike fb873ac91f Bug 1546993 [wpt PR 16478] - [html] Add test for history traversal, a=testonly
Automatic update from web-platform-tests
[html] Add test for history traversal (#16478)

* [html] Add test for history traversal

* fixup! [html] Add test for history traversal

* fixup! [html] Add test for history traversal

--

wpt-commits: 7d8eefc2e4793df438d1f120737078c0bb67979e
wpt-pr: 16478
2019-07-24 13:30:13 +01:00
jugglinmike f1927335a2 Bug 1560875 [wpt PR 16436] - [IndexedDB] Promote test isolation, a=testonly
Automatic update from web-platform-tests
[IndexedDB] Promote test isolation (#16436)

* [IndexedDB] Promote test isolation

Use distinct database names for each test so that failure to clean up
from one test does not influence the result of another.

* fixup! [IndexedDB] Promote test isolation

--

wpt-commits: 23776c16a2db7b8df7374ec7c1e97a0cec003280
wpt-pr: 16436
2019-07-24 13:30:12 +01:00
jugglinmike 43ac5f410f Bug 1560874 [wpt PR 16415] - [cookie-store] Promote stability in test results, a=testonly
Automatic update from web-platform-tests
[cookie-store] Promote stability in test results (#16415)

* [cookie-store] Promote stability in test results

Allow service worker activation to proceed in the absence of the API
under test. This prevents the workers in failing implementations from
entering the "redundant" state, which can interfere with the harness's
ability to detect all tests.

* fixup! [cookie-store] Promote stability in test results

* fixup! [cookie-store] Promote stability in test results

--

wpt-commits: 199b5fa5c003e348490000bc8147e0f2bb3fbaf0
wpt-pr: 16415
2019-07-24 13:30:12 +01:00
jugglinmike d998c4e17d Bug 1532667 [wpt PR 15631] - [csp] Wait for all tests to be defined, a=testonly
Automatic update from web-platform-tests
[csp] Wait for all tests to be defined (#15631)

Configure the test harness to delay completion until all
asynchronously-defined tests are available.
--

wpt-commits: 159c7c2f98576d2288c12aee86264356cbaa1be1
wpt-pr: 15631
2019-07-24 13:30:11 +01:00
Brandon Maslen 71c63c5c1a Bug 1557189 [wpt PR 17200] - Prevent leaking Sec-CH-/Sec-Fetch- Request Headers on HTTPS Downgrade Redirects., a=testonly
Automatic update from web-platform-tests
Prevent leaking Sec-CH-/Sec-Fetch- Request Headers on HTTPS Downgrade Redirects.

Currently various Sec-CH- and Sec-Fetch- request headers are added through the codebase and correctly check if the request target url is trustworthy. If the destination is not trustworthy then the headers are not added. However in the event a request redirects from a trustworthy to non-trustworthy destination, such as https => http, there may be pre-existing headers present. Since these headers would not have been added to the non-trustworthy request we need to remove these extra headers from the request.

This change adds a helper call to the UrlLoader class in the network service to remove any request headers prefixed with "sec-ch-" or "sec-fetch-" when a downgrade redirect is detected. In addition to this unit test cases for the helper and end to end WPT cases have been added to validate the scenario and prevent future regressions.

Bug: 964053
Change-Id: I109c3ec1b3a05f6341c3c4adbd1a8da1274fd0d6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1647354
Commit-Queue: Brandon Maslen <brandm@microsoft.com>
Reviewed-by: Matt Menke <mmenke@chromium.org>
Reviewed-by: Mike West <mkwst@chromium.org>
Cr-Commit-Position: refs/heads/master@{#667415}

--

wpt-commits: 376e2a8250c3824b794ec518ab320d8a82cedf95
wpt-pr: 17200
2019-07-24 13:30:10 +01:00
Morten Stenshorne 1fd6c220fb Bug 1560872 [wpt PR 17381] - [LayoutNG] Skip "replaced % resolution" quirk on ortho-roots., a=testonly
Automatic update from web-platform-tests
[LayoutNG] Skip "replaced % resolution" quirk on ortho-roots.

This is about an undocumented quirk. I raised
https://github.com/whatwg/quirks/issues/46 for it.

LayoutNG currently cannot handle this situation, because we don't store
the inline-size to use in replaced percentage resolution (only the
block-size). However, I find it hard to believe that there'd be any
specific expectations to how this is supposed to work if a table cell
has a definite block-size, and a descendant establishes an orthogonal
writing-mode root. So just ignore it and use regular percentage size
resolution in these cases.

Bug: 967069
Change-Id: Iac61abe80f4f949017cc161855b2223ec4503812
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1664075
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Reviewed-by: Christian Biesinger <cbiesinger@chromium.org>
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/master@{#670126}

--

wpt-commits: 361912dbe4ef692ea256b6f5bc0d74c0668ccdf5
wpt-pr: 17381
2019-07-24 13:30:09 +01:00
Daniel Vogelheim 7cb926ec66 Bug 1556384 [wpt PR 17135] - [Trusted Types] Handle Trusted Types in xlink:href for SVG elements., a=testonly
Automatic update from web-platform-tests
[Trusted Types] Handle Trusted Types in xlink:href for SVG elements.

Bug: 933300
Change-Id: I58e72faa9f5cdbd0390c84842cc5d5641d0b7d21
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1634880
Reviewed-by: Fredrik Söderquist <fs@opera.com>
Commit-Queue: Daniel Vogelheim <vogelheim@chromium.org>
Cr-Commit-Position: refs/heads/master@{#670100}

--

wpt-commits: f64ccd6f3956e0d593393a4868838c9489928882
wpt-pr: 17135
2019-07-24 13:30:08 +01:00
Olga Gerchikov 1e09e91f64 Bug 1555429 [wpt PR 16755] - Integrating ScrollTimeline with main thread WebAnimations., a=testonly
Automatic update from web-platform-tests
Integrating ScrollTimeline with main thread WebAnimations.

Changes made:
- ScrollTimeline interface is enabled under its own ScrollTimeline flag.
- Animation class now has member variable timeline_ of type AnimationTimeline instead of
  DocumentTimeline.
- Document and scroll linked animations are now attached to their document global document
  timeline. TODO: reconsider this approach.

Bug: 916117
Change-Id: I5f0c3d22fdb0c9b9763f5a2400c2e3d5af32e896
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1597286
Commit-Queue: Olga Gerchikov <gerchiko@microsoft.com>
Reviewed-by: Kevin Ellis <kevers@chromium.org>
Reviewed-by: Emil A Eklund <eae@chromium.org>
Reviewed-by: Andrey Kosyakov <caseq@chromium.org>
Reviewed-by: Stephen McGruer <smcgruer@chromium.org>
Reviewed-by: Majid Valipour <majidvp@chromium.org>
Cr-Commit-Position: refs/heads/master@{#670086}

--

wpt-commits: 31373e2726073d95b05e09ed112efac950b562b5
wpt-pr: 16755
2019-07-24 13:30:07 +01:00
Dave Tapuska 752fb61dad Bug 1559250 [wpt PR 17326] - CSP handling of 'self' inside sandbox iframe was incorrect., a=testonly
Automatic update from web-platform-tests
CSP handling of 'self' inside sandbox iframe was incorrect.

The correct handling of 'self' depended on the timing of when the
ExecutionContext's sandbox flags were applied. If a CSP policy for 'self'
was applied after the origin was derived to be opaque it would fail.

BUG=973991

Change-Id: Ie6f384b02aa3dea3ce48c3052f06b7bd8fb2d3ea
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1658764
Commit-Queue: Dave Tapuska <dtapuska@chromium.org>
Reviewed-by: Mike West <mkwst@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Cr-Commit-Position: refs/heads/master@{#670074}

--

wpt-commits: b50766de4c9059ed41559315e0f12d602c8c9d59
wpt-pr: 17326
2019-07-24 13:30:07 +01:00
Philip Jägenstedt 6798071789 Bug 1560870 [wpt PR 17379] - [Azure Pipelines] Use more verbose TBPL logging for full runs, a=testonly
Automatic update from web-platform-tests
[Azure Pipelines] Use more verbose TBPL logging for full runs (#17379)

This is to help diagnose problems if they occur, such as this failure
to run all of the tests:
https://github.com/web-platform-tests/wpt/pull/17219#issuecomment-501272482
--

wpt-commits: 3857b199e7ee7867550b268df05664e2ef055600
wpt-pr: 17379
2019-07-24 13:30:06 +01:00
jugglinmike 3782a7def9 Bug 1559241 [wpt PR 17325] - [serve] Gracefully shut down on SIGTERM, a=testonly
Automatic update from web-platform-tests
[serve] Gracefully shut down on SIGTERM (#17325)

--

wpt-commits: 2fdf0cbae4b8292b7edee9fb08d3d877bfe75e1d
wpt-pr: 17325
2019-07-24 13:30:05 +01:00
Rakina Zata Amni 5bcc6a116e Bug 1560869 [wpt PR 17377] - Add CEReactions and CustomElementCallbacks to toggleAttribute, a=testonly
Automatic update from web-platform-tests
Add CEReactions and CustomElementCallbacks to toggleAttribute

Previously the IDL definition for toggleAttribute doesn't have
those modifiers, so they behave differently than setAttribute when
called on custom elements (it won't fire attributeChangedCallback, etc)
Bug: 976177

Change-Id: I7d8107db8d07a2e2ec856305c56a178339c5e05c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1663881
Commit-Queue: Rakina Zata Amni <rakina@chromium.org>
Commit-Queue: Kent Tamura <tkent@chromium.org>
Reviewed-by: Kent Tamura <tkent@chromium.org>
Auto-Submit: Rakina Zata Amni <rakina@chromium.org>
Cr-Commit-Position: refs/heads/master@{#670060}

--

wpt-commits: f6881fbb28940a254944e62b994b282b176bb030
wpt-pr: 17377
2019-07-24 13:30:04 +01:00
Koji Ishii ee110ae3eb Bug 1560867 [wpt PR 17375] - [LayoutNG] Fix |Reset()| to reset unpositioned list marker, a=testonly
Automatic update from web-platform-tests
[LayoutNG] Fix |Reset()| to reset unpositioned list marker

This patch fixes |NGLineBoxFragmentBuilder::Reset()| to reset
unpositioned list marker.

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

--

wpt-commits: 41df32dcf0ab90f62fff00b3af2a81fc5018edd6
wpt-pr: 17375
2019-07-24 13:30:03 +01:00
autofoolip 3b505b402b Bug 1560864 [wpt PR 17374] - Update interfaces/webxr.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/webxr.idl (#17374)

Source: https://github.com/tidoust/reffy-reports/blob/2bd98c3/whatwg/idl/webxr.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/547080935
--

wpt-commits: 887d08e63a19b14acf3217df77f12c121a792fed
wpt-pr: 17374
2019-07-24 13:30:03 +01:00
Koji Ishii 6536ed3263 Bug 1560862 [wpt PR 17373] - [LayoutNG] Fix NeedsLayout failure when CR/FF is dirty, a=testonly
Automatic update from web-platform-tests
[LayoutNG] Fix NeedsLayout failure when CR/FF is dirty

This patch fixes |ClearNeedsLayout| for CR (U+000D) and FF
(U+000C). These were overlooked when |ClearNeedsLayout| was
moved from |NGInlineItemsBuilder| to |NGLineBreaker| and
|NGInlineLayoutAlgorithm|.

Bug: 971811
Change-Id: Ie3d9d3d11e35a7ed3458bb8b96d2fa68bf9c37a9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1663478
Reviewed-by: Xiaocheng Hu <xiaochengh@chromium.org>
Commit-Queue: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#670010}

--

wpt-commits: 95372aa3ca35565b56fc6d9d5e0653a4fff8a6e8
wpt-pr: 17373
2019-07-24 13:30:02 +01:00
Kouhei Ueno 75fbf734bf Bug 1558685 [wpt PR 17279] - [ES6 modules] Fix crash when dynamic import from an inactive browsing context, a=testonly
Automatic update from web-platform-tests
[ES6 modules] Fix crash when dynamic import from an inactive browsing context

Bug: 972960, 961674
Change-Id: Iff5c464dcc5227f211462f0e1b70c938fab452c2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1654370
Commit-Queue: Kouhei Ueno <kouhei@chromium.org>
Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org>
Reviewed-by: Yuki Shiino <yukishiino@chromium.org>
Cr-Commit-Position: refs/heads/master@{#669989}

--

wpt-commits: 61c3d0684043fa5e60a5b6cffc6426bd18405f4c
wpt-pr: 17279
2019-07-24 13:30:01 +01:00
Koji Ishii 17b559c9a2 Bug 1560860 [wpt PR 17357] - [LayoutNG] Fix DCHECK failure for table cell width quirk, a=testonly
Automatic update from web-platform-tests
[LayoutNG] Fix DCHECK failure for table cell width quirk

This patch fixes a DCHECK failure when table cell width
calculation quirk logic[1] found an out-of-flow image.

The logic was in |BreakLine| because it may need to change
|can_break_after| of the last item. By calling
|HandleAtomicInline| in trailing item phase, the logic can
be moved to |HandleAtomicInline|.

With this change, |HandleAtomicInline| may choose to break
before the item, similar to |HandleText|.

[1] https://quirks.spec.whatwg.org/#the-table-cell-width-calculation-quirk

Bug: 968317
Change-Id: Ib4a71ca62107d2601449ba589bb2771b378ab38b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1660296
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Reviewed-by: Emil A Eklund <eae@chromium.org>
Commit-Queue: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#669968}

--

wpt-commits: 2b29767a9f53e3a7a142b6c4cf72407dfe88506d
wpt-pr: 17357
2019-07-24 13:30:00 +01:00
Ian Kilpatrick 76a9c95a98 Bug 1560859 [wpt PR 17367] - [LayoutNG] Fix "body fills html" quirks., a=testonly
Automatic update from web-platform-tests
[LayoutNG] Fix "body fills html" quirks.

We had a few issues related to quirky body elements. We were
stretching the body when it was OOF-positioned, float, or an atomic
inline when we weren't supposed to.

Bug: 967215
Change-Id: I640b1a2f6c2ab30d071e04c245a34dd1e30b19fd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1662839
Reviewed-by: Christian Biesinger <cbiesinger@chromium.org>
Reviewed-by: Aleks Totic <atotic@chromium.org>
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#669954}

--

wpt-commits: 90c18764adad351a28069adbfade18d6dd4949e7
wpt-pr: 17367
2019-07-24 13:29:59 +01:00
Mike Pennisi 621ba54d9d Bug 1560858 [wpt PR 17365] - [docs] Build (but do not deploy) for pull requests, a=testonly
Automatic update from web-platform-tests
[docs] Build (but do not deploy) for pull requests

Although the documentation website should not be rebuilt in response to
pull requests, refusing to simply build the site may potentially hide
errors during the review process.

Update the documentation generation script to build the site as part of
the pull request, provided a relevant file has been modified. With this
applied, if the patch under review regresses the script, the contributor
and reviewers are immediately notified.

--

wpt-commits: 4be1e7e7b78712303076819ef8a6b3f055ebbb3c
wpt-pr: 17365
2019-07-24 13:29:59 +01:00
Aleks Totic ecb7117cfd Bug 1560856 [wpt PR 17350] - [LayoutNG] Fix for OOF position in simplified layout, a=testonly
Automatic update from web-platform-tests
[LayoutNG] Fix for OOF position in simplified layout

Bug: 970166
Change-Id: Ib85e5b819e5870c1867e6c753d9a250ea4e4a548
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1660205
Commit-Queue: Aleks Totic <atotic@chromium.org>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#669842}

--

wpt-commits: eb662aa07a1e2394169ca26fa6f1376a076c7d55
wpt-pr: 17350
2019-07-24 13:29:58 +01:00
Robert Ma 9317f8411d Bug 1560854 [wpt PR 17362] - Link to testdriver docs from the main docs site, a=testonly
Automatic update from web-platform-tests
Link to testdriver docs from the main docs site (#17362)

* Link to testdriver docs from the main docs site

`testdriver.md` and `testdriver-tutorial.md` aren't correctly indexed anywhere
because of https://github.com/bocoup/wpt-docs/issues/1 .

This PR manually adds them to the ToC in "Writing Tests" as per user requests.

* fixup! sorted

--

wpt-commits: da3b6e4dfafe250800c490cee949b2b405364ecd
wpt-pr: 17362
2019-07-24 13:29:57 +01:00
Ayu Ishii e61177d872 Bug 1555065 [wpt PR 17049] - [sms] Move SMS Receiver API to Navigator, a=testonly
Automatic update from web-platform-tests
[sms] Move SMS Receiver API to Navigator

This change moves the SMSReceiver API under navigator.
Details on its usage can be found here[1]. Implementation
of the AbortController will come in a following CL.

[1] https://github.com/samuelgoto/sms-receiver#sms-receiver-api-1

Bug: 960546
Change-Id: Iba9882db05e0d153d6f37e1481d6237738542949
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1626018
Reviewed-by: Kentaro Hara <haraken@chromium.org>
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Commit-Queue: Ayu Ishii <ayui@chromium.org>
Cr-Commit-Position: refs/heads/master@{#669779}

--

wpt-commits: 94bff4ec536738245d29502e40516a6509db5c74
wpt-pr: 17049
2019-07-24 13:29:56 +01:00
Nicolás Peña Moreno 7c2593fc4d Bug 1559262 [wpt PR 17328] - [ElementTiming] Add intersectionRect for text entries, a=testonly
Automatic update from web-platform-tests
[ElementTiming] Add intersectionRect for text entries

This CL adds support for intersectionRect for PerformanceElementTiming
entries referring to text elements. The rect is different from the one
used by Largest Contentful Paint because it does not get projected to
the top-level frame, as that is not acceptable from security/privacy
perspective. However the rect is only computed when needed.

Bug: 942033, 969174
Change-Id: I1f09288b17a73c84daf8cc55996b78e44739a042
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1658630
Reviewed-by: Chris Harrelson <chrishtr@chromium.org>
Reviewed-by: Liquan (Max) Gu <maxlg@chromium.org>
Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#669777}

--

wpt-commits: ca62107b234fb0aa8d6044e47c915be3fe42981f
wpt-pr: 17328
2019-07-24 13:29:56 +01:00
jugglinmike 1ff484a278 Bug 1557540 [wpt PR 17218] - [cssom] Add test disallowing non-standard feature, a=testonly
Automatic update from web-platform-tests
[cssom] Add test disallowing non-standard feature

--

wpt-commits: 1cd7ddb3c21fbbeadb4b6485a8a24e19aa880de7
wpt-pr: 17218
2019-07-24 13:29:55 +01:00
Koji Ishii 43e762d755 Bug 1560851 [wpt PR 17356] - [LayoutNG] Fix negative margins on inline boxes, a=testonly
Automatic update from web-platform-tests
[LayoutNG] Fix negative margins on inline boxes

This patch fixes computing size of inline boxes that have
negative inline margins.

It looks like we didn't have enough test coverage when
`NGFragmentGeometry` was introduced.

Bug: 971622
Change-Id: Icd0f5300ef76a873ec25b8d96756884da954d184
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1662249
Reviewed-by: Aleks Totic <atotic@chromium.org>
Commit-Queue: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#669699}

--

wpt-commits: c81dc02d6b1b4a5a5925d6cb27f16af7b897cb59
wpt-pr: 17356
2019-07-24 13:29:54 +01:00
Cathie Chen f124aa1f03 Bug 1560849 [wpt PR 17352] - [LayoutNG] Fixed crash issue list-style-type change, a=testonly
Automatic update from web-platform-tests
[LayoutNG] Fixed crash issue list-style-type change

The crash reason is that the NGInlineItem is obsolete after change
list-style-type. This patch added ListStyleTypeChanged to make sure
marker is fully updated and re_CollectInlines for marker.

Bug: 966750
Change-Id: I8c51bc90d31344fb36627fe29608b2b576d85228
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1660399
Commit-Queue: cathie chen <cathiechen@igalia.com>
Reviewed-by: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#669613}

--

wpt-commits: dbaf4c77b6bf7ffc8d030a40f98045e8832ba4de
wpt-pr: 17352
2019-07-24 13:29:53 +01:00
Philip Jägenstedt 582c5c89a9 Bug 1558782 [wpt PR 17289] - Revert "Ignore lint failures until we import a rev with them fixed", a=testonly
Automatic update from web-platform-tests
Revert "Ignore lint failures until we import a rev with them fixed" (#17289)

This reverts https://github.com/web-platform-tests/wpt/pull/13396.

These exact lines are also in the "Duplicate filename where there's no
actual merging" section of the file.

The change came from https://hg.mozilla.org/mozilla-central/rev/f23487d9ab99d486fe3ab7f261e4d4e0bf1172ae
where those lines were present, although they were present in WPT when
that change was upstreamed.
--

wpt-commits: 4a075835b37e1cdd90094e4766d4c9842fe64480
wpt-pr: 17289
2019-07-24 13:29:53 +01:00
Harald Alvestrand 4302703dee Bug 1555480 [wpt PR 17082] - Reland tests from "Change ICE connection state on transceiver changes", a=testonly
Automatic update from web-platform-tests
Reland tests from "Change ICE connection state on transceiver changes"

This reverts the rest of commit 2229f484784131f7c655c650b389cfd78fe3e739.

Reason for revert: Fixed the reason the test was flaky.

Original change's description:
> Revert "Change ICE connection state on transceiver changes"
>
> This reverts commit 0882bebe06b38aa5d4e155a5cebc11e7af08abd2.
>
> Reason for revert: Causing flaky failures of
> external/wpt/webrtc/RTCPeerConnection-iceConnectionState.https.html
> on Linux Tests and WebKit Linux Trusty Leak
>
> https://ci.chromium.org/p/chromium/builders/ci/Linux%20Tests/78387
> https://ci.chromium.org/p/chromium/builders/ci/WebKit%20Linux%20Trusty%20Leak/34892
>
> Original change's description:
> > Change ICE connection state on transceiver changes
> >
> > This ensures that if the PC iceConnectionState should change
> > because unused transports are discarded, the state is updated.
> >
> > Bug: chromium:966798
> >
> > Change-Id: I09d945f5e70eec813f33c3131fbe889825613652
> > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1632254
> > Reviewed-by: Henrik Boström <hbos@chromium.org>
> > Commit-Queue: Harald Alvestrand <hta@chromium.org>
> > Cr-Commit-Position: refs/heads/master@{#664206}
>
> TBR=hta@chromium.org,hbos@chromium.org
>
> Change-Id: I2cbae9f1327e7aacb7022d2a823ce1e954c91b62
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Bug: chromium:966798
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1635208
> Reviewed-by: Aaron Gable <agable@chromium.org>
> Commit-Queue: Aaron Gable <agable@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#664388}

Bug: chromium:966798
Change-Id: I2e9887bc62942393a2d39042da9bfc85bbd98c91
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1636049
Commit-Queue: Harald Alvestrand <hta@chromium.org>
Reviewed-by: Henrik Boström <hbos@chromium.org>
Cr-Commit-Position: refs/heads/master@{#668750}

--

wpt-commits: 8a474834dc86e8713b1f7e966d6d5aa8fd69c9a6
wpt-pr: 17082
2019-07-24 13:29:52 +01:00
Rob Buis f4ba144438 Bug 1560846 [wpt PR 17354] - Add tests for movablelimits, a=testonly
Automatic update from web-platform-tests
Add tests for movablelimits (#17354)

Tests taken from Webkit.
--

wpt-commits: 79cf5fb8d18ef01ba174de2ebf841f782f342095
wpt-pr: 17354
2019-07-24 13:29:51 +01:00
Philip Jägenstedt f5acca9a6d Bug 1559346 [wpt PR 17344] - Convert Long Tasks API idlharness test to use `idl_test`, a=testonly
Automatic update from web-platform-tests
Convert Long Tasks API idlharness test to use `idl_test` (#17344)

Because the setup function is allowed to fail, this makes the setup a
bit simpler.

This is to make it easier to add 'hr-time' as a dependency for
https://github.com/web-platform-tests/wpt/pull/17305.
--

wpt-commits: e5167a1ffdd432f1fadd721d63fd1cf42bd67e96
wpt-pr: 17344
2019-07-24 13:29:50 +01:00
Xiaocheng Hu d3bfcb7fde Bug 1560843 [wpt PR 17351] - Don't round hit test location in HitTestLocation::RectForPoint, a=testonly
Automatic update from web-platform-tests
Don't round hit test location in HitTestLocation::RectForPoint

HitTestLocation rounds the hit test location to the closest 1x1 rect
for no good reason, causing some confusing hit test results. Hence,
this patch removes such rounding.

Bug: 974314
Change-Id: I48266a7ec8bffbeb746085c5d8835d3f300dd4b1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1661297
Reviewed-by: Emil A Eklund <eae@chromium.org>
Reviewed-by: Philip Rogers <pdr@chromium.org>
Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#669579}

--

wpt-commits: 5689f6b102fa8055740ff66dfe6b8c3b9a808c08
wpt-pr: 17351
2019-07-24 13:29:50 +01:00
kaixinjxq ce28e56dac Bug 1559331 [wpt PR 17340] - Add web-nfc tests, a=testonly
Automatic update from web-platform-tests
Add web-nfc tests (#17340)

* Add web-nfc tests

- Add tests for NFCReadingEvent
- Modify the invalid serialNumber test of NFCReadingEvent

--

wpt-commits: 2e21093960e04b483ec2a26022691e7a9ba09430
wpt-pr: 17340
2019-07-24 13:29:47 +01:00
Rob Buis f5c4c79170 Bug 1560841 [wpt PR 17346] - Test mathsize attribute, a=testonly
Automatic update from web-platform-tests
Test mathsize attribute (#17346)

* Test mathsize attribute

--

wpt-commits: fc5cf5b4f416e285daaa211c85c52071af702b0a
wpt-pr: 17346
2019-07-24 13:29:47 +01:00
Leon Han 75a0fe028e Bug 1558411 [wpt PR 17263] - [webnfc] Introduce IDLs for NFCErrorEvent and NFCErrorEventInit., a=testonly
Automatic update from web-platform-tests
[webnfc] Introduce IDLs for NFCErrorEvent and NFCErrorEventInit.

This CL introduces IDLs for NFCErrorEvent and NFCErrorEventInit
interfaces, and updates the baseline of relevant wpt tests.
http://w3c.github.io/web-nfc/#dom-nfcerrorevent

The corresponding spec changes were introduced in
https://github.com/w3c/web-nfc/pull/184

BUG=520391

Change-Id: Ia8af8b49f53be7161b7e7b0f4e45f617c4991473
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1652968
Commit-Queue: Leon Han <leon.han@intel.com>
Reviewed-by: Leon Han <leon.han@intel.com>
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Reviewed-by: Rijubrata Bhaumik <rijubrata.bhaumik@intel.com>
Reviewed-by: Kentaro Hara <haraken@chromium.org>
Cr-Commit-Position: refs/heads/master@{#669482}

--

wpt-commits: 4100d1d51b885185c50902397f7d203d89efc24c
wpt-pr: 17263
2019-07-24 13:29:46 +01:00
Philip Jägenstedt 3a4cc91be3 Bug 1558435 [wpt PR 17265] - [Azure Pipelines] avoid parenthesis in job names, a=testonly
Automatic update from web-platform-tests
[Azure Pipelines] avoid parenthesis in job  names

The Azure Pipelines integration with GitHub Checks produces checks on
the form "$pipelineName ($jobName)", leading to check names like
"Azure Pipelines (tools/wptrunner/ unittests (macOS))". Use colons as
separator instead, like the existing "wpt.fyi hook" jobs.

Also change some step names for consistency.

--

wpt-commits: e75855649360298870a40ed78874bd4ab1470c20
wpt-pr: 17265
2019-07-24 13:29:45 +01:00
Rob Buis c8f49e7cff Bug 1559369 [wpt PR 17345] - Add more direction tests, a=testonly
Automatic update from web-platform-tests
Add more direction tests (#17345)

* Add more direction tests

Put these in a new directory.

* Make direction.html use testharness.js

--

wpt-commits: fdf8ff01960e031fe0381133f5a39e1b8e372454
wpt-pr: 17345
2019-07-24 13:29:45 +01:00
Daniel Vogelheim e522cc90e9 Bug 1557705 [wpt PR 17230] - [trusted types] Check text node insertions into <script> elements., a=testonly
Automatic update from web-platform-tests
[trusted types] Check text node insertions into <script> elements.

insertAdjacentText into <script> elements can be used to bypass
Trusted Types checks. This change fixed that hole by adding TT checks
to related Node API methods, and changing insertAdjacentText to use
the public methods.

See additional discussion on the root issue in
https://github.com/WICG/trusted-types/issues/133

Bug: 739170
Change-Id: Ie26b2aca2d60c7e14a0118c6fd957f32928afabf
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1547746
Reviewed-by: Mason Freed <masonfreed@chromium.org>
Commit-Queue: Daniel Vogelheim <vogelheim@chromium.org>
Cr-Commit-Position: refs/heads/master@{#669210}

--

wpt-commits: 90a794e8e93a5e22e7cb3b2f8c79d751989fa7b0
wpt-pr: 17230
2019-07-24 13:29:44 +01:00
autofoolip 3a30752654 Bug 1559300 [wpt PR 17338] - Update interfaces/webrtc.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/webrtc.idl

Source: https://github.com/tidoust/reffy-reports/blob/2756789/whatwg/idl/webrtc.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/545592907

--
Add WebIDL.idl as depedency for webrtc.idl

Needed for DOMException.

--

wpt-commits: 2725661c653cafbd9003c92fbd4824f6ef86a827, a4f1e633d7585bdc5dabf004a7f8f2c5247a632b
wpt-pr: 17338
2019-07-24 13:29:43 +01:00
autofoolip 3d97f420dd Bug 1558741 [wpt PR 17283] - Update interfaces/webxr.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/webxr.idl (#17283)

Source: https://github.com/tidoust/reffy-reports/blob/2756789/whatwg/idl/webxr.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/545592907
--

wpt-commits: 0e0b74f88ec050f1c49f5ae776038ec288570fbb
wpt-pr: 17283
2019-07-24 13:29:42 +01:00
autofoolip e0522dd134 Bug 1558740 [wpt PR 17282] - Update interfaces/geometry.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/geometry.idl (#17282)

Source: https://github.com/tidoust/reffy-reports/blob/404f2f7/whatwg/idl/geometry.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/544580979
--

wpt-commits: ce45701b913b206e93c06cf2be12c64f3d74963d
wpt-pr: 17282
2019-07-24 13:29:42 +01:00
autofoolip 11a7a49120 Bug 1559299 [wpt PR 17337] - Update interfaces/web-nfc.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/web-nfc.idl (#17337)

Source: https://github.com/tidoust/reffy-reports/blob/2756789/whatwg/idl/web-nfc.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/545592907
--

wpt-commits: 44943db7deaaa8f7d9dae2c60f5cf3037c7b7bf1
wpt-pr: 17337
2019-07-24 13:29:41 +01:00