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
Automatic update from web-platform-tests
[css-contain] Fix baseline for elements with contain: layout
Layout containment elements are treated as having no baseline,
when that's applied to table cells, flex or grid items
that are baseline aligned that means that they should use
their synthesized baseline.
The patch adds simple check in LayoutBlockFlow::FirstLineBoxBaseline()
similar to what we have in other methods. If the element has
layout containment it has no baseline (it returns -1).
The same thing is done in LayoutNGMixin<Base>::FragmentBaseline()
for LayoutNG.
Two tests from the WPT suite has been modified in order to avoid
baseline alignment as they are not checking that feature
of layout containment but something else.
BUG=907709
TEST=external/wpt/css/css-contain/contain-layout-baseline-002.html
TEST=external/wpt/css/css-contain/contain-layout-baseline-003.html
TEST=external/wpt/css/css-contain/contain-layout-baseline-004.html
Change-Id: Id393787dd24bf3e34aaf73476e446fb9d0a4e593
Reviewed-on: https://chromium-review.googlesource.com/c/1348892
Commit-Queue: Manuel Rego <rego@igalia.com>
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Reviewed-by: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#610833}
--
wpt-commits: 3b78c96b77028a81550e43f3561c2c32d23358ab
wpt-pr: 14196
Automatic update from web-platform-tests
Fix CSSPreloadScanner to avoid missing rules (reland)
This fixes a couple of bugs with the CSSPReloadScanner that made it miss
rules in which the URL wasn't quoted or the rule didn't end with a
semicolon. It also adds tentative WPT tests for that functionality, as
the tests are also relevant for WebKit.
This is a reland of
https://chromium-review.googlesource.com/c/chromium/src/+/1331042
Bug: 903785
Change-Id: I401c252a42fbb96dee9c7942e0a4f8d5b6850244
TBR: kouhei
Reviewed-on: https://chromium-review.googlesource.com/c/1349980
Reviewed-by: Yoav Weiss <yoav@yoav.ws>
Commit-Queue: Yoav Weiss <yoav@yoav.ws>
Cr-Commit-Position: refs/heads/master@{#610796}
--
wpt-commits: f54784f108778b4d73d8806774521b30da7b4651
wpt-pr: 14230
Automatic update from web-platform-tests
Rename srcset/imgsizes link attributes to imagesrcset/imagesizes
This patch renames "srcset" and "imgsizes" attributes on link
to "imagesrcset" and "imagesizes" respectively, to match the latest
spec PR [1].
Note: this feature is behind experimental-web-platform-features flag.
[1] https://github.com/whatwg/html/pull/4048
Bug: 813452
Change-Id: I8eabfbd734e2f29e36b7f7a3c4a32f1237b042b1
Reviewed-on: https://chromium-review.googlesource.com/c/1350414
Reviewed-by: Kouhei Ueno <kouhei@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Commit-Queue: Kunihiko Sakamoto <ksakamoto@chromium.org>
Cr-Commit-Position: refs/heads/master@{#610782}
--
wpt-commits: a990dff8729c18279154f66650e83f01911216a4
wpt-pr: 14229
Automatic update from web-platform-tests
Signed Exchange: Disallow HEAD request method
As per the Loading Signed Exchanges spec [1], this patch makes
SignedExchangeEnvelope::Parse() fail if the exchange's request method is
not "GET".
[1] https://wicg.github.io/webpackage/loading.html#parse-cbor-headers
Bug: 803774
Change-Id: I4729403f3dae5038bae702b0359e1b98f9a11233
Reviewed-on: https://chromium-review.googlesource.com/c/1350017
Reviewed-by: Kouhei Ueno <kouhei@chromium.org>
Reviewed-by: Tsuyoshi Horo <horo@chromium.org>
Commit-Queue: Kunihiko Sakamoto <ksakamoto@chromium.org>
Cr-Commit-Position: refs/heads/master@{#610767}
--
wpt-commits: 4edb777ed3a216e6be6b8a7c13820a25340017dc
wpt-pr: 14226
Automatic update from web-platform-tests
Add CEReactions tests for HTMLButtonElement (#10137)
* Add CEReactions tests for HTMLButtonElement
- Verify attributes of HTMLButtonElement interface have CEReactions
- Adjust functions "testReflectAttribute" and "testReflectAttributeWithContentValues"
in the reactions.js to compatible customized built-in element
--
wpt-commits: 98103d8c3ecbcab364bc0dc86fa176ec673b56d8
wpt-pr: 10137
Automatic update from web-platform-tests
[FileAPI] Remove reference to non-existent file
The file `FileAPI/url/url-with-tags.window.js` is not currently present
in the repository nor was it present when the reference was introduced
[1]. Remove it to avoid triggering spurious request failures during test
execution.
[1] 9d8a1855092e90b2974453d6181c7f985170deba
--
fixup! [FileAPI] Remove reference to non-existent file
--
wpt-commits: e4ec373d7c9b04be6bb227ebc0f70ad9b0e49462, 73167bbb0a01ae0677ef62e2ec40c420ce8f6101
wpt-pr: 14132
Automatic update from web-platform-tests
Make the ReadableStream subclassing test match the others (#14235)
ReadableStream had a simple test that it was extendable. Replace it with
a more thorough test in the style of the tests that WritableStream and
TransformStream have.
--
wpt-commits: 22c24b810505aaf0b63223e093da7dbfec867a81
wpt-pr: 14235
Automatic update from web-platform-tests
Add test for "Allow delaying autoplay until video elements become visible (#12732)
--
wpt-commits: 0570493aa6334949ba3c67b86247ece5bbafbe56
wpt-pr: 12732
Automatic update from web-platform-tests
[selectors] :enabled and :disabled CSS selectors (#14200)
:enabled matches UI elements that are in an enabled state.
:disabled matches UI elements that are in a disabled state.
https://drafts.csswg.org/selectors-4/#enableddisabled
--
wpt-commits: 817ed89af07a457aee927a6b3b3434b49255faf7
wpt-pr: 14200
Automatic update from web-platform-tests
Revert "Move EventTiming tests to WPT"
This reverts commit a97f76cd07db5041ec7a3665e37c228b1e92f8a0.
Reason for revert:
Findit (https://goo.gl/kROfz5) identified CL at revision 610669 as the
culprit for flakes in the build cycles as shown on:
https://findit-for-me.appspot.com/waterfall/flake/flake-culprit?key=ag9zfmZpbmRpdC1mb3ItbWVyQwsSDEZsYWtlQ3VscHJpdCIxY2hyb21pdW0vYTk3Zjc2Y2QwN2RiNTA0MWVjN2EzNjY1ZTM3YzIyOGIxZTkyZjhhMAw
Sample Failed Build: https://ci.chromium.org/buildbot/chromium.linux/Linux%20Tests%20%28dbg%29%281%29/75936
Sample Failed Step: webkit_layout_tests
Sample Flaky Test: external/wpt/event-timing/event-timing-retrievability.html
Original change's description:
> Move EventTiming tests to WPT
>
> This CL moves the tests in http/tests/event-timing to external/wpt/event-timing.
> The slow image is change from php based to python based. The click is now
> handled by test driver. and setTimeout is replaced with step_timeout.
>
> Bug: 841224
> Change-Id: I035c087550a2d9a67cda1aed88553c16967d04b6
> Reviewed-on: https://chromium-review.googlesource.com/c/1349451
> Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
> Reviewed-by: Timothy Dresser <tdresser@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#610669}
Change-Id: Ia7d9f24fd9866fde7fed255b6b7554e44e4a39ff
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 841224, 908187
Reviewed-on: https://chromium-review.googlesource.com/c/1349500
Cr-Commit-Position: refs/heads/master@{#610689}
--
wpt-commits: 97fdb80e9b3bf9bb1d84c6cf9d312b527d92879c
wpt-pr: 14220
Automatic update from web-platform-tests
Move EventTiming tests to WPT
This CL moves the tests in http/tests/event-timing to external/wpt/event-timing.
The slow image is change from php based to python based. The click is now
handled by test driver. and setTimeout is replaced with step_timeout.
Bug: 841224
Change-Id: I035c087550a2d9a67cda1aed88553c16967d04b6
Reviewed-on: https://chromium-review.googlesource.com/c/1349451
Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
Reviewed-by: Timothy Dresser <tdresser@chromium.org>
Cr-Commit-Position: refs/heads/master@{#610669}
--
wpt-commits: 42061028f3951380908b400fb1b23a2d6e16bb22
wpt-pr: 14215
Automatic update from web-platform-tests
Align resource timing buffer full processing to spec PR 168
This change implements the processing model from PR 168[1], when
it comes to setResourceTimingBufferSize(), clearResourceTimings()
and the firing of the resourcetimingbufferfull event.
[1] https://github.com/w3c/resource-timing/pull/168
Change-Id: I3a57196f10e0b4cf2bae5662b0e075673a0c2d80
Reviewed-on: https://chromium-review.googlesource.com/c/1345269
Commit-Queue: Yoav Weiss <yoavweiss@chromium.org>
Commit-Queue: Yoav Weiss <yoav@yoav.ws>
Reviewed-by: Nicolás Peña Moreno <npm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#610667}
--
wpt-commits: 06720fac129ee8916f1a9309ebc0bfa134604bfe
wpt-pr: 14167