Closed Bug 1658052 Opened 6 months ago Closed 5 months ago

JavaScript error: resource:///modules/webrtcUI.jsm, line 370: TypeError: WeakSet value must be an object, got browser.permanentKey when running some crash tests

Categories

(Firefox :: Site Permissions, task, P1)

task

Tracking

()

RESOLVED FIXED
81 Branch
Tracking Status
firefox81 --- fixed

People

(Reporter: mconley, Assigned: mconley)

Details

Attachments

(1 file)

This is happening because we have some code in webrtcUI.jsm that presumes that every <browser> that it encounters is a tabbed browser <browser>, which is not the case for crash tests.

I don't expect this to impact users out in the wild, but it certainly doesn't help our log spew.

Pushed by mconley@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/be043c54939f
Only remember allowed shared browser tabs for tabbrowser <browser> elements. r=pbz
Status: NEW → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 81 Branch
You need to log in before you can comment on or make changes to this bug.