commit | 946284d0b2c5f21dff20fca1898a92d0c7632d17 | [log] [tgz] |
---|---|---|
author | Antonio Sartori <antoniosartori@chromium.org> | Mon Dec 11 10:11:06 2023 |
committer | Blink WPT Bot <blink-w3c-test-autoroller@chromium.org> | Mon Dec 11 11:10:44 2023 |
tree | 7e5964d56f00b89453a967f84c5fb7c57009f56e | |
parent | 91225ea89ff75a24d8df3e7854e5459ad1072dba [diff] |
Revert "Reland "[keepalive-migration] Add fieldtrial testing config"" This reverts commit 8221a2fd6bab0b59029602de6025d8c49947b553. Reason for revert: Seems to make chrome sporadically omit cookies in request, see crbug.com/1509997 Original change's description: > Reland "[keepalive-migration] Add fieldtrial testing config" > > This is a reland of commit 4d11ed9db093fc278985bea63c03f2a7b0a94bd7 > > There is another test `virtual/no-forced-frame-updates/external/wpt/html/browsers/browsing-the-web/history-traversal/pagereveal/tentative/order-in-prerender-activation.html` [1] > that also relies on the pre-migration side effect of > `PrerenderChannel`. > > This patch disable the migration for that virtual test suite. > > [1]: https://ci.chromium.org/ui/p/chromium/builders/findit/test-single-revision/4940/test-results?sortby=&groupby= > > Original change's description: > > [keepalive-migration] Add fieldtrial testing config > > > > Also explicitly disable the flag for the virtual test suite that > > relies on the pre-migration side effect of making fetch keepalive > > requests, that Document being able to stay alive after unload, and > > hence being able to execute Promise result. > > > > Bug: 1356128 > > Change-Id: I330672ab2e40e299d46f48771c665e31755013cc > > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5069563 > > Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org> > > Reviewed-by: Tsuyoshi Horo <horo@chromium.org> > > Auto-Submit: Ming-Ying Chung <mych@chromium.org> > > Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org> > > Commit-Queue: Hiroki Nakagawa <nhiroki@chromium.org> > > Cr-Commit-Position: refs/heads/main@{#1234386} > > Bug: 1356128 > Change-Id: I3ae9a0c23d15dbd0472041816aef50db27b9d112 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5101871 > Reviewed-by: Tsuyoshi Horo <horo@chromium.org> > Reviewed-by: Kent Tamura <tkent@chromium.org> > Commit-Queue: Ming-Ying Chung <mych@chromium.org> > Cr-Commit-Position: refs/heads/main@{#1234841} Bug: 1356128, 1509997 Change-Id: Icbca59c71101253f80319f6cb61070d144930bb3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5104800 Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Owners-Override: Nicolas Dossou-Gbété <dgn@chromium.org> Reviewed-by: Nicolas Dossou-Gbété <dgn@chromium.org> Reviewed-by: Tsuyoshi Horo <horo@chromium.org> Commit-Queue: Nicolas Dossou-Gbété <dgn@chromium.org> Cr-Commit-Position: refs/heads/main@{#1235640}
The web-platform-tests Project is a cross-browser test suite for the Web-platform stack. Writing tests in a way that allows them to be run in all browsers gives browser projects confidence that they are shipping software that is compatible with other implementations, and that later implementations will be compatible with their implementations. This in turn gives Web authors/developers confidence that they can actually rely on the Web platform to deliver on the promise of working across browsers and devices without needing extra layers of abstraction to paper over the gaps left by specification editors and implementors.
The most important sources of information and activity are:
wpt:matrix.org
matrix channel; includes participants located around the world, but busiest during the European working day.If you'd like clarification about anything, don't hesitate to ask in the chat room or on the mailing list.
Clone or otherwise get https://github.com/web-platform-tests/wpt.
Note: because of the frequent creation and deletion of branches in this repo, it is recommended to “prune” stale branches when fetching updates, i.e. use git pull --prune
(or git fetch -p && git merge
).
See the documentation website and in particular the system setup for running tests locally.
The wpt
command provides a frontend to a variety of tools for working with and running web-platform-tests. Some of the most useful commands are:
wpt serve
- For starting the wpt http serverwpt run
- For running tests in a browserwpt lint
- For running the lint against all testswpt manifest
- For updating or generating a MANIFEST.json
test manifestwpt install
- For installing the latest release of a browser or webdriver server on the local machine.wpt serve-wave
- For starting the wpt http server and the WAVE test runner. For more details on how to use the WAVE test runner see the documentation.On Windows wpt
commands must be prefixed with python
or the path to the python binary (if python
is not in your %PATH%
).
python wpt [command]
Alternatively, you may also use Bash on Ubuntu on Windows in the Windows 10 Anniversary Update build, then access your windows partition from there to launch wpt
commands.
Please make sure git and your text editor do not automatically convert line endings, as it will cause lint errors. For git, please set git config core.autocrlf false
in your working tree.
The master branch is automatically synced to wpt.live and w3c-test.org.
Save the Web, Write Some Tests!
Absolutely everyone is welcome to contribute to test development. No test is too small or too simple, especially if it corresponds to something for which you've noted an interoperability bug in a browser.
The way to contribute is just as usual:
git checkout -b topic
../wpt lint
as described above.If you spot an issue with a test and are not comfortable providing a pull request per above to fix it, please file a new issue. Thank you!