Browser toolbox fails opening with "Permission denied to access property 'windowUtils' on cross-origin object" exception
Categories
(DevTools :: Debugger, defect, P3)
Tracking
(Fission Milestone:M6c, firefox82 fixed)
Tracking | Status | |
---|---|---|
firefox82 | --- | fixed |
People
(Reporter: ochameau, Assigned: ochameau)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
The browser toolbox often fails opening with the following exception:
SecurityError: Permission denied to access property "windowUtils" on cross-origin object
It looks like this code:
https://searchfox.org/mozilla-beta/rev/52cc26c5eccd4f496ab8a8c73b529e4f0e23e4bd/devtools/server/actors/utils/event-loop.js#117-124
this._thread.dbg.getDebuggees()
Sometimes also return window often for remote iframes.
These window objects are special and most property access will throw.
In addition to that, we should ignore these windows, as they will be debugged via another thread actor, running in the process of this remote iframe.
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
Assignee | ||
Comment 2•4 years ago
|
||
Comment 4•4 years ago
|
||
Backed out changeset 9d95edbd8386 (Bug 1660892) for causing devtool timeouts.
Backout link: https://hg.mozilla.org/integration/autoland/rev/7cea08d78f8b23d7c8a41a76c9bb90c69df3a9bf
Failure log:
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=314079274&repo=autoland&lineNumber=16655
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=314077215&repo=autoland&lineNumber=16234
Assignee | ||
Comment 5•4 years ago
|
||
Oops, I thouht this failure was related to the next patch of this queue, which I explicitely avoided to land.
Let me see if I fixed this issue now:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=21418f9e2d725bc267c36a28b4940c3a2150c290
Assignee | ||
Updated•4 years ago
|
Updated•4 years ago
|
Comment 7•4 years ago
|
||
bugherder |
Description
•