Closed Bug 1130215 Opened 9 years ago Closed 9 years ago

pagehide/unload events aren't caught in a frame script when closing a tab with e10s off

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1126089
Tracking Status
e10s m5+ ---

People

(Reporter: MattN, Assigned: billm)

References

Details

Attachments

(2 files)

Attached file Testing output
Event listeners for pagehide and unload content events are never called when a tab closes and e10s is off. See the attachment log output and the test code.

This may cause memory leaks if stuff isn't getting cleaned up in a pagehide/unload handler.

tracking-e10s? since it makes writing code for e10s harder.
Attached patch Testcase patchSplinter Review
See Also: → 1131313
Assignee: nobody → wmccloskey
Is this a regression from a change we've made? If so, do we know which one?
Flags: needinfo?(wmccloskey)
No, it has always worked this way. This will be fixed by bug 1126089.
Flags: needinfo?(wmccloskey)
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: