Commit Graph

663745 Commits

Author SHA1 Message Date
moz-wptsync-bot
6973e458e0 Bug 1568103 [wpt PR 17988] - Update wpt metadata, a=testonly
wpt-pr: 17988
wpt-type: metadata
2019-08-05 14:49:51 +00:00
Staphany Park
5373282c00 Bug 1568103 [wpt PR 17988] - Cookie Store API: Fix crashes on http://localhost., a=testonly
Automatic update from web-platform-tests
Cookie Store API: Fix crashes on http://localhost.

Issue #1:
The "SecureContext" IDL attribute considers localhost to be secure, but
the Cookie Store API assumed that it would only be exposed on
cryptographically secure origins, so a DCHECK caused attempts to
set/delete cookies on http://localhost to crash.

This CL replaces the DCHECK with an exception that is thrown on attempts
to set/delete secure cookies on cryptographically insecure origins.

Issue #2: The "secure" cookie attribute defaulted to true.
Setting/deleting a secure cookie on a cryptographically insecure origin
is prohibited. The cookieStore.delete() API excluded the option to set
the "secure" attribute, however, so there was no way to delete an
insecure cookie.

This CL defaults the "secure" attribute to true on cryptographically
secure origins, and false otherwise.

Bug: 956641
Change-Id: Iff7c22713e8604d60b68d42199a74b2d08235712
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1700357
Commit-Queue: Staphany Park <staphany@chromium.org>
Reviewed-by: Victor Costan <pwnall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#681054}

--

wpt-commits: 2e135c03ff73a7102011f4e610dc7890eb4332a1
wpt-pr: 17988
2019-08-05 14:49:51 +00:00
Hiroshige Hayashizaki
2084e98a19 Bug 1568733 [wpt PR 18068] - [WPT/common/security-features] Add delivery_key, a=testonly
Automatic update from web-platform-tests
[WPT/common/security-features] Add delivery_key

This CL adds `delivery_key` to spec.src.json down to
the JSON objects supplied to JavaScript test runners,
to distinguish referrer-policy and mixed-content tests
explicitly by data fields.

Generated files will be updated after some more changes, not now.

