Closed Bug 939742 Opened 11 years ago Closed 9 years ago

Investigate removing a sync flush when a window is closed

Categories

(Firefox :: Session Restore, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1171708

People

(Reporter: ttaubert, Unassigned)

References

Details

Bug 874502 did some work on making window.close() not truly async but it looks like that only makes it happen on the next tick?

With bug 930967 we need a sync flush when a window is closed to ensure we don't lose data that is currently queued in frame scripts. It would be great to be able to remove the sync flush and make window.close() wait for an async message that is sent from the frame script.
(In reply to Tim Taubert [:ttaubert] from comment #0)
> Bug 874502 did some work on making window.close() not truly async

No, the opposite.

> but it
> looks like that only makes it happen on the next tick?

precisely.

> With bug 930967 we need a sync flush when a window is closed to ensure we
> don't lose data that is currently queued in frame scripts. It would be great
> to be able to remove the sync flush and make window.close() wait for an
> async message that is sent from the frame script.

From, this, I'll assuming that the first part of comment 0 was a typo.
Yes, sorry. I meant to say "not truly sync".
This is being done in bug 1171708.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.