Closed Bug 892647 Opened 6 years ago Closed 6 years ago

DOMRequestIpcHelperMessageListener is destroyed twice when inner window is destroyed

Categories

(Core Graveyard :: DOM: Apps, defect)

x86_64
Linux
defect
Not set

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+
https://hg.mozilla.org/mozilla-central/rev/e47b0cd496f8
Status: NEW → RESOLVED
Closed: 6 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.