Closed Bug 1695020 Opened 3 months ago Closed 2 months ago

Fix PiP error: `InvalidStateError: JSWindowActorChild.document getter: Cannot access property 'document' after actor 'PictureInPictureToggle' has been destroyed`

Categories

(Toolkit :: Video/Audio Controls, defect, P3)

defect

Tracking

()

RESOLVED FIXED
88 Branch
Tracking Status
firefox88 --- fixed

People

(Reporter: mtigley, Assigned: popeoliv)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file)

This is a follow-up to to an error that occurs when PictureInPictureToggle's actor tries to invoke a getter for docState even after it's destoyed:

InvalidStateError: JSWindowActorChild.document getter: Cannot access property 'document' after actor 'PictureInPictureToggle' has been destroyed

This error is reproducible with:

  1. Loading data:text/html;charset=utf-8,%3Cvideo%20loop%3E
  2. Reload the page
Assignee: nobody → popeoliv
Status: NEW → ASSIGNED
Pushed by mtigley@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c5b9e98b4036
fix PiP InvalidStateError when PictureInPictureToggle is destroyed r=mtigley,mhowell
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch
You need to log in before you can comment on or make changes to this bug.