JavaScript error: resource://gre/actors/PictureInPictureChild.jsm, line 453: TypeError: can't access property "requestIdleCallback", this.contentWindow is null
Categories
(Toolkit :: Video/Audio Controls, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr78 | --- | unaffected |
firefox83 | --- | unaffected |
firefox84 | --- | wontfix |
firefox85 | --- | wontfix |
firefox86 | --- | wontfix |
firefox87 | --- | wontfix |
firefox88 | --- | fixed |
People
(Reporter: whimboo, Assigned: popeoliv)
References
(Blocks 2 open bugs, Regression)
Details
(Keywords: regression)
Attachments
(1 file)
Since the patch on bug 1669961 got landed, various Marionette jobs show the above Javascript error. So most likely a regression.
https://treeherder.mozilla.org/logviewer?job_id=321376830&repo=autoland&lineNumber=8733-8734
Here the affected source:
Comment 1•4 years ago
|
||
This is a PiP bug, which bug 1669961 just made more obvious. Prior to that, it would have just silently did the wrong thing, trying to register idle callbacks and remove event listeners from the wrong inner window. Except that under Fission, it would have failed anyway whenever the BrowsingContext navigated and changed process.
Comment 2•4 years ago
|
||
Mike, could you weigh in on this bug wrt to the priority/Severity? Thanks
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Assignee | ||
Comment 3•4 years ago
|
||
Updated•4 years ago
|
Comment 4•4 years ago
|
||
Henrik, I can't seem to reproduce this locally or using a push to "try" for Marionette jobs. Is this issue still happening?
Reporter | ||
Comment 5•4 years ago
|
||
I can see this in each and every Mn
job on mozilla-central:
https://treeherder.mozilla.org/jobs?repo=mozilla-central&searchStr=mn
Just get the full log and search for the URI.
Reporter | ||
Comment 6•4 years ago
|
||
This moved to line 453 now:
https://treeherder.mozilla.org/logviewer?job_id=329703044&repo=mozilla-central&lineNumber=9155-9156
Reporter | ||
Comment 7•4 years ago
•
|
||
Here some steps to easily reproduce the failure, and that shows that it has nothing to do with Marionette or other test harnesses:
- Load
data:text/html;charset=utf-8,%3Cvideo%20loop%3E
- Reload the page
After step 2 the failure will be visible in the console of the multi-process browser toolbox.
Reporter | ||
Comment 8•4 years ago
|
||
There are also other errors visible for me:
can't access property "removeAttribute", shadowRoot.firstChild is null PictureInPictureChild.jsm:830
TypeError: can't access property "removeEventListener", this.contentWindow is null PictureInPictureChild.jsm:571:5
InvalidStateError: JSWindowActorChild.document getter: Cannot access property 'document' after actor 'PictureInPictureToggle' has been destroyed
Will those be fixed at the same time or shall I file new bugs?
Updated•4 years ago
|
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 10•4 years ago
|
||
(In reply to Henrik Skupin (:whimboo) [⌚️UTC+1] from comment #8)
There are also other errors visible for me:
can't access property "removeAttribute", shadowRoot.firstChild is null PictureInPictureChild.jsm:830 TypeError: can't access property "removeEventListener", this.contentWindow is null PictureInPictureChild.jsm:571:5 InvalidStateError: JSWindowActorChild.document getter: Cannot access property 'document' after actor 'PictureInPictureToggle' has been destroyed
Will those be fixed at the same time or shall I file new bugs?
follow up bug here: https://bugzilla.mozilla.org/show_bug.cgi?id=1695020
Comment 11•4 years ago
|
||
bugherder |
Updated•4 years ago
|
Updated•4 years ago
|
Description
•