Bug: 906850
Change-Id: Iedae7830cbc41eb87ab884a88aa9e667cc54f6e7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1717109
Commit-Queue: Hiroshige Hayashizaki <hiroshige@chromium.org>
Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org>
Reviewed-by: Mike West <mkwst@chromium.org>
Cr-Commit-Position: refs/heads/master@{#681032}

--

wpt-commits: 2c422b2075e70226d9f531d684915798a33e8259
wpt-pr: 18068
2019-08-05 14:49:51 +00:00
Alex Cooper
534ebce902 Bug 1568669 [wpt PR 18058] - Move internal xr tests to wpt_internal/webxr, a=testonly
Automatic update from web-platform-tests
Move internal xr tests to wpt_internal/webxr

This allows the two sets of tests to run the same infrastructure, and
ensures that they will stay more closely in sync.  This also allows
for easier porting of the tests and more consistency in the tests.

Bug: 959476
Change-Id: I8eca0372a4091dd27702b099eb3836bfe9d6648d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1717328
Commit-Queue: Klaus Weidner <klausw@chromium.org>
Reviewed-by: Klaus Weidner <klausw@chromium.org>
Auto-Submit: Alexander Cooper <alcooper@chromium.org>
Cr-Commit-Position: refs/heads/master@{#681021}

--

wpt-commits: 7f168d2902db1dd889b314f597f38148ffcdc963
wpt-pr: 18058
2019-08-05 14:49:50 +00:00
moz-wptsync-bot
08c90d7ede Bug 1568271 [wpt PR 18006] - Update wpt metadata, a=testonly
wpt-pr: 18006
wpt-type: metadata
2019-08-05 14:49:50 +00:00
Luke Bjerring
728939e2ba Bug 1568271 [wpt PR 18006] - Include typedefs as idlharness dependencies, a=testonly
Automatic update from web-platform-tests
Include typedefs as idlharness dependencies (#18006)

* Include typedefs as dependencies

* Fix credential-management

* Add FileAPI dep to html/dom interfaces test

--

wpt-commits: bc908ac5428cd665341ff7c990fccfb95d3f07ef
wpt-pr: 18006
2019-08-05 14:49:49 +00:00
Nicolás Peña Moreno
ba2bcea094 Bug 1568578 [wpt PR 18049] - [ElementTiming] Add Element's elementTiming attribute getter, a=testonly
Automatic update from web-platform-tests
[ElementTiming] Add Element's elementTiming attribute getter

Relevant Intent to Ship:
https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/DXSoS7dMmok

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

--

wpt-commits: 74c79eb58391db63257b1ae9adddcd32395a1ab0
wpt-pr: 18049
2019-08-05 14:49:49 +00:00
moz-wptsync-bot
411ef7316b Bug 1568935 [wpt PR 18085] - Update wpt metadata, a=testonly
wpt-pr: 18085
wpt-type: metadata
2019-08-05 14:49:48 +00:00
Luke Bjerring
c71fa126bf Bug 1568935 [wpt PR 18085] - [idlharness.js] Handle callbacks in very basic manner, a=testonly
Automatic update from web-platform-tests
[idlharness.js] Handle callbacks in very basic manner (#18085)

* Handle callbacks in very basic manner

* Drop todo, keep new Document()

--

wpt-commits: 53f176da20d4a91bc59729472bf1a0ec1399073b
wpt-pr: 18085
2019-08-05 14:49:48 +00:00
Frédéric Wang
1f43ea0fb9 Bug 1568941 [wpt PR 18086] - MathML: Avoid more false negative results for fraction reftests, a=testonly
Automatic update from web-platform-tests
MathML: Avoid more false negative results for fraction reftests (#18086)

This also introduces improvements to MathMLFeatureDetection:
* Introduce has_mfrac().
* Split mathml source into several lines for better readability.
* Add reference links to core spec.
* Fix detection for lspace/rspace (measure the mrow container instead of mo).
* Add helper function to check a feature for match reftest and otherwise
  force failure by displaying a red square at the top left corner.
--

wpt-commits: f1e6032e71849ee5ed11b5794406dd9ebd4bcdf6
wpt-pr: 18086
2019-08-05 14:49:47 +00:00
moz-wptsync-bot
d8db6c2118 Bug 1568912 [wpt PR 18084] - Update wpt metadata, a=testonly
wpt-pr: 18084
wpt-type: metadata
2019-08-05 14:49:47 +00:00
Nicolás Peña Moreno
a27f43d31b Bug 1568912 [wpt PR 18084] - [ElementTiming] Add test for fixed identifier and id, a=testonly
Automatic update from web-platform-tests
[ElementTiming] Add test for fixed identifier and id

Test for https://github.com/WICG/element-timing/pull/22

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

--

wpt-commits: 8869ee386996408e5f2891720278c4b5ac425329
wpt-pr: 18084
2019-08-05 14:49:46 +00:00
Hiroshige Hayashizaki
8a9f335f0f Bug 1568734 [wpt PR 18069] - [WPT/common/security-features] Sort keys of test config JSONs, a=testonly
Automatic update from web-platform-tests
[WPT/common/security-features] Sort keys of test config JSONs

This CL
- Sorts they keys of test config JSONs.
- Fixes generator errors by removing stale imports.

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

--

wpt-commits: ed3a7bfab10ddbc105e747d6471660c2064fcc62
wpt-pr: 18069
2019-08-05 14:49:46 +00:00
Jack Steinberg
b026ffa95e Bug 1568011 [wpt PR 17981] - Enable persistent toasts by adding functionality for duration Infinity, a=testonly
Automatic update from web-platform-tests
Enable persistent toasts by adding functionality for duration Infinity

This change allows users to show() toasts that will persist indefinitely
by passing through duration: Infinity. The change also adds range boundaries
to duration, so the value must be greater than 0.

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

--

wpt-commits: 49dfd42d43a2927760e0fcc8cdb5b2626fafde67
wpt-pr: 17981
2019-08-05 14:49:46 +00:00
Jack Steinberg
5ed11be503 Bug 1567995 [wpt PR 17978] - Add type option to showToast helper, a=testonly
Automatic update from web-platform-tests
Add type option to showToast helper

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

--

wpt-commits: c5a8524b3c595cb8fe7a0f2eae424a7ff7e62618
wpt-pr: 17978
2019-08-05 14:49:45 +00:00
Olivier Yiptong
4100ac1ce1 Bug 1568700 [wpt PR 18062] - [Native File System] Remove Writable File Stream code, a=testonly
Automatic update from web-platform-tests
[Native File System] Remove Writable File Stream code

Removing Writable File Stream code for now until we decide what we want
to do as an API using Writable Streams.

As currently designed, the API does not take into account SafeBrowsing
and Quarantine checks.

Bug: 986865
Change-Id: Ib5bb922359cae1fb8267cd7123345bab6de78090
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1717590
Reviewed-by: Marijn Kruisselbrink <mek@chromium.org>
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Auto-Submit: Olivier Yiptong <oyiptong@chromium.org>
Commit-Queue: Olivier Yiptong <oyiptong@chromium.org>
Cr-Commit-Position: refs/heads/master@{#680866}

--

wpt-commits: f88d17122816b73fe02ea3da19021f08b67a6743
wpt-pr: 18062
2019-08-05 14:49:45 +00:00
moz-wptsync-bot
7974ba2af5 Bug 1568854 [wpt PR 18083] - Update wpt metadata, a=testonly
wpt-pr: 18083
wpt-type: metadata
2019-08-05 14:49:44 +00:00
Yoav Weiss
93184c55b2 Bug 1568854 [wpt PR 18083] - [LCP] non-trusted event does not stop the metric, a=testonly
Automatic update from web-platform-tests
[LCP] non-trusted event does not stop the metric (#18083)

* [LCP] non-trusted event does not stop the metric

* Changed test description

--

wpt-commits: f1e49a47d5c06e66f184dbbb028567f2a35f3e9b
wpt-pr: 18083
2019-08-05 14:49:44 +00:00
moz-wptsync-bot
0ecd96f400 Bug 1568560 [wpt PR 18047] - Update wpt metadata, a=testonly
wpt-pr: 18047
wpt-type: metadata
2019-08-05 14:49:43 +00:00
Daniel Vogelheim
2747b2af49 Bug 1568560 [wpt PR 18047] - [Trusted Types] Add "sample" value to SecurityPolicyViolation reports., a=testonly
Automatic update from web-platform-tests
[Trusted Types] Add "sample" value to SecurityPolicyViolation reports.

The reporting format is specified, but still subject to change.
The details are found in the "Integration with Content Security Policy"
chapter of the current Trusted Type spec.

https://wicg.github.io/trusted-types/dist/spec/#integration-with-content-security-policy

Bug: 739170
Change-Id: I4b85af4a6faf2387a24479a121b2c243ab83f350
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1715688
Commit-Queue: Daniel Vogelheim <vogelheim@chromium.org>
Reviewed-by: Mike West <mkwst@chromium.org>
Cr-Commit-Position: refs/heads/master@{#680847}

--

wpt-commits: ce6fd690a4ac1be7adeeb546a53dd134df931301
wpt-pr: 18047
2019-08-05 14:49:43 +00:00
moz-wptsync-bot
9bf12b8982 Bug 1568668 [wpt PR 18057] - Update wpt metadata, a=testonly
wpt-pr: 18057
wpt-type: metadata
2019-08-05 14:49:42 +00:00
Nicolás Peña Moreno
7d3e63eadc Bug 1568668 [wpt PR 18057] - ElementTiming and LCP: add fully active check, a=testonly
Automatic update from web-platform-tests
ElementTiming and LCP: add fully active check

The element attribute getter should only return the element when the
document is fully active. This check is done similar to other places
such as Fullscreen::RequestFullscreen. Tests are added.

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

--

wpt-commits: 56edb11ce6572c819c13b4e01340fa91ed426ef1
wpt-pr: 18057
2019-08-05 14:49:42 +00:00
moz-wptsync-bot
80f46fb727 Bug 1568525 [wpt PR 18039] - Update wpt metadata, a=testonly
wpt-pr: 18039
wpt-type: metadata
2019-08-05 14:49:41 +00:00
Rune Lillesveen
55c2a6a8f5 Bug 1568525 [wpt PR 18039] - Handle display:contents for viewport propagation., a=testonly
Automatic update from web-platform-tests
Handle display:contents for viewport propagation.

When documentElement/body does not generate a box, its background will
not propagate to the viewport (see [1]). This removes the need
for calling EnsureComputedStyle() on documentElement/body.

The CSSWG has also resolved that to be the case also for other
properties propagated to the viewport[2].

Some of the wpt tests for body propagation didn't actually have a body
element. Added.

[1] https://drafts.csswg.org/css-backgrounds/#special-backgrounds
[2] https://github.com/w3c/csswg-drafts/issues/3779#issuecomment-481762912

Bug: 987207

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

--

wpt-commits: d40f18ae072cab633cfb34fb883e12c87c1bc191
wpt-pr: 18039
2019-08-05 14:49:41 +00:00
moz-wptsync-bot
4f6bf2259e Bug 1568802 [wpt PR 18081] - Update wpt metadata, a=testonly
wpt-pr: 18081
wpt-type: metadata
2019-08-05 14:49:40 +00:00
Frédéric Wang
74613c514b Bug 1568802 [wpt PR 18081] - MathML: Add tests for embellished operators, a=testonly
Automatic update from web-platform-tests
MathML: Add tests for embellished operators (#18081)

See https://mathml-refresh.github.io/mathml-core/#embellished-operators
These tests assume that operator spacing is supported, so a feature detection
is added to prevent false negative results. This new detection is also used
for space-like tests which rely on the same assumption.

Minor tweak for mspace detection: compare `<mspace width="20px">` against
`<mspace>`, just in case the latter is nonzero in some browsers or tests.
--

wpt-commits: 7e9bfd839d6b19555d947447ae996f11ac86facc
wpt-pr: 18081
2019-08-05 14:49:40 +00:00
moz-wptsync-bot
3e81a51084 Bug 1568836 [wpt PR 18082] - Update wpt metadata, a=testonly
wpt-pr: 18082
wpt-type: metadata
2019-08-05 14:49:40 +00:00
Philip Jägenstedt
e2323935d3 Bug 1568836 [wpt PR 18082] - Add idlharness tests for Largest Contentful Paint, a=testonly
Automatic update from web-platform-tests
Add idlharness tests for Largest Contentful Paint (#18082)

* Add interfaces/largest-contentful-paint.idl

Source: https://github.com/tidoust/reffy-reports/blob/d3e2b3f/whatwg/idl/largest-contentful-paint.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/563471075

* Add a test using largest-contentful-paint.idl

--

wpt-commits: 0a0205d138142d938fda4fc575baff2c71a1b421
wpt-pr: 18082
2019-08-05 14:49:39 +00:00
moz-wptsync-bot
0bc258621b Bug 1568787 [wpt PR 18079] - Update wpt metadata, a=testonly
wpt-pr: 18079
wpt-type: metadata
2019-08-05 14:49:39 +00:00
autofoolip
22ebcfe753 Bug 1568787 [wpt PR 18079] - Update interfaces/web-share.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/web-share.idl (#18079)

Source: https://github.com/tidoust/reffy-reports/blob/52f31b9/whatwg/idl/web-share.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/563479802
--

wpt-commits: 2bc8b5480a32b28d3be92651b302285701f66ff1
wpt-pr: 18079
2019-08-05 14:49:38 +00:00
autofoolip
b043f3b836 Bug 1568790 [wpt PR 18078] - Update interfaces/user-timing.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/user-timing.idl (#18078)

Source: https://github.com/tidoust/reffy-reports/blob/52f31b9/whatwg/idl/user-timing.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/563479802
--

wpt-commits: 62fbd33530dcb40707f274cca54f27401bed1918
wpt-pr: 18078
2019-08-05 14:49:38 +00:00
autofoolip
513afda6c6 Bug 1568742 [wpt PR 18071] - Update interfaces/performance-timeline.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/performance-timeline.idl (#18071)

Source: https://github.com/tidoust/reffy-reports/blob/52f31b9/whatwg/idl/performance-timeline.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/563479802
--

wpt-commits: 5039d675e49a2422aa5ab7ff3db7eb65f23693b2
wpt-pr: 18071
2019-08-05 14:49:37 +00:00
Mike Pennisi
f9af2af702 Bug 1568815 [wpt PR 17651] - [ci] Disable terminal colors in Taskcluster, a=testonly
Automatic update from web-platform-tests
[ci] Disable terminal colors in Taskcluster

--

wpt-commits: 1d71e844de92839ca13d670657623d50c99dcdd5
wpt-pr: 17651
2019-08-05 14:49:37 +00:00
pyup-bot
672091bbfa Bug 1567795 [wpt PR 17965] - Update mypy to 0.720, a=testonly
Automatic update from web-platform-tests
Update mypy from 0.711 to 0.720
--

wpt-commits: 782882c6313a0241e248781a04af5214f5842b59
wpt-pr: 17965
2019-08-05 14:49:37 +00:00
moz-wptsync-bot
1d5c486e5c Bug 1567792 [wpt PR 17964] - Update flake8 to 3.7.8, a=testonly
Automatic update from web-platform-tests
Update flake8 to 3.7.8 (#17964)

--

wpt-commits: eb705a2c13e6bb75bcdb5fa11884d0b7fa7c81ad
wpt-pr: 17964
2019-08-05 14:49:36 +00:00
pyup-bot
4e09811111 Bug 1568800 [wpt PR 17627] - Update pillow to 6.1.0, a=testonly
Automatic update from web-platform-tests
Update pillow from 6.0.0 to 6.1.0
--

wpt-commits: 8ec3ef3c9009dca5576af412b4b855b0609acd95
wpt-pr: 17627
2019-08-05 14:49:36 +00:00
Henrik Boström
983e7d0138 Bug 1567547 [wpt PR 17939] - Implement RTCPeerConnection.restartIce() according to spec., a=testonly
Automatic update from web-platform-tests
Implement RTCPeerConnection.restartIce() according to spec.

This is part of "Perfect Negotiation" (https://crbug.com/980872).
Spec: https://w3c.github.io/webrtc-pc/#dom-rtcpeerconnection-restartice

Intent to Ship:
https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/OqPfCpC5RYU

The restartIce() makes the next createOffer() generate new ICE
credentials, as if {iceRestart:true} was passed in as options. It also
causes negotiationneeded. This is better than manually restarting ICE
because it survives rollbacks (when that is implemented) and
restartIce() can be called regardless of current signalingState.
Problems with {restartIce:true} is described here:
https://docs.google.com/presentation/d/1xcvf0udNeSH7s1FOY7RRqr1dEFvokZjn-MZPjwy3iXQ/edit#slide=id.g5c2f3df65b_11_574

Bug: chromium:980881
Change-Id: Iaeb32d39d3ec514f19eb95150c3df257bcb5c754
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1708139
Commit-Queue: Henrik Boström <hbos@chromium.org>
Reviewed-by: Philip Jägenstedt <foolip@chromium.org>
Reviewed-by: Guido Urdaneta <guidou@chromium.org>
Cr-Commit-Position: refs/heads/master@{#680800}

--

wpt-commits: 398506e656a7b1c24060f2d2135f6d2ec642e90c
wpt-pr: 17939
2019-08-05 14:49:35 +00:00
autofoolip
d7206aa048 Bug 1568780 [wpt PR 18076] - Update interfaces/element-timing.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/element-timing.idl (#18076)

Note: This file was recently manually updated in commit b6c413217d.
      This commit may revert some of those changes.

Source: https://github.com/tidoust/reffy-reports/blob/d3e2b3f/whatwg/idl/element-timing.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/563471075
--

wpt-commits: 8546e69edfb2600a50c183db7502fbc2815553a1
wpt-pr: 18076
2019-08-05 14:49:35 +00:00
Frédéric Wang
15e48cb829 Bug 1568670 [wpt PR 18059] - MathML: Prevent false negative results when mspace is not supported., a=testonly
Automatic update from web-platform-tests
MathML: Prevent false negative results when mspace is not supported. (#18059)

Many testharness tests rely on the <mspace> to draw boxes inside math formulas
and test MathML layout. When this element is not supported (e.g. lack of
MathML support) the boxes are basically empty and this leads to many false
negative results, especially because tests also allow some rounding errors.
More generally, for several tests it is assumed that some more basic
features are supported in order to perform their verifications.

This commit introduces a new MathMLFeatureDetection helper class to perform
such verifications and avoid false negatives results. One detection is added
for the <mspace> element and several presentation-markup tests relying on this
element are updated to perform this feature detection prior to runnig the
actual checks. This could be improved in the future, this is just fixing the
most serious issues.
--

wpt-commits: 6550e91cd39dde7597b780f2d643a1a131837012
wpt-pr: 18059
2019-08-05 14:49:34 +00:00
Boris Zbarsky
64a64ce96c Bug 1568688 [wpt PR 18060] - Fix document.all test to pass even when run directly in a browser., a=testonly
Automatic update from web-platform-tests
Fix document.all test to pass even when run directly in a browser.

The test has a <div id="log"> that comes _after_ the <script> that runs the
tests.   That means that when logging is enabled (e.g. loading the test
directly) testharness doesn't find the log container, since it hasn't been
parsed yet when the test runs.  It then creates a new <div id="log"> and
inserts it into the DOM, which changes the contents of document.all and the
test fails.  On the other hand, when running in a harness logging is typically
turned off so none of this happens.

The solution is to move the log container to before the test script and modify
the test expectations accordingly.  Then the test passes in both modes.

--

wpt-commits: ed3eaa5a9b5f104ffdd2c76ae51888df2e17e66c
wpt-pr: 18060
2019-08-05 14:49:34 +00:00
moz-wptsync-bot
69e57488f9 Bug 1568716 [wpt PR 18064] - Update wpt metadata, a=testonly
wpt-pr: 18064
wpt-type: metadata
2019-08-05 14:49:34 +00:00
Luke Bjerring
1c022b1b7b Bug 1568716 [wpt PR 18064] - Add idlharness test for element-timing, a=testonly
Automatic update from web-platform-tests
Add idlharness test for element-timing (#18064)

--

wpt-commits: b6c413217de9e91590fbac9868a5720e918d4d2e
wpt-pr: 18064
2019-08-05 14:49:33 +00:00
Stefan Zager
3f1c490741 Bug 1568719 [wpt PR 18065] - [IntersectionObserver] Fix for rtl clipped explicit root, a=testonly
Automatic update from web-platform-tests
[IntersectionObserver] Fix for rtl clipped explicit root

IntersectionGeometry::ClipToRoot uses MapToVisualRectInAncestorSpace
to map the intersection rect up to the coordinate system of the
root element's overflow rect. It then explicitly translates the
intersection rect to the root element's coordinate space and applies
the root element's clip (if any). This patch fixes the coordinate
space mapping for the case of a root element with overflow clip and a
non-zero scroll origin (e.g., direction:rtl or
flex-direction:row-reverse).

BUG=939614
R=chrishtr@chromium.org

Change-Id: I15dce9456e9791510bb331bf0cfbabd4cb04f9c0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1717688
Reviewed-by: Chris Harrelson <chrishtr@chromium.org>
Commit-Queue: Stefan Zager <szager@chromium.org>
Cr-Commit-Position: refs/heads/master@{#680761}

--

wpt-commits: 8aa5717cff0397f356dd494a4257fd94e60035b3
wpt-pr: 18065
2019-08-05 14:49:33 +00:00
Noel Gordon
1a8ef91b14 Bug 1568731 [wpt PR 18066] - Revert "Re-write test pointerevent_pointermove_in_pointerlock.html", a=testonly
Automatic update from web-platform-tests
Revert "Re-write test pointerevent_pointermove_in_pointerlock.html"

This reverts commit 9b7bafff73e59dc5d0cfcd0f499aa20be66bca54.

Reason for revert: Causing leak failures on WebKit Linux Leak bot

https://luci-milo.appspot.com/p/chromium/builders/ci/WebKit%20Linux%20Leak/2348

Original change's description:
> Re-write test pointerevent_pointermove_in_pointerlock.html
>
> The test was failing in wpt because it passing non-integer value to
> test driver. This CL changes it to use "origin" instead.
> This CL rewrites the test to makes it cleaner, instead of adding event
> listener inside event listener.
> This CL also changes the test to send the "move" events after receiving
> pointerlockchange.
>
> Bug: 986277
> Change-Id: I0f51523c3c90791339877b2e51afa8e9a4cc9d4d
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1717195
> Reviewed-by: Lan Wei <lanwei@chromium.org>
> Commit-Queue: Ella Ge <eirage@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#680563}

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

Change-Id: Ia53d1066363ceaf804f61ada369a4126c859f875
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 986277
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1716038
Reviewed-by: Noel Gordon <noel@chromium.org>
Commit-Queue: Noel Gordon <noel@chromium.org>
Cr-Commit-Position: refs/heads/master@{#680743}

--

wpt-commits: a285d1bbbc1921bc976aab1af4238a8e304ecbab
wpt-pr: 18066
2019-08-05 14:49:32 +00:00
Hiroshige Hayashizaki
aecbfffd96 Bug 1568659 [wpt PR 18054] - [WPT/common/security-features] Format some scripts using yapf, a=testonly
Automatic update from web-platform-tests
[WPT/common/security-features] Format some scripts using yapf

Purely mechanical.

Bug: 906850
Change-Id: I4a9ef0246359160abd4857d23ccbed9dd5503813
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1715755
Auto-Submit: Hiroshige Hayashizaki <hiroshige@chromium.org>
Reviewed-by: Kenichi Ishibashi <bashi@chromium.org>
Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org>
Commit-Queue: Hiroshige Hayashizaki <hiroshige@chromium.org>
Cr-Commit-Position: refs/heads/master@{#680742}

--

wpt-commits: f6ec1748fba142abce06c9fec8dc8f9eb48f6a4b
wpt-pr: 18054
2019-08-05 14:49:32 +00:00
moz-wptsync-bot
5e9fa6ec94 Bug 1568390 [wpt PR 18026] - Update wpt metadata, a=testonly
wpt-pr: 18026
wpt-type: metadata
2019-08-05 14:49:31 +00:00
Alex Cooper
b7bb4cde43 Bug 1568390 [wpt PR 18026] - Organize webxr internal and external tests, a=testonly
Automatic update from web-platform-tests
Organize webxr internal and external tests

Moves all remaining internal webxr tests that can be made external to
external/wpt/webxr.  For tests that were not moved a comment was added
explaining what is keeping the test internal. And a README was added to
also call out these requirements.

Most tests were ported as-is (with the exception of changing the scripts
that they include), but substantial updates were required to a couple
in order to better align with the spec:
xrWebGLLayer_constructor was modified to be more similar to the deleted
xrWebGLLayer_incompatible_device, since that also tested the constructor
just with a gl context that had not yet been made xrCompatible.  This
test is now more explicit about what it is doing.

render_state_vertical_fov_inline was cloned to an external version that
tests that setting a value below the min or above the max stays inside
the min and max range, but does not test the specific expected value,
since that is not required by the spec.  Chrome is keeping an internal
version of that test with it's chosen min/max.

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

--

wpt-commits: 453453af2e854b13228cab2da314cc2a4d1ffc86
wpt-pr: 18026
2019-08-05 14:49:31 +00:00
moz-wptsync-bot
4623ec983f Bug 1567660 [wpt PR 17951] - Update wpt metadata, a=testonly
wpt-pr: 17951
wpt-type: metadata
2019-08-05 14:49:30 +00:00
Joshua Bell
2b36b90dfa Bug 1567660 [wpt PR 17951] - Indexed DB: Migrate "Structured Clone" test to WPT, a=testonly
Automatic update from web-platform-tests
Indexed DB: Migrate "Structured Clone" test to WPT

Pros:
* Switch from js-test to testharness
* Cover a bunch more ECMAScript and Platform types
* Runs in Window and Worker contexts

* Decreases coverage for FileList interface
* Somewhat redundant with WPT's html/infrastructure/safe-passing-of-structured-data

Cons:
Change-Id: If80ce64a88caa9b3d0e409bdac5712ca795a1785
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1709787
Reviewed-by: Daniel Murphy <dmurph@chromium.org>
Commit-Queue: Daniel Murphy <dmurph@chromium.org>
Cr-Commit-Position: refs/heads/master@{#680653}

--

wpt-commits: d0691cc870b3ea1f5dc516f53817d2c3377aab9a
wpt-pr: 17951
2019-08-05 14:49:30 +00:00
Anders Hartvoll Ruud
c8cd4e2c40 Bug 1568493 [wpt PR 18032] - [css-properties-values-api] Reify specified values as CSSUnparsedValue, a=testonly
Automatic update from web-platform-tests
[css-properties-values-api] Reify specified values as CSSUnparsedValue

According to a recent spec change, the syntax of a registered custom
property must be ignored until computed-value time. This means that
we can unfortunately not reify specified values according to the
syntax; instead all custom properties reify as CSSUnparsedValue,
regardless of their registration status.

This means that we can remove large parts of the Typed OM code which
deals with PropertyRegistation for specified values and matching of
incoming CSSStyleValues against registered syntax.

The typedom.html test was also mostly re-written, as most of the things
it tested are now not relevant anymore, or at least no longer as
interesting as before. (The new reworked test basically verifies that
registered custom properties behave as unregistered for
attributeStyleMap and styleMap. For computedStyleMap, we should of
course still reify according to the syntax).

Bug: 641877

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

--

wpt-commits: 8c0c1caee779ea4ad0dee2484be0234d14f54b7b
wpt-pr: 18032
2019-08-05 14:49:30 +00:00