Closed Bug 892647 Opened 11 years ago Closed 11 years ago

DOMRequestIpcHelperMessageListener is destroyed twice when inner window is destroyed

Categories

(Core Graveyard :: DOM: Apps, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla25

People

(Reporter: nsm, Assigned: nsm)

References

Details

Attachments

(1 file)

The inner-window-destroyed event leads to DOMRequestIpcHelperMessageListener.destroy() being called, which calls DOMRequestIpcHelper.destroy(), which calls back into the message listener destroy(). removeObserver() throws an error.
Comment on attachment 774184 [details] [diff] [review] Add check to prevent destroy actions from running twice. r=me; thanks for catching this!
Attachment #774184 - Flags: review?(justin.lebar+bug) → review+
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla25
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: