Closing the parent window for an application while facebook pop-up is open does not close the facebook pop-up

RESOLVED INVALID

Status

Firefox Graveyard
Webapp Runtime
RESOLVED INVALID
6 years ago
2 years ago

People

(Reporter: jsmith, Unassigned)

Tracking

Details

(Reporter)

Description

6 years ago
Steps:

1. Install GIS Cloud (https://marketplace-dev.allizom.org/en-US/app/gis-cloud/?src=ss)
2. Launch that application
3. Go to sign in and select the facebook icon
4. After the facebook pop-up appears, close the parent window for GIS Cloud

Expected:

The GIS Cloud application and the facebook pop-up windows should close, given that the parent application has closed.

Actual:

The GIS Cloud application window closes, but the facebook pop-up does not (GIS Cloud process also remains running). Logging into facebook with that window open puts you onto a page of nothingness. Closing the facebook pop-up does shut down the application. This is differing behavior than how the persona pop-up works, where closing the parent window does close the persona pop-up correspondingly, which ends up ending the application process.

Additional Notes:

We need a resolution on how to do parent-child relationships for windows. What's the correct behavior and cases we need to handle?

Comment 1

6 years ago
For reference, Persona login closes itself when the main window is closed.
(Reporter)

Comment 2

6 years ago
(In reply to Edward Lee :Mardak from comment #1)
> For reference, Persona login closes itself when the main window is closed.

Ah okay. Testing in firefox, this is the same behavior firefox does, so I wonder if this is a problem or not. Should we do the same behavior for apps? Should it be the developer's job then to handle parent-child window relationships? Or should this be handled in our platform?
(Reporter)

Updated

6 years ago
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → INVALID
(Assignee)

Updated

6 years ago
Component: Desktop Runtime → Webapp Runtime
Product: Web Apps → Firefox
(Assignee)

Updated

2 years ago
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.