Commit Graph

663754 Commits

Author SHA1 Message Date
Hiroshige Hayashizaki
1303f42057 Bug 1569076 [wpt PR 18097] - [WPT/common/security-features] Add formatter of spec.src.json, a=testonly
Automatic update from web-platform-tests
[WPT/common/security-features] Add formatter of spec.src.json

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

--

wpt-commits: faddbfa49ccd287afe9d0d6ddf44258351f2c5f4
wpt-pr: 18097
2019-08-05 14:49:56 +00:00
Hiroshige Hayashizaki
c186825589 Bug 1569069 [wpt PR 18096] - [WPT/mixed-content] Remove context_nesting, a=testonly
Automatic update from web-platform-tests
[WPT/mixed-content] Remove context_nesting

The values are always `top-level` and not used anywhere.

Bug: 906850
Change-Id: Ia89f9b65cac935d65287a702f61f292513ca6189
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1717487
Commit-Queue: Hiroshige Hayashizaki <hiroshige@chromium.org>
Reviewed-by: Kenichi Ishibashi <bashi@chromium.org>
Reviewed-by: Mike West <mkwst@chromium.org>
Cr-Commit-Position: refs/heads/master@{#681068}

--

wpt-commits: 7076cd5fced3e8823ca37fdcb44a795daea85089
wpt-pr: 18096
2019-08-05 14:49:55 +00:00
Hiroshige Hayashizaki
ddc416d023 Bug 1569067 [wpt PR 18095] - [WPT/referrer-policy] Rename referrer_policy to delivery_value, a=testonly
Automatic update from web-platform-tests
[WPT/referrer-policy] Rename referrer_policy to delivery_value

To use common structures and names in referrer-policy and
mixed-content tests, this CL

- Renames `referrer_policy` to `delivery_value`, and
- Moves it under `test_expansion`, because in mixed-content
  tests `delivery_value` can be different among multiple
  `test_expansion` entries under a single `specification` entry.

Accordingly, `referrer_policy_schema` is moved to
`test_expansion_schema`'s `delivery_value`, and
related checks in spec_validator are removed.

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

Bug: 906850
Change-Id: I28beb09ab2eb4c69ec598de415d81cd1c8f77765
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1717592
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@{#681076}

--

wpt-commits: bfc2f55ee13c6884059d9d5058a0ec02cf01f239
wpt-pr: 18095
2019-08-05 14:49:55 +00:00
Hiroshige Hayashizaki
54012906ef Bug 1569066 [wpt PR 18094] - [WPT/mixed-content] Tentatively rename source_scheme to source_protocol, a=testonly
Automatic update from web-platform-tests
[WPT/mixed-content] Tentatively rename source_scheme to source_protocol

To use common names in referrer-policy and
mixed-content tests.

The final goal is to rename all to `source_scheme` (which is done in
https://chromium-review.googlesource.com/c/chromium/src/+/1718991).
This CL renames first `source_scheme` to `source_protocol`,
just to avoid rebasing in a long chain of commits.

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

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

--

wpt-commits: bb133fdd5ace2f947f43dae92f6d6b278b445205
wpt-pr: 18094
2019-08-05 14:49:54 +00:00
Hiroshige Hayashizaki
a1ccc34f63 Bug 1569065 [wpt PR 18093] - [WPT/referrer-policy] Rename delivery_method to delivery_type, a=testonly
Automatic update from web-platform-tests
[WPT/referrer-policy] Rename delivery_method to delivery_type

To align spec.src.json with other parts of common/security-features/
such as common.js.

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

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

--

wpt-commits: 31c6b94c1b38c75a5e0a2cd93918c0e5009a89b1
wpt-pr: 18093
2019-08-05 14:49:54 +00:00
Hiroshige Hayashizaki
7477172602 Bug 1569062 [wpt PR 18092] - [WPT/mixed-content] Restructure opt_in_method into delivery_type/value, a=testonly
Automatic update from web-platform-tests
[WPT/mixed-content] Restructure opt_in_method into delivery_type/value

This CL rewrites `opt_in_method` so that both
mixed-content and referrer-policy tests uses
`delivery_type` and `delivery_value`.

Mapping:

| Before this CL    | After this CL                  |
| opt_in_method     | delivery_type | delivery_value |
+-------------------+---------------+----------------+
| "no-opt-in"       | "meta"        | null           |
| "meta-csp"        | "meta"        | "opt-in"       |
| "http-csp"        | "http-rp"     | "opt-in"       |
| "img-crossorigin" | Removed                        |

"img-crossorigin" was removed because it was not implemented.

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

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

--

wpt-commits: 47cc9ef82b9ba914f3cb17c4a08fcf3960441021
wpt-pr: 18092
2019-08-05 14:49:53 +00:00
Hiroshige Hayashizaki
0cbbb541ef Bug 1568732 [wpt PR 18067] - [WPT/referrer-policy] Rename referrer_url to expectation, a=testonly
Automatic update from web-platform-tests
[WPT/referrer-policy] Rename referrer_url to expectation

To use common names in referrer-policy and
mixed-content tests.

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

Bug: 906850
Change-Id: Icdb979d429f08a908a74f7f6012b4c0b7dc50c8c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1717319
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@{#681055}

--

wpt-commits: 0771c1fa77efba15a4022c21a70740d637c02b9d
wpt-pr: 18067
2019-08-05 14:49:53 +00:00
moz-wptsync-bot
8457acf27a Bug 1568562 [wpt PR 18048] - Update wpt metadata, a=testonly
wpt-pr: 18048
wpt-type: metadata
2019-08-05 14:49:52 +00:00
Vladimir Levin
7fb865c639 Bug 1568562 [wpt PR 18048] - [PE]: Improve the interest rect computation under perspective., a=testonly
Automatic update from web-platform-tests
[PE]: Improve the interest rect computation under perspective.

This patch tries to normalize some of the rects we deal with when
performing interest rect calculations. This is done by capping the
ranges of numbers that we may encounter, in order to produce more
stable results.

The upside of this is that we will paint more content that we would
otherwise erroneously assume to be not intersecting the viewport
(even after padding).

The downside of this is that we may paint more content that is properly
far off screen.

R=chrishtr@chromium.org

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

--

wpt-commits: b95e06f14f8094184be1db0f87d1dcc37325c664
wpt-pr: 18048
2019-08-05 14:49:52 +00:00
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