Automatic update from web-platform-tests
Add javascript navigations interop tests
https://github.com/w3c/webappsec-csp/issues/322 raises an interop issue
It appears the issue itself has been fixed since but I've added these
tests regardless to ensure there is no regression.
Bug: 694525
Change-Id: Icb5502e228b3a96c176cbe23d5b4ce9c5c8640ab
Reviewed-on: https://chromium-review.googlesource.com/c/1348054
Reviewed-by: Andy Paicu <andypaicu@chromium.org>
Reviewed-by: Mike West <mkwst@chromium.org>
Commit-Queue: Andy Paicu <andypaicu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#611643}
--
wpt-commits: a82d43808d79ecd0074a4623fd69e3a7bb16c188
wpt-pr: 14192
Automatic update from web-platform-tests
Added srcdoc iframe inheritance test
Added a test for behavior around srcdoc iframes CSP inheritance.
This tests the current specified behavior of always inheriting the
parent CSP for srcdoc iframes.
Bug: 694525
Change-Id: I049ef8c5a9e75c052dc2767ea2d523f54cca497f
Reviewed-on: https://chromium-review.googlesource.com/c/1350889
Reviewed-by: Mike West <mkwst@chromium.org>
Commit-Queue: Andy Paicu <andypaicu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#611638}
--
wpt-commits: ea0386308c52ade6f0c3f0ee6192cb201386e6d8
wpt-pr: 14233
Automatic update from web-platform-tests
[css] Switch part attribute to a DOMTokenList
Adds tests for manipulating it via the attribute.
Renames PartNames() to Part() to match with part(), the API wrapper.
This uses the same IDL as classList.
Bug: 805271
Change-Id: I9715df48478510029f5d985124e46111c41cffc3
Reviewed-on: https://chromium-review.googlesource.com/c/1333014
Commit-Queue: Fergal Daly <fergal@chromium.org>
Reviewed-by: Kent Tamura <tkent@chromium.org>
Reviewed-by: Hayato Ito <hayato@chromium.org>
Cr-Commit-Position: refs/heads/master@{#611570}
--
wpt-commits: 66710fe6fe1fccc5a4b096da62f3585452dd060c
wpt-pr: 14099
Automatic update from web-platform-tests
Test PaymentMethodData data member is converted in constructor (#14205)
--
wpt-commits: 15d978ae5c4edd49f1ca20f26bc6272e5c319ab6
wpt-pr: 14205
Automatic update from web-platform-tests
CSS: WPTs for Positioned Layout parsing
Test parsing and computed value for
https://drafts.csswg.org/css-position/
- bottom left right top
- position
- z-index
- inset-after inset-before inset-end inset-start (not currently implemented)
Change-Id: I586271fe584fadb19e5683a2781c32142fd9001a
Reviewed-on: https://chromium-review.googlesource.com/c/1350409
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Eric Willigers <ericwilligers@chromium.org>
Cr-Commit-Position: refs/heads/master@{#611349}
--
wpt-commits: 09972ca7bd566c05f4451b5dda4678e28850a563
wpt-pr: 14240
Automatic update from web-platform-tests
CSS: Serialize contain keywords in canonical order
Keywords size, layout, style, paint now serialize in that order
for the 'contain' property.
https://drafts.csswg.org/css-contain/#contain-property
Bug: 908353
Change-Id: Ifde635f2d313add887dd43a0a0d98249e45bff4b
Reviewed-on: https://chromium-review.googlesource.com/c/1350562
Commit-Queue: Eric Willigers <ericwilligers@chromium.org>
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/master@{#611270}
--
wpt-commits: 73507a79fcbaa6cae8b0373fd1133546d71a1678
wpt-pr: 14243
Automatic update from web-platform-tests
webrtc-wpt: use addTrack(track, stream) to increase firefox compat
Firefox does not support addTrack(track). Add a track whereever it makes sense.
The addTrack tests itself might rightfully use this.
The following grep shows most affected places:
git grep addTrack *.html | grep -v , | grep -v "\.\.\."
Bug: None
Change-Id: Ib225e6d51184c3ccc446ccf93447e2ac7be080c3
Reviewed-on: https://chromium-review.googlesource.com/c/1346394
Reviewed-by: Henrik Boström <hbos@chromium.org>
Commit-Queue: Philipp Hancke <philipp.hancke@googlemail.com>
Cr-Commit-Position: refs/heads/master@{#611262}
--
wpt-commits: 641ad0bf0df17b0f422642afa6019a594ef8d0e8
wpt-pr: 14170
Automatic update from web-platform-tests
CSS: WPTs for CSS Fragmentation parsing
Test parsing, serialiation and computed values for properties defined
in CSS Fragmentation Module Level 3
https://drafts.csswg.org/css-break/
Blink has expected failures for keywords relating to CSS Regions.
Change-Id: Ie5a930ba2d805c7bd45aa84c293bc8ff5922da98
Reviewed-on: https://chromium-review.googlesource.com/c/1351190
Commit-Queue: Emil A Eklund <eae@chromium.org>
Reviewed-by: Emil A Eklund <eae@chromium.org>
Cr-Commit-Position: refs/heads/master@{#611257}
--
wpt-commits: 0c4e091a927fad0091080926e02c8725add704b6
wpt-pr: 14241
Automatic update from web-platform-tests
[css-multicol] property parsing, computed values (#14259)
Test that CSS Multi-column Layout properties parse exactly the grammar
specified in the spec.
https://drafts.csswg.org/css-multicol/
Test that computed values are as specified, with lengths made absolute.
--
wpt-commits: fa234f78976ca7abea803fceb3eb53ad3a8603d2
wpt-pr: 14259
Automatic update from web-platform-tests
Align resource timing buffer full processing to spec PR 168 (reland)
This change implements the processing model from PR 168[1], when
it comes to setResourceTimingBufferSize(), clearResourceTimings()
and the firing of the resourcetimingbufferfull event.
This is a reland of
https://chromium-review.googlesource.com/c/chromium/src/+/1345269
(but with nicer tests).
[1] https://github.com/w3c/resource-timing/pull/168
Change-Id: I10431bfda7f79b484c7ee5c608bb8a360d905339
Bug: 908181, 908414
Reviewed-on: https://chromium-review.googlesource.com/c/1350950
Reviewed-by: Nicolás Peña Moreno <npm@chromium.org>
Commit-Queue: Yoav Weiss <yoavweiss@chromium.org>
Cr-Commit-Position: refs/heads/master@{#611174}
--
wpt-commits: cccb52680a601f4de432124092c808e91fad8a15
wpt-pr: 14234
Automatic update from web-platform-tests
ReadableStream: modify tests for pipeThrough() having a brand check (#14193)
Remove tests that ReadableStream.prototype.pipeThrough operates
generically on its arguments. Add tests that it performs brand checks on
|this|, |readable| and |writable|, and throws for other precondition
failures.
Also verify that it *doesn't* call pipeTo().
Also verify that preventClose, preventCancel and preventAbort work,
since we can no longer test that it passes through to pipeTo().
Also change the expected length of the function from 2 to 1 to reflect
that the options argument is optional.
Corresponding standard changes are at
https://github.com/whatwg/streams/pull/966.
--
wpt-commits: 4606e75ca8cd69830223f02e0fbd46fc160f431f
wpt-pr: 14193
Automatic update from web-platform-tests
Remove the timeout in async_test for webrtc and xhr tests
Some async_test tests in webrtc and xhr with timeout are missed during
removing all the timeout in async_test. As part of goal #11120, this tests
should be updated too.
--
Remove timeout in async_test for geolocation-API tests
This async_test was missed during removing all the timeout from async_test.
Add `<meta name=timeout content=long>` in the html head could probably fix
this.
Related: #14118
--
Update xhr/abort-during-upload.htm
Remove `document.title` default argument from `async_test` as `document.title` is effectively already used
in testharness.js
Co-Authored-By: qiuzhong <zhongx.qiu@intel.com>
--
wpt-commits: 6f0cf0d3b631abdccdefbff113b657dc222ef2c2, e1683f99f7d17ee272e4eed2e49a3e0933c80276, cb9387b32cc99b0154eddd51bc55a014946edc2f
wpt-pr: 14227
Automatic update from web-platform-tests
Rewrite `async_test(document.title)` to just `async_test()` (#14232)
If no test name is given, `document.title` is effectively already used
in testharness.js:
0ddb319131/resources/testharness.js (L3218-L3224)
--
wpt-commits: 3573ce8c3157628989bc2657dc4c9646198ba5ea
wpt-pr: 14232
Automatic update from web-platform-tests
Revert "Inherit the navigation initiator when navigating instead of the parent/opener"
This reverts commit 108147dfd1ea159fd3632ef92ccc4ab8952980c7.
Reason for revert:
FindIt suggests a 74% chance that this is the cause of the following issues:
https://ci.chromium.org/buildbot/chromium.webkit/WebKit%20Linux%20Trusty%20Leak/26833
Original change's description:
> Inherit the navigation initiator when navigating instead of the parent/opener
>
> Spec PR: https://github.com/w3c/webappsec-csp/pull/358
>
> Bug: 905301, 894228, 836148
> Change-Id: I43ada2266d42d1cd56dbe3c6dd89d115e878a83a
> Reviewed-on: https://chromium-review.googlesource.com/c/1314633
> Commit-Queue: Andy Paicu <andypaicu@chromium.org>
> Reviewed-by: Mike West <mkwst@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#610850}
TBR=mkwst@chromium.org,andypaicu@chromium.org
Change-Id: If3ccf72cf8a4285926429f2855f32c1b0c606c5b
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 905301, 894228, 836148
Reviewed-on: https://chromium-review.googlesource.com/c/1351285
Reviewed-by: Mounir Lamouri <mlamouri@chromium.org>
Commit-Queue: Mounir Lamouri <mlamouri@chromium.org>
Cr-Commit-Position: refs/heads/master@{#610930}
--
wpt-commits: 681b7a2bad0235ee25ca7b8be843da515348ad2b
wpt-pr: 14247
--HG--
rename : testing/web-platform/tests/content-security-policy/inheritance/blob-url-in-main-window-self-navigate-inherits.sub.html => testing/web-platform/tests/content-security-policy/inheritance/blob-url-self-navigate-inherits.sub.html
Automatic update from web-platform-tests
Modify the web platform tests with mouse inputs to use TestDriver
Since we have implemented test_driver Actions API, we will replace
chrome.gpuBenchmarking.pointerActionSequence with this Actions API in
all the tests. This CL will just replace the web platform tests with
mouse inputs.
Bug: 893480
Change-Id: Ie4eb7f4b8aaf23b2664182c5b8e814c7113dcf9a
Reviewed-on: https://chromium-review.googlesource.com/c/1296823
Commit-Queue: Lan Wei <lanwei@chromium.org>
Reviewed-by: Navid Zolghadr <nzolghadr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#610898}
--
wpt-commits: 54aa4d1e272558eaa65eaaa094c038fa4702331f
wpt-pr: 14059
Automatic update from web-platform-tests
Fix some minor feature policy parsing issues
This CL makes the following changes to the feature policy parsing code:
1- ParsedFeaturePolicyDeclaration holds a sorted vector of unique
|origins|.
2- AllowList uses std::set instead of std::vector.
3- When parsing for list of origins, in case of matching all origins
(*), the current set of origins is cleared.
4- When comparing ParsedFeaturePolicyDeclaration, if both
declarations include '*' then the set of origins are not compared.
The noticeable outcome of the CL is that parsed policy will ignore
repeated origins and will be sorted. This would make the feature lookup
algorithm more efficient.
Bug: 710324
Change-Id: I5c67ee2d6cff891304781bea0998e07739006a2e
Reviewed-on: https://chromium-review.googlesource.com/c/1161753
Reviewed-by: Jeremy Roman <jbroman@chromium.org>
Reviewed-by: Alex Moshchuk <alexmos@chromium.org>
Reviewed-by: Ian Clelland <iclelland@chromium.org>
Commit-Queue: Ehsan Karamad <ekaramad@chromium.org>
Cr-Commit-Position: refs/heads/master@{#610887}
--
wpt-commits: e6c06e195cb0c9170dbd67c1aec2091fa2c687b4
wpt-pr: 12344