DevTools crash: Error: Protocol error (SecurityError): Permission denied to access property "document" on cross-origin object
Categories
(DevTools :: General, defect)
Tracking
(Not tracked)
People
(Reporter: thisisnotmyname275, Unassigned)
References
(Blocks 1 open bug)
Details
Steps to reproduce:
I opened a new tab, went to http://main.localhost:4001/wiki/Main_Page (a local MediaWiki installation) and pressed ctrl + shift + I almost immediately after. When the dev tools sidebar appeared, it had crashed.
Error in Web Developer Tools:
Error: Protocol error (SecurityError): Permission denied to access property "document" on cross-origin object from: server0.conn2.watcher3 (resource://devtools/server/actors/webconsole/listeners/document-events.js:68:11)
Client Packet:
{
"type": "watchResources",
"resourceTypes": [
"document-event"
],
"to": "server0.conn2.watcher3"
}
Server Packet:
{
"from": "server0.conn2.watcher3",
"error": "SecurityError",
"message": "Permission denied to access property \"document\" on cross-origin object",
"fileName": "resource://devtools/server/actors/webconsole/listeners/document-events.js",
"lineNumber": 68,
"columnNumber": 11
}
Server Stack:
listen@resource://devtools/server/actors/webconsole/listeners/document-events.js:68:11
watch@resource://devtools/server/actors/resources/document-event.js:103:19
watchResources@resource://devtools/server/actors/resources/index.js:367:15
addOrSetSessionDataEntry@resource://devtools/server/actors/targets/session-data-processors/resources.js:19:21
addOrSetSessionDataEntry@resource://devtools/server/actors/targets/base-target-actor.js:87:23
#addOrSetSessionDataEntry@resource://devtools/server/connectors/js-process-actor/DevToolsProcessChild.sys.mjs:398:21
receiveMessage@resource://devtools/server/connectors/js-process-actor/DevToolsProcessChild.sys.mjs:323:46
Stacktrace:
onPacket/<@resource://devtools/shared/protocol/Front.js:404:31
DevTools RDP*request@resource://devtools/shared/protocol/Front.js:320:14
generateRequestMethods/</frontProto[name]@resource://devtools/shared/protocol/Front/FrontClassWithSpec.js:57:19
_startListening@resource://devtools/shared/commands/resource/resource-command.js:1083:31
Comment 1•9 months ago
|
||
Thanks for filing the bug and providing extra details about what you were doing.
Could you also share your about:support info (go to about:support can copy the data with one of the buttons available)?
Do you remember which devtools panel you were using at the time?
Can you retrigger the issue more than once by following similar steps?
Thanks!
Updated•9 months ago
|
Comment 3•21 days ago
|
||
Clearing the needinfo request since this bug is a duplicate of bug 2014753, which has been closed for 7 months and 13 days.
For more information, please visit BugBot documentation.
Description
•