Open Bug 1738737 Opened 4 years ago Updated 1 year ago

After a 7 minute power failure, on restart a "captive portal detection tab" error (https://support.mozilla.org/en-US/kb/captive-portal) occured on about three dozen browser tabs across the 8 iMac spaces and many Firefox open browser windows I use.

Categories

(Core :: Networking, defect, P3)

Firefox 93
defect

Tracking

()

People

(Reporter: jfsantarius, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [necko-triaged])

Attachments

(2 files, 1 obsolete file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:93.0) Gecko/20100101 Firefox/93.0

Steps to reproduce:

Neighborhood power failed. About 7 minutes later it returned and I restarted the iMac (2020 Retina 5K running macOS Monterey, ver 12.0.1).

Actual results:

On many of the Firefox (93.0) windows being used, an extra tab appeared with a "captive portal detection" notice along with the previously opened tabs. About 36 tabs with this notice had to be tracked down and closed over the 8 iMac Spaces in use. The other tabs came back and worked without problems. This "captive portal detection" problem, nor even a single instance of it, had previously occurred during my many years of using Firefox.

Expected results:

The "captive portal detection" notice should not have been given, certainly not on some three dozen tabs that required excessive time to track down and close.

The Bugbug bot thinks this bug should belong to the 'Firefox::Session Restore' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → Session Restore

Hi John, thank you for taking the time to submit this issue. Moving this to Core:: Networking component so our developers can take a look at it.

Component: Session Restore → Networking
Product: Firefox → Core

John, could you confirm that this notice you're talking about looked like the screenshot I've attached?

Assignee: nobody → nhnt11
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Flags: needinfo?(jfsantarius)

Hello Nihanth,

The tabs all appeared in the form of the attached screenshot (CaptivePortalDetectionTabIssue.png) from the address https://support.mozilla.org/en-US/kb/captive-portal. A window like the screenshot that you attached may have opened, but a power failure on the iMac requires a lot of housekeeping for recovery, and all of the other previously open Firefox tabs came back ok, as did other aspects of the Internet connection, so I did not associate the "Log in to network" message with the captive portal detection tabs.

John

PS The attachment may be in a separate message.

That's very helpful, thanks! We should be opening such a tab at most in one tab (in the active window) so it's concerning that the tab was opened by many windows. This might be a regression, I'll be back here with updates when I get a chance to investigate this more. ni? myself for tracking.

Flags: needinfo?(nhnt11)
Flags: needinfo?(jfsantarius)

Hello,

Just did a controlled logout and shutdown, and the "captive portal detection" tabs did not appear, so the problem seems to be connected with iMac recovery from a power failure.

John

Severity: -- → S3
Flags: needinfo?(nhnt11)
Priority: -- → P3
See Also: → 1743148

Unassigning myself. I didn't see anything particularly obvious to fix here when I looked into bug 1743148.

Please let us know if this happens again. For now let's keep this on file but I don't think it's actionable other than an audit/refactor of our captive portal UI code.

Assignee: nhnt11 → nobody
Status: ASSIGNED → NEW

I think MacOS could be closing sockets with a weird error code when recovering from a power failure, which would trigger the captive portal detection if it happens at the same time. This seems like a rare edge case, but maybe we can find a fix sometime in the future.

Whiteboard: [necko-triaged]
Attachment #9383791 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: