Hello all,
three months ago, Firefox announced [1] that they are dropping support for the
Chrome Devtools Protocol, the browser automation protocol that we have used in
Cockpit's test API for many years. This finally happened in Firefox 129 [2],
which just recently made it into Fedora 40.
The new thing to use is "Webdriver BiDi" [3], which is finally a standardized
protocol that has all of Chromium/Firefox/Safari/Webkit behind it. I recently
ported Cockpit's test API to that [4] and I'm now in the process of updating
our auxiliary projects like cockpit-{podman,machines,ostree} to it. There had
to be a few API changes, but for the most part this should be painless -- e.g.
starter-kit [5] or c-podman [6] were outright trivial (the "glob" change is
unrelated), and for e.g. c-machines [7] it only requires a little API
adjustment.
You will automatically get this if you update to the latest cockpit pkg/lib and
test/common API. You can then drop the chrome-remote-protocol NPM dependency.
If you run into any trouble, please don't hesitate to ping me -- chances are
very high that I've run into a similar problem already. Best is to
@martinpitt me in GitHub for having appropriate context, but you can also
ask me on Matrix or reply here.
This is relatively urgent if you test on Firefox -- the next time we refresh
our cockpit/tasks container (which runs our CI), it will pick up Firefox 129.
Of course projects can pin the tasks container (.cockpit-ci/container), but not
all of them do.
Thanks,
Martin
[1] https://fxdx.dev/deprecating-cdp-support-in-firefox-embracing-the-future-wi…
[2] https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/129
[3] https://w3c.github.io/webdriver-bidi/
[4] https://github.com/cockpit-project/cockpit/pull/20832
[5] https://github.com/cockpit-project/starter-kit/pull/949
[6] https://github.com/cockpit-project/cockpit-podman/pull/1819
[7] https://github.com/cockpit-project/cockpit-machines/pull/1761
Hi!
Cockpit is the modern Linux admin interface. We release regularly.
Here are the release notes from Cockpit version 322 and cockpit-files 5:
https://cockpit-project.org/blog/cockpit-322.html
Summary:
- Shell: Deprecate host switching
- Files: Permissions column in details view