Comment 0 for bug 1990623

Revision history for this message
Martin Pitt (pitti) wrote : Login page fails with “This web browser is too old” error with upcoming browsers

With current Firefox and Chromium nightly, the login page shows

    This web browser is too old to run the Web Console (missing selector(:is():where()))

Newer, upcoming browser versions have improved next-level support for :is() and :where() selectors. Cockpit was checking for support an empty usage which passed on browsers in the earlier (current as of writing) implementation. However, browsers have recently updated their parsing support for “Forgiving Selector Parsing” [1], which caused the newer development versions of Firefox, Chrome, and WebKit to fail this check, preventing the browsers from logging into Cockpit.

This was first reported against Firefox itself [2], see that upstream bug for details and a screenshot. But the more fine-grained support for :is()/:where() is intentional, and Cockpit's login page must be adjusted [3].

This was done in upstream release 276.1, so this is fixed in current kinetic and jammy-backports. However, the current version 264 in jammy-release (22.04 LTS) is affected by this, and should get this fix.

[1] https://developer.mozilla.org/en-US/docs/Web/CSS/:is#forgiving_selector_parsing
[2] https://bugzilla.mozilla.org/show_bug.cgi?id=1790259
[3] https://github.com/cockpit-project/cockpit/issues/17724