Automatic update from web-platform-tests
[PeerConnection] Fire signalingstatechange event at the right time
Prior to this CL, the event was fired before the transceiver state was
updated, in contradiction with the spec, which says it should be fired
after the transceiver state is updated.
Bug: 920200
Change-Id: I757cc0161a5da4888cd628619180e24a54dc732b
Reviewed-on: https://chromium-review.googlesource.com/c/1458203
Commit-Queue: Guido Urdaneta <guidou@chromium.org>
Reviewed-by: Henrik Boström <hbos@chromium.org>
Cr-Commit-Position: refs/heads/master@{#634609}
--
wpt-commits: 0f4203743c56377734f9682abb015d56d6a1a71e
wpt-pr: 15292
Automatic update from web-platform-tests
HTML: opener of a Window sans browsing context
For https://github.com/whatwg/html/pull/4379.
--
wpt-commits: ad1ab06b7fcdbf7ef24cf0ed8aa13ac36d04272a
wpt-pr: 15461
Automatic update from web-platform-tests
Implement scroll-snap-stop: always
As specified in the spec, when the snap-area has scroll-snap-stop:
always, we should not pass its snap position when scrolling with an
intended direction.
This patch implements this feature by adding another round of search for
the IntendedEndAndDirectionStrategy. This second round searches for the
snap position with scroll-snap-stop: always that's closest to the
scroll's start position. It then compares with the result from the first
round of search, which is the snap position closest to the scroll's
target position. The comparison selects the area closest to the scroll's
start position ensuring a an area with snap stop is never bypassed.
Bug: 823998
Change-Id: Ic40f82263ced85f8a72c8f5a82d4fb76e403398f
Reviewed-on: https://chromium-review.googlesource.com/c/1460875
Reviewed-by: David Bokan <bokan@chromium.org>
Reviewed-by: Majid Valipour <majidvp@chromium.org>
Commit-Queue: Sandra Sun <sunyunjia@chromium.org>
Cr-Commit-Position: refs/heads/master@{#634421}
--
wpt-commits: 181f8381fe9373e027f4b5ba5d1439843ad2c2e6
wpt-pr: 15399
Automatic update from web-platform-tests
[Code Health] Fix incorrect test name
wpt/web-animations/timing-model/animations/set-the-animation-start-time.html
was renamed in [1] but the name change was not reflected elsewhere.
In addition, the expectation file for the test on Android seems
unnecessary.
[1] bf6c3b0618
Change-Id: I6a640c3d56203380ad19ca3b1bb1278cc6971bd8
Reviewed-on: https://chromium-review.googlesource.com/c/1477938
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Commit-Queue: Yi Gu <yigu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#634404}
--
wpt-commits: b055c7c24f26f1f61c11bb1efcdbcec5805f5f47
wpt-pr: 15469
Automatic update from web-platform-tests
Surface dtlsTransport via state-surfacer
This allows for more consistent state information.
Bug: chromium:907849
Change-Id: I8b71b3ec3eb1acf83624969190519c5f18b2a19e
Reviewed-on: https://chromium-review.googlesource.com/c/1455896
Commit-Queue: Harald Alvestrand <hta@chromium.org>
Reviewed-by: Henrik Boström <hbos@chromium.org>
Cr-Commit-Position: refs/heads/master@{#633958}
--
wpt-commits: 36baff5e6981e5a235ed1c5f13b45ffed241770b
wpt-pr: 15506
Automatic update from web-platform-tests
Add tentative WPT to verify download in sandbox
General testing idea:
For a network request, the server stores a token in stash.
And after a fixed period of time, we validate the token in the
stash to verify a download has happened. Also assert that no
additional navigation should happen.
In the case of <a download> where the decision of download can be made
before resource fetching, the server sets the token immediately.
In the case of navigation to a download, the server will stream a
response over 1 seconds and set the token at the end only when the
socket has been connected. So it is able to detect any download
cancellation while fetching the resource.
Bug: 539938, 927183
Change-Id: I7b90d46504603f60938a46acee9fbd7d1483988b
Reviewed-on: https://chromium-review.googlesource.com/c/1446395
Reviewed-by: Mike West <mkwst@chromium.org>
Commit-Queue: Yao Xiao <yaoxia@chromium.org>
Cr-Commit-Position: refs/heads/master@{#634249}
--
wpt-commits: 245334dcc1695c3dbc4e1fcdbe849224234093fc
wpt-pr: 15179
Automatic update from web-platform-tests
LongTasks: fix sibling layout test
This CL allows the main frame to produce a long task that is observed by
the child frame. Such a long task can be detected because the
attribution will be same-origin-ancestor.
Bug: 927866
Change-Id: I38849b5f44172cbffd25f3ab429b0c1a96b0f1e3
Reviewed-on: https://chromium-review.googlesource.com/c/1480114
Reviewed-by: Timothy Dresser <tdresser@chromium.org>
Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#634243}
--
wpt-commits: 493fdc7e7908360273baa0ee13421fff692cf8ed
wpt-pr: 15492
Automatic update from web-platform-tests
[Azure Pipelines] Allow Safari TP to be manually triggered (#15502)
To help alleviate https://github.com/web-platform-tests/wpt/issues/15500.
--
wpt-commits: bbb94679c4f6ca8d6779631eacb2871dd804a70a
wpt-pr: 15502
Automatic update from web-platform-tests
Export 2 WPT tests for intrinsic size of SVG images with CSS 'auto' size
The following changes are made:
- Add spec documentation
- Update link to harness JS files.
- Remove trailing whitespace to pass WPT check.
- Use green-256x256.png as a test image and update metrics accordingly.
Bug: 493681
Change-Id: I5e7ebac00d4d4401bfec7780ee40f853ee4fdbb4
Reviewed-on: https://chromium-review.googlesource.com/c/1477703
Reviewed-by: Philip Jägenstedt <foolip@chromium.org>
Commit-Queue: Frédéric Wang <fwang@igalia.com>
Cr-Commit-Position: refs/heads/master@{#634189}
--
wpt-commits: d4e3d9e54559cbc102866f8c15ffe2f3e1ddf0c8
wpt-pr: 15464
Automatic update from web-platform-tests
Implement Signed Exchange reporting for distributors
This CL implements Signed Exchange reporting for distributors.
Spec: https://github.com/WICG/webpackage/pull/374
This CL has two success test cases only.
I will add more failure test cases in another CL.
Bug: 910516
Change-Id: I31a6e629073970e03a93d2379be1ae63ef6adf6b
Reviewed-on: https://chromium-review.googlesource.com/c/1468855
Commit-Queue: Tsuyoshi Horo <horo@chromium.org>
Reviewed-by: Christian Dullweber <dullweber@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Reviewed-by: Kouhei Ueno <kouhei@chromium.org>
Reviewed-by: Kunihiko Sakamoto <ksakamoto@chromium.org>
Reviewed-by: Eric Orth <ericorth@chromium.org>
Cr-Commit-Position: refs/heads/master@{#634161}
--
wpt-commits: 66dbfd0ae579135db73772c534879c51f6dbc674
wpt-pr: 15372
Automatic update from web-platform-tests
[WPT] Merge wpt/{referrer-policy,mixed-content}/generic/common.js
To merge wpt/{referrer-policy,mixed-content} test frameworks,
this CL merges their common.js.
The new common.js is based on mixed-content's common.js,
with some aspects imported from referrer-policy's common.js:
- Passes results from subresource payloads to resolved promises,
converting if necessary using wrapResult().
This is for referrer-policy tests that rely on subresource
payload to get referrer request headers, while
mixed-content tests don't use the payload information at all.
- Accepts `additionalAttributes` arguments (to be used to set
referrer-policy-related attributes to elements).
- Extends bindEvents() to clean up event listeners on completion
(which is done for some request types in
referrer-policy's common.js).
- Imports queryImage() (with renaming to
requestViaImageForReferrerPolicy) from referrer-policy's common.js
(this should be merged with mixed-content version of
image requests, but not now).
On mixed-content side:
- expect.py's response for script requests is modified
because postMessage() is required by referrer-policy's common.js.
On referrer-policy side:
- Move referrer-policy-specific code from common.js
to referrer-policy-test-case.js, including wrapResult().
- All tests (except for two [1][2]) are converted to promise-based,
to handle errors correctly.
- Bugs in the remaining two tests [1][2] are fixed.
[1] referrer-policy/generic/iframe-inheritance.html
[2] referrer-policy/generic/sandboxed-iframe-with-opaque-origin.html
Then now
wpt/{referrer-policy,mixed-content}/generic/common.js
are the same.
They are duplicated (i.e. not moved/merged to a single file)
just to avoid mass modification of a large number of
generated files for each step of refactoring,
as these file names are hard-coded there.
Bug: 906850
Change-Id: I39f19d08d658c1a898fc453b621d82a2faaaaf6b
Reviewed-on: https://chromium-review.googlesource.com/c/1455745
Commit-Queue: Hiroshige Hayashizaki <hiroshige@chromium.org>
Reviewed-by: Mike West <mkwst@chromium.org>
Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org>
Reviewed-by: Jochen Eisinger <jochen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#633917}
--
wpt-commits: 767f361425c20ded79c35630f709fc7addf7f80a
wpt-pr: 15262
Automatic update from web-platform-tests
[Azure Pipelines] Add wpt.fyi hooks for each individual job/run (#15498)
* [Azure Pipelines] Add wpt.fyi hooks for each individual job/run
* Make job name unique
* No dashes in job names
--
wpt-commits: 8ba55334175854f7461257e9d89a104a54f6d748
wpt-pr: 15498
Automatic update from web-platform-tests
[WPT] [wasm] Add JS-API tests for wasm threads
These are copied from the tests in the WebAssembly spec repo here:
0b80037ebc
Bug: chromium:926307
Change-Id: I54decd04abfe11bdb6ac7209240b10a3f6115fb1
Reviewed-on: https://chromium-review.googlesource.com/c/1443959
Reviewed-by: Adam Klein <adamk@chromium.org>
Commit-Queue: Ben Smith <binji@chromium.org>
Cr-Commit-Position: refs/heads/master@{#629308}
--
wpt-commits: 4e1d6d78b38f9aa0253a43b36785f53abf51832f
wpt-pr: 15144
Automatic update from web-platform-tests
Async Clipboard: Make test naming more clear
- Test messages and errors had confusing/outdated typenames, so this CL aims to
update them and make them more consistent.
- No test logic changes.
Bug: 896479
Change-Id: I68726a63e6d7f6c8f964b902c5fa9dbc691787f5
Reviewed-on: https://chromium-review.googlesource.com/c/1478296
Commit-Queue: Darwin Huang <huangdarwin@chromium.org>
Reviewed-by: Victor Costan <pwnall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#634005}
--
wpt-commits: b6d9f766aaea899da6b1c6d585f2e68f996a3c39
wpt-pr: 15470
Automatic update from web-platform-tests
Enforce active lifetime of XRFrame objects
Reland of https://chromium-review.googlesource.com/c/chromium/src/+/1343065
Incorporates fixes made by jacde@chromium.org (Thanks!)
Deactivates XRFrame objects once the relevant callback returns, which
causes future calls to the object methods to throw an exception.
Bug: 906842
Change-Id: Ib635f56ed28b728434a08347b9d9fb98d1ecd694
Reviewed-on: https://chromium-review.googlesource.com/c/1363836
Commit-Queue: Brandon Jones <bajones@chromium.org>
Reviewed-by: Klaus Weidner <klausw@chromium.org>
Cr-Commit-Position: refs/heads/master@{#633845}
--
wpt-commits: 91b1effe848fac6e73a203037fc333b0fff3174d
wpt-pr: 14804
Automatic update from web-platform-tests
Sec-CH-UA: Send only the major version by default.
Rather than sending a `Sec-CH-UA` header containing the full version
number by default (e.g. "Chromium 99.0.1232.12"), send only the major
version (e.g. "Chromium 99").
This does not effect the value of `UserAgent.version` obtained from
`navigator.getUserAgent()`, but only the HTTP request header.
Bug: 928669
Change-Id: I074e244a3918b0bdab4453c2f56dc737c506f732
Reviewed-on: https://chromium-review.googlesource.com/c/1475438
Reviewed-by: Jochen Eisinger <jochen@chromium.org>
Reviewed-by: Tarun Bansal <tbansal@chromium.org>
Commit-Queue: Mike West <mkwst@chromium.org>
Cr-Commit-Position: refs/heads/master@{#633726}
--
wpt-commits: f70ff91fce2695f4303075b45eb8660f7a8d6508
wpt-pr: 15418
Automatic update from web-platform-tests
Add testdriver support for generate_test_report WebDriver command.
Also adds Reporting API tests which utilize this command.
--
fix lint errors
--
Add comments to tests
--
wpt-commits: 5109698f5a9b61797c86fda8000baeb0e701f3f1, 49f474206a2374f3da136f3ddb62cb85ea5c5532, c0a12dae123c560ef835c19e166a253e44275c80
wpt-pr: 15305
Automatic update from web-platform-tests
[Azure Pipelines] Remove the wpt.fyi hook (no longer needed) (#15477)
As found in https://github.com/web-platform-tests/wpt.fyi/issues/1130,
this hook is no longer needed, check runs are created also for
scheduled builds on Azure Pipelines.
--
wpt-commits: f3b13634825af90ecb94398349add2e20fade639
wpt-pr: 15477
Automatic update from web-platform-tests
[wptrunner] Remove unused method (#15472)
`after_conect` is a misnomer for the `after_connect` method of the
generic `Protocol` class.
--
wpt-commits: 048fff6e501c70fdcd2181bf04b3194afe64daa1
wpt-pr: 15472
Automatic update from web-platform-tests
Mark shadow trees for style collection update when inserted to document
When we attach shadow trees with non-empty |adoptedStyleSheets|, we
should update the active style sheet collection for that tree scope.
Otherwise, if there are no other stylesheets for that tree scope,
we will never mark the tree scope as dirty and thus have incorrect
style calculation for that tree scope.
Bug: 933578
Change-Id: Id7229b05440a51ac8e5d55570ed030b8cfb707d2
Reviewed-on: https://chromium-review.googlesource.com/c/1477623
Reviewed-by: Kent Tamura <tkent@chromium.org>
Commit-Queue: Rakina Zata Amni <rakina@chromium.org>
Cr-Commit-Position: refs/heads/master@{#633666}
--
wpt-commits: 7266a4200f24ade6c91608ab05a936770c92e2f0
wpt-pr: 15474
Automatic update from web-platform-tests
Add MathML to check the painting of fraction bars and the effect of C… (#15302)
* Add MathML to check the painting of fraction bars and the effect of CSS color and visibility on it.
--
wpt-commits: afcd81505a695d8c4f64687466732aebf4bef991
wpt-pr: 15302
Automatic update from web-platform-tests
Import WPT fraction tests from WebKit (#15301)
See https://bugs.webkit.org/show_bug.cgi?id=194436
Tests have been reformatted and rewritten. The following are excluded:
- Tests have equivalent (and more reliable testing) in WPT.
- Tests that verify crashes/asserts, hangs or invalid markup.
--
wpt-commits: b7cddec48a109528df2d1ec5af4583de03b0edc8
wpt-pr: 15301