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
Automatic update from web-platform-tests
Set default for manifest_update flag appropriately.
--
wpt-commits: 81607985fc9485cbf9f3d0a8ae74359f885eb36b
wpt-pr: 14217
Automatic update from web-platform-tests
Media Capabilities: switch MediaCapabilitiesInfo to a dictionary.
This required to create a custom callback class as CallbackPromiseAdapter
does not work well with dictionaries.
This is also updating the media-capabilities.idl file in WPT, based on:
https://raw.githubusercontent.com/tidoust/reffy-reports/master/whatwg/idl/media-capabilities.idl
Bug: 907704
Change-Id: I13bb3c43a7461398f7866f033527bd3ce1bed140
Reviewed-on: https://chromium-review.googlesource.com/c/1347001
Commit-Queue: Mounir Lamouri <mlamouri@chromium.org>
Reviewed-by: Philip Jägenstedt <foolip@chromium.org>
Cr-Commit-Position: refs/heads/master@{#610655}
--
wpt-commits: c7a5c87e5c315051c40c6769952214f5c819df93
wpt-pr: 14181
Automatic update from web-platform-tests
Fix two fullscreen wpt tests for UAv2.
Also marks one currently untestable test.
Bug: 906791
Change-Id: I17fd03f16e93244be80f9572db8c43e8e0b95678
Reviewed-on: https://chromium-review.googlesource.com/c/1347092
Commit-Queue: Mustaq Ahmed <mustaq@chromium.org>
Reviewed-by: Philip Jägenstedt <foolip@chromium.org>
Cr-Commit-Position: refs/heads/master@{#610651}
--
wpt-commits: 1700cffc1ede02465c9aca38d06cbad9d634a920
wpt-pr: 14194
Automatic update from web-platform-testsRename "safari_webdriver" to "safari", get rid of "safari" (#14213)
--
wpt-commits: f13770f6053eb26328adf487c7f80431da5c4509
wpt-pr: 14213
Automatic update from web-platform-testsDocument the source email for assignment (#14214)
--
wpt-commits: ad865c2f6bd3ce9ab1333eb78df445cd4c805f36
wpt-pr: 14214
Automatic update from web-platform-testsRemove timeout in async_test for miscellaneous tests (#14094)
Remove all the timeout in `async_test` for miscellaneous tests
except html, IndexedDB, websockets, mediacapture-streams and cookies.
--
wpt-commits: 565cc2b9a470fdf83c703033d7beb3140aa3a6ce
wpt-pr: 14094
Automatic update from web-platform-testsRevert "Find manifest for download by tags instead of commits"
Possible but unlikely cause of https://github.com/web-platform-tests/wpt/issues/14207.
This reverts commit 3657828ff4243fcc2f3b3fa4e7bed34d646ad565.
--
wpt-commits: 5438f72ea0bc2abb3754b2b906a34d497bd8457c
wpt-pr: 14208
Automatic update from web-platform-testsFetch: expect empty string as default instead of OK
Follow-up to 99e9e996267ccd5c1344b7d0164c5e5763b3b174.
--
wpt-commits: bf2bef64b0056d8641ba1caf65315fa28221add9
wpt-pr: 14204
Automatic update from web-platform-testsRemove timeout in async_test for html tests (#14087)
After remove the timeout parameter from async_test, the first parameter
`undefined` is no use and should be removed.
--
wpt-commits: 1f92ddd1228e19c9524f27d04fac413ae77d1ea3
wpt-pr: 14087
Automatic update from web-platform-testsAdd tests for no active script in import() (#14157)
Follows https://github.com/whatwg/html/pull/4181.
--
wpt-commits: 5241a3fe2c638f9fadcc040f39f3e6a71a2be2e1
wpt-pr: 14157
Automatic update from web-platform-testsFind manifest for download by tags instead of commits
This makes it possible to use `./wpt manifest` on a checkout that is
more than 50 commits behind master. The downside is that it will require
more network requests if the most recent tag/tags don't have releases
uploaded.
Add more warnings to make it clearer why it goes wrong when it does.
--
wpt-commits: 3657828ff4243fcc2f3b3fa4e7bed34d646ad565
wpt-pr: 14025
Automatic update from web-platform-testsAutomate one fullscreen test using `test_driver.bless` (#14072)
Part of https://github.com/web-platform-tests/wpt/issues/7281.
--
wpt-commits: 39e6009b920f632e6c2fee6cd3d96418d677d04f
wpt-pr: 14072
Automatic update from web-platform-testsFix Feature Policy report output
This brings the feature policy report format in line with the spec,
and fixes the tests which were broken by WPT import.
Bug: 907232
Change-Id: If9d9469956221c18a1aa72ee39debb1340efc01f
Reviewed-on: https://chromium-review.googlesource.com/c/1338167
Commit-Queue: Ian Clelland <iclelland@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Cr-Commit-Position: refs/heads/master@{#610427}
--
wpt-commits: 1832abd9419a532881abe413ef20e717ee8d2a3e
wpt-pr: 14154
Automatic update from web-platform-tests[streams] Refactor to multi-global test format (#14172)
* Rename streams tests to .any.js
* Use metadata to import resources in streams tests
* Run streams tests in all scopes
* Delete old test wrappers
* Delete old test wrapper generator
* Replace setTimeout with step_timeout
* Use t.step_timeout in tests
* Remove obsolete done calls
--
wpt-commits: a89730a0f3638d709ccc42064c8f8eb8935b04f7
wpt-pr: 14172
Automatic update from web-platform-testsAdd a list of BackgroundFetchRecord objects to BackgroundFetchRegistration.
When we allow access to active background fetches, BackgroundFetchRecords for
the fetch can be accessed from multiple places. It simplifies matters if
we return the same record for a request whenever it's accessed.
This CL adds a (private) list of BackgroundFetchRecords to the
BackgroundFetchRegistration object, and updates it every time match and
matchAll() are called.
The second change introduced here is to not immediately resolve
responseReady() if the fetch is active and a response for the request
isn't yet available. Once the fetch has completed, or there's a response
available for the request, we resolve pending promises. We also make sure to
return the same promise (resolved or unresolved) for a given record,
every time responseReady is called.
For a more detailed discussion, see the following doc:
https://docs.google.com/document/d/1CrbWrnnshhyp_SfiAeuODpnQX36GK3Bsi19rXQGez6Q/edit?usp=sharing
Bug: 875201
Change-Id: I8cb386efd19086c0993ad2be2fb2691ad90597ec
Reviewed-on: https://chromium-review.googlesource.com/c/1336151
Commit-Queue: Mugdha Lakhani <nator@chromium.org>
Reviewed-by: Rayan Kanso <rayankans@chromium.org>
Reviewed-by: Peter Beverloo <peter@chromium.org>
Cr-Commit-Position: refs/heads/master@{#610410}
--
wpt-commits: 12720fdc8914deec3e7cc627036a26217cc1e908
wpt-pr: 14060
Automatic update from web-platform-testsMake ReadableStream extendable
IDL defined ReadableStream was not extendable because it didn't use
provided |info.Holder()| as its wrapper. Instead, it creates a new
wrapper in Create functions.
This CL solves the issue by making the constructor "custom". The custom
constructor creates a blink::ReadableStream first, then associates it
to the wrapper, and then calls the appropriate Init function.
Bug: 906476
Change-Id: I91a7fec1cf4ee5e08704a944b0af852584d1679e
Reviewed-on: https://chromium-review.googlesource.com/c/1347643
Commit-Queue: Yutaka Hirano <yhirano@chromium.org>
Reviewed-by: Yuki Shiino <yukishiino@chromium.org>
Reviewed-by: Adam Rice <ricea@chromium.org>
Cr-Commit-Position: refs/heads/master@{#610391}
--
wpt-commits: a51c2df43ad4491d9a778f0f93e83b596fe47c2b
wpt-pr: 14185
Automatic update from web-platform-testsExpose all constants on SVGFEBlendElement
Per:
https://drafts.fxtf.org/filter-effects/#InterfaceSVGFEBlendElement
All other browsers expose these already.
Bug: 906612
Change-Id: I4be6185d4832d980a5d7c6518dcb0b2ccca2ce82
Reviewed-on: https://chromium-review.googlesource.com/c/1341846
Reviewed-by: Philip Jägenstedt <foolip@chromium.org>
Commit-Queue: Philip Jägenstedt <foolip@chromium.org>
Cr-Commit-Position: refs/heads/master@{#610379}
--
wpt-commits: 21705cd7f9e2319c8e0bdb7f315f4217707fbe76
wpt-pr: 14148
Automatic update from web-platform-testsWPT: service worker: canvas tainting with two images from the same URL
This adds a test that does the following:
- Writes to a canvas with a cors same-origin image
- Writes to a canvas with a cors cross-origin image from the same URL
- Tests that the canvas is tainted after the second step.
Bug: 907047
Change-Id: Ie231b442eb9b55c642b3957c065555e6f4997a83
Reviewed-on: https://chromium-review.googlesource.com/c/1347952
Commit-Queue: Matt Falkenhagen <falken@chromium.org>
Reviewed-by: Makoto Shimazu <shimazu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#610356}
--
wpt-commits: d65f24c346dff3b5dce2983b413805b97c223417
wpt-pr: 14183
Automatic update from web-platform-testsAdd scroll-animations reviewers
Antoine and Stephen have recently been added as editors of the spec
--
wpt-commits: c34207cd731d8aebfb6a8b7eb706259149b6240b
wpt-pr: 14189
Automatic update from web-platform-tests[cookies] Add test for default path calculation (#14182)
* [cookies] Add test for default path calculation
* fixup! [cookies] Add test for default path calculation
--
wpt-commits: ad1f7dc356c8f61a5f822def378ebde50c610420
wpt-pr: 14182
Automatic update from web-platform-testsCreate EventTiming folder (#14176)
In particular, the META file includes the explainer in place of the spec (no spec yet).
--
wpt-commits: 579140910974daa5394f741197b0b68179882490
wpt-pr: 14176
When wpt is used by developers they often want to reload a test that's
running to allow iterative development (or running under devtools,
etc.). The recent switch to target marionette commands at the test
window rather than the opener window broke this as waiting is
implemented as an async script that never returns (i.e. a promise that
never resolves) and when this is in the test window navigating that
window causes the script to return.
A simple, but not particuarly elegant, solution here is to simply
rerun the script in the new window.
Differential Revision: https://phabricator.services.mozilla.com/D14087
--HG--
extra : moz-landing-system : lando
Whilst we do set the Keep-Alive HTTP header to request the HTTPD to
use a persistent connection, we throw away the httplib.HTTPConnection
object after each request. This will causes the HTTPD to serve us
a persistent connection, only to throw it away after the first request.
When the connection timeout is reached, httplib closes the connection
for us. Unfortunately httplib does not reconnect for the next
request, so we need to manually check if the underlying socket
connection to the server is alive.
We check whether the connection has dropped or if it has unread,
buffered data using select() as a poller. We could use poll() here
on available systems, which might give a theoretical performance
improvement since it gives O(number of file descriptors), but since
we only deal with one connection select() will probably be good enough.
Differential Revision: https://phabricator.services.mozilla.com/D13845
--HG--
extra : moz-landing-system : lando
We could keep using ParsedCaseSensitivity::CaseSensitive as a temporary stand-in
for "case-sensitive or maybe not depending on what HTML says" until we check the
attribute list, but it seems better to make that explicit.
Differential Revision: https://phabricator.services.mozilla.com/D14093
--HG--
extra : moz-landing-system : lando
The minidump_stackwalk used for tests ifs picked up from tooltool, and
it looks like the tooltool manifests haven't been updated in 2 years.
As it turns out, this old version is not capable of, at least, stack
walk over crashes originated in LTOed rust code on Windows, while
breakpad trunk, as well as the slightly oldest version we have in-tree
do.
While ideally, we'd go with building minidump_stackwalk as a taskcluster
toolchain artifact, or during the build, but that involves significantly
more work, while we should fix the stack traces of crashes that people
_do_ get as early as possible.
The tooltool artifacts linked in the updated manifests were generated
the following way:
- Revert the last two changes that happened to minidump_stackwalk.cc
between 2016 and now (they don't matter for functionality and get in
the way of the rest below).
- Apply the changes betwen the version of minidump_stackwalk.cc from
2016 and
https://hg.mozilla.org/users/tmielczarek_mozilla.com/stackwalk-http/raw-file/51e4725ffad4/stackwalk.cc
- Pick the http_symbol_supplier.cc and http_symbol_supplier.h files from
the same repo as stackwalk.cc above.
- Add the necessary build system bits to build it off the Gecko tree,
along with the in-tree breakpad code.
- Build it for linux, linux64, macosx64, win32-mingw.
The patch doing all the above is:
https://hg.mozilla.org/try/rev/64491336dc7fca7a1c00ae8c66619b01563bbe4e
The push to build it on the aforementioned platforms:
https://hg.mozilla.org/try/rev/4b621a67ca0bd6cf8954566e180d23e1ba8a9f83
A win64-mingw variant was also built, but is not being used, keeping
things in line with what we currently are using. We may want to follow
up with an update to use that win64 variant on 64-bits testers.
Differential Revision: https://phabricator.services.mozilla.com/D14005
--HG--
extra : moz-landing-system : lando
The following python-test paths are being moved out of 'make check' and into their own task:
- python/mozlint
- testing/mozbase
- tools/lint
The following python-test paths previously did not run on Windows:
- python/mozterm
- testing/marionette
- testing/raptor
- tools/tryselect
Differential Revision: https://phabricator.services.mozilla.com/D10759
--HG--
extra : moz-landing-system : lando
Automatic update from web-platform-tests
Media Capabilities: implement Blink shell of encrypted media support.
This is adding the interface changes, the code checking for corectedness,
does type conversion and checks for the edge cases mentioned in spec.
This is also adding WPT.
Bug: 907909
Change-Id: Ieebe5b25202a403e50a09576ac283690c0f0ba55
Reviewed-on: https://chromium-review.googlesource.com/c/1348972
Commit-Queue: Mounir Lamouri <mlamouri@chromium.org>
Reviewed-by: Chrome Cunningham <chcunningham@chromium.org>
Reviewed-by: Philip Jägenstedt <foolip@chromium.org>
Cr-Commit-Position: refs/heads/master@{#611871}
--
wpt-commits: 7268cc55c89de22afe2823f20aa05b8cab6a66bd
wpt-pr: 14216
Automatic update from web-platform-tests
Revert "Align resource timing buffer full processing to spec PR 168 (reland)"
This reverts commit 6dd060768d1c1183e0d29e422a2213f106d98299.
Reason for revert: suspect causing WebRtcDisableEncryptionFlagBrowserTest.VerifyEncryption to be flaky (FindIt's report)
BUG:chromium:909704
Original change's description:
> 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}
TBR=npm@chromium.org,yoavweiss@chromium.org
Change-Id: Ia4bf26c6be1e7c4ae35b904bac25fe031f854604
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 908181, 908414
Reviewed-on: https://chromium-review.googlesource.com/c/1354123
Reviewed-by: Ned Nguyen <nednguyen@google.com>
Commit-Queue: Ned Nguyen <nednguyen@google.com>
Cr-Commit-Position: refs/heads/master@{#611722}
--
wpt-commits: ec13cf1ca3abf13ae1004003e791fd9937be0b49
wpt-pr: 14282
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
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
Automatic update from web-platform-tests
Set default for manifest_update flag appropriately.
--
wpt-commits: 81607985fc9485cbf9f3d0a8ae74359f885eb36b
wpt-pr: 14217
Automatic update from web-platform-tests
Media Capabilities: switch MediaCapabilitiesInfo to a dictionary.
This required to create a custom callback class as CallbackPromiseAdapter
does not work well with dictionaries.
This is also updating the media-capabilities.idl file in WPT, based on:
https://raw.githubusercontent.com/tidoust/reffy-reports/master/whatwg/idl/media-capabilities.idl
Bug: 907704
Change-Id: I13bb3c43a7461398f7866f033527bd3ce1bed140
Reviewed-on: https://chromium-review.googlesource.com/c/1347001
Commit-Queue: Mounir Lamouri <mlamouri@chromium.org>
Reviewed-by: Philip Jägenstedt <foolip@chromium.org>
Cr-Commit-Position: refs/heads/master@{#610655}
--
wpt-commits: c7a5c87e5c315051c40c6769952214f5c819df93
wpt-pr: 14181
Automatic update from web-platform-tests
Fix two fullscreen wpt tests for UAv2.
Also marks one currently untestable test.
Bug: 906791
Change-Id: I17fd03f16e93244be80f9572db8c43e8e0b95678
Reviewed-on: https://chromium-review.googlesource.com/c/1347092
Commit-Queue: Mustaq Ahmed <mustaq@chromium.org>
Reviewed-by: Philip Jägenstedt <foolip@chromium.org>
Cr-Commit-Position: refs/heads/master@{#610651}
--
wpt-commits: 1700cffc1ede02465c9aca38d06cbad9d634a920
wpt-pr: 14194
Automatic update from web-platform-testsRename "safari_webdriver" to "safari", get rid of "safari" (#14213)
--
wpt-commits: f13770f6053eb26328adf487c7f80431da5c4509
wpt-pr: 14213
Automatic update from web-platform-testsDocument the source email for assignment (#14214)
--
wpt-commits: ad865c2f6bd3ce9ab1333eb78df445cd4c805f36
wpt-pr: 14214
Automatic update from web-platform-testsRemove timeout in async_test for miscellaneous tests (#14094)
Remove all the timeout in `async_test` for miscellaneous tests
except html, IndexedDB, websockets, mediacapture-streams and cookies.
--
wpt-commits: 565cc2b9a470fdf83c703033d7beb3140aa3a6ce
wpt-pr: 14094
Automatic update from web-platform-testsRevert "Find manifest for download by tags instead of commits"
Possible but unlikely cause of https://github.com/web-platform-tests/wpt/issues/14207.
This reverts commit 3657828ff4243fcc2f3b3fa4e7bed34d646ad565.
--
wpt-commits: 5438f72ea0bc2abb3754b2b906a34d497bd8457c
wpt-pr: 14208
Automatic update from web-platform-testsFetch: expect empty string as default instead of OK
Follow-up to 99e9e996267ccd5c1344b7d0164c5e5763b3b174.
--
wpt-commits: bf2bef64b0056d8641ba1caf65315fa28221add9
wpt-pr: 14204
Automatic update from web-platform-testsRemove timeout in async_test for html tests (#14087)
After remove the timeout parameter from async_test, the first parameter
`undefined` is no use and should be removed.
--
wpt-commits: 1f92ddd1228e19c9524f27d04fac413ae77d1ea3
wpt-pr: 14087
Automatic update from web-platform-testsAdd tests for no active script in import() (#14157)
Follows https://github.com/whatwg/html/pull/4181.
--
wpt-commits: 5241a3fe2c638f9fadcc040f39f3e6a71a2be2e1
wpt-pr: 14157
Automatic update from web-platform-testsFind manifest for download by tags instead of commits
This makes it possible to use `./wpt manifest` on a checkout that is
more than 50 commits behind master. The downside is that it will require
more network requests if the most recent tag/tags don't have releases
uploaded.
Add more warnings to make it clearer why it goes wrong when it does.
--
wpt-commits: 3657828ff4243fcc2f3b3fa4e7bed34d646ad565
wpt-pr: 14025
Automatic update from web-platform-testsAutomate one fullscreen test using `test_driver.bless` (#14072)
Part of https://github.com/web-platform-tests/wpt/issues/7281.
--
wpt-commits: 39e6009b920f632e6c2fee6cd3d96418d677d04f
wpt-pr: 14072
Automatic update from web-platform-testsFix Feature Policy report output
This brings the feature policy report format in line with the spec,
and fixes the tests which were broken by WPT import.
Bug: 907232
Change-Id: If9d9469956221c18a1aa72ee39debb1340efc01f
Reviewed-on: https://chromium-review.googlesource.com/c/1338167
Commit-Queue: Ian Clelland <iclelland@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Cr-Commit-Position: refs/heads/master@{#610427}
--
wpt-commits: 1832abd9419a532881abe413ef20e717ee8d2a3e
wpt-pr: 14154
Automatic update from web-platform-tests[streams] Refactor to multi-global test format (#14172)
* Rename streams tests to .any.js
* Use metadata to import resources in streams tests
* Run streams tests in all scopes
* Delete old test wrappers
* Delete old test wrapper generator
* Replace setTimeout with step_timeout
* Use t.step_timeout in tests
* Remove obsolete done calls
--
wpt-commits: a89730a0f3638d709ccc42064c8f8eb8935b04f7
wpt-pr: 14172
Automatic update from web-platform-testsAdd a list of BackgroundFetchRecord objects to BackgroundFetchRegistration.
When we allow access to active background fetches, BackgroundFetchRecords for
the fetch can be accessed from multiple places. It simplifies matters if
we return the same record for a request whenever it's accessed.
This CL adds a (private) list of BackgroundFetchRecords to the
BackgroundFetchRegistration object, and updates it every time match and
matchAll() are called.
The second change introduced here is to not immediately resolve
responseReady() if the fetch is active and a response for the request
isn't yet available. Once the fetch has completed, or there's a response
available for the request, we resolve pending promises. We also make sure to
return the same promise (resolved or unresolved) for a given record,
every time responseReady is called.
For a more detailed discussion, see the following doc:
https://docs.google.com/document/d/1CrbWrnnshhyp_SfiAeuODpnQX36GK3Bsi19rXQGez6Q/edit?usp=sharing
Bug: 875201
Change-Id: I8cb386efd19086c0993ad2be2fb2691ad90597ec
Reviewed-on: https://chromium-review.googlesource.com/c/1336151
Commit-Queue: Mugdha Lakhani <nator@chromium.org>
Reviewed-by: Rayan Kanso <rayankans@chromium.org>
Reviewed-by: Peter Beverloo <peter@chromium.org>
Cr-Commit-Position: refs/heads/master@{#610410}
--
wpt-commits: 12720fdc8914deec3e7cc627036a26217cc1e908
wpt-pr: 14060
Automatic update from web-platform-testsMake ReadableStream extendable
IDL defined ReadableStream was not extendable because it didn't use
provided |info.Holder()| as its wrapper. Instead, it creates a new
wrapper in Create functions.
This CL solves the issue by making the constructor "custom". The custom
constructor creates a blink::ReadableStream first, then associates it
to the wrapper, and then calls the appropriate Init function.
Bug: 906476
Change-Id: I91a7fec1cf4ee5e08704a944b0af852584d1679e
Reviewed-on: https://chromium-review.googlesource.com/c/1347643
Commit-Queue: Yutaka Hirano <yhirano@chromium.org>
Reviewed-by: Yuki Shiino <yukishiino@chromium.org>
Reviewed-by: Adam Rice <ricea@chromium.org>
Cr-Commit-Position: refs/heads/master@{#610391}
--
wpt-commits: a51c2df43ad4491d9a778f0f93e83b596fe47c2b
wpt-pr: 14185
Automatic update from web-platform-testsExpose all constants on SVGFEBlendElement
Per:
https://drafts.fxtf.org/filter-effects/#InterfaceSVGFEBlendElement
All other browsers expose these already.
Bug: 906612
Change-Id: I4be6185d4832d980a5d7c6518dcb0b2ccca2ce82
Reviewed-on: https://chromium-review.googlesource.com/c/1341846
Reviewed-by: Philip Jägenstedt <foolip@chromium.org>
Commit-Queue: Philip Jägenstedt <foolip@chromium.org>
Cr-Commit-Position: refs/heads/master@{#610379}
--
wpt-commits: 21705cd7f9e2319c8e0bdb7f315f4217707fbe76
wpt-pr: 14148
Automatic update from web-platform-testsWPT: service worker: canvas tainting with two images from the same URL
This adds a test that does the following:
- Writes to a canvas with a cors same-origin image
- Writes to a canvas with a cors cross-origin image from the same URL
- Tests that the canvas is tainted after the second step.
Bug: 907047
Change-Id: Ie231b442eb9b55c642b3957c065555e6f4997a83
Reviewed-on: https://chromium-review.googlesource.com/c/1347952
Commit-Queue: Matt Falkenhagen <falken@chromium.org>
Reviewed-by: Makoto Shimazu <shimazu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#610356}
--
wpt-commits: d65f24c346dff3b5dce2983b413805b97c223417
wpt-pr: 14183
Automatic update from web-platform-testsAdd scroll-animations reviewers
Antoine and Stephen have recently been added as editors of the spec
--
wpt-commits: c34207cd731d8aebfb6a8b7eb706259149b6240b
wpt-pr: 14189