Closed Bug 1557448 Opened 5 years ago Closed 5 years ago

`this` is null in `willDestroy` and `didDestroy` methods on JSWindowActor

Categories

(Core :: DOM: Content Processes, defect, P2)

defect

Tracking

()

RESOLVED FIXED
mozilla69
Fission Milestone M3
Tracking Status
firefox69 --- fixed

People

(Reporter: ablayelyfondou, Assigned: jdai)

References

Details

Attachments

(1 file)

Trying to access an actor via this in its willDestroy and didDestroy methods will raise an Error saying: this is undefined.

Blocks: 1533958

John, could you please look into this?

Assignee: nobody → jdai
Fission Milestone: --- → M3
Whiteboard: [4/16] 2 patches need revision

Yes, I'm working on it.

Status: NEW → ASSIGNED
Pushed by jdai@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d9b95f0b3eb2
Add this value for invocation callback; r=nika
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla69

Oh, good, I had a workaround for this using .bind() that I can remove now...

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: