Closed Bug 1790259 Opened 2 years ago Closed 2 years ago

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

Categories

(Core :: CSS Parsing and Computation, defect)

Firefox 106
defect

Tracking

()

RESOLVED INVALID

People

(Reporter: hypewolf, Unassigned)

References

(Regression)

Details

Attachments

(1 file)

Attached image Error screen

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0

Steps to reproduce:

  • Install Cockpit (sudo dnf install cockpit)
  • Launch cockpit
  • Visit a Cockpit login screen on Firefox Nightly (127.0.0.1:9090)

I found out by visiting this page ( https://cockpit-project.org/running ) it says if the browser supports it or not. I'm guessing it runs the same checks as the login page when it's installed)

Cockpit is shipped with red hat and Rocky Linux as a way to manage the system from a web interface.
The Cockpit project: https://cockpit-project.org/

Using mozregression I was able to narrow down the issue to this I guess:

5:26.08 INFO: Narrowed integration regression window from [b7f6557a, 07d280f8] (3 builds) to [b7f6557a, 3e0a5d18] (2 builds) (~1 steps left)
5:26.08 INFO: No more integration revisions, bisection finished.
5:26.08 INFO: Last good revision: b7f6557aaf06a26f589489fc439e74fd6e75a022
5:26.08 INFO: First bad revision: 3e0a5d1881e9474173e0455972f35022be5192f6
5:26.08 INFO: Pushlog:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=b7f6557aaf06a26f589489fc439e74fd6e75a022&tochange=3e0a5d1881e9474173e0455972f35022be5192f6

Other browsers display the proper login form. I wasn't sure if I had to file a report with webcompat or here as I use the Nightly build. First bug report on FF, please let me know what I can improve in my bug reports.

Thanks to a reddit user for suggesting this tool: https://www.reddit.com/r/firefox/comments/xb2k6n/nightly_cockpit_ui_detects_ff_as_too_old_missing/

Actual results:

Can't log in. The website displays:
This web browser is too old to run the Web Console (missing selector(:is():where()))
A modern browser is required for security, reliability, and performance.

Expected results:

Showing a login form.

I found this issue from the pushlog above: https://bugzilla.mozilla.org/show_bug.cgi?id=1789248
Cockpit was working fine, so I'm not sure why that selector is important to cockpit if it wasn't implemented in FF.

Issue cross-posted on cockpit https://github.com/cockpit-project/cockpit/issues/17724 - maybe it'll spark some team work and a healthy resolution.

The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Widget: Gtk
Product: Firefox → Core

It is definitely supported, but they're testing for empty :is() which after my patch returns false in supports... Let me take a closer look.

Flags: needinfo?(emilio)

I think this is invalid per spec, since :is() / :where() should get a selector list argument. If totally needed we could special-case the empty selector-list, but chrome canary should behave like Firefox Nightly, see tests added in https://bugs.chromium.org/p/chromium/issues/detail?id=1359396

I can send a fix on cockpit's side.

Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Component: Widget: Gtk → CSS Parsing and Computation
Flags: needinfo?(emilio)
Regressed by: 1789248
Resolution: --- → INVALID

Wait, you already look at this and made a PR for Cockpit? I think I'm in love. :)

Good job, you're amazing.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: