Closed Bug 2008458 Opened 1 month ago Closed 23 days ago

DevTools SecurityError raised when opening DevTools on Getty Images: Permission denied to access property "document" on cross-origin object

Categories

(DevTools :: General, defect)

Firefox 146
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 2003810

People

(Reporter: gardnerjohng, Unassigned)

References

(Blocks 1 open bug)

Details

Steps to reproduce

  1. Login to Getty Images (or make an account there).
  2. From the top-right corner, click the 👤 icon (labelled with your first name).
  3. A dialogue should slide-out from the right-hand side of the viewport.
  4. Click the Overview link.
  5. When the profile's dashboard loads, open the DevTools.

Description

I'm unable to reproduce the error by repeating these steps, so perhaps it had something to do with the fact that I just created an account earlier tonight.

This is literally the only time I've seen the DevTools window crash like this, so this strikes me as a non-trivial issue.

Error in Web Developer Tools

Error: Protocol error (SecurityError): Permission denied to access property "document" on cross-origin object from: server0.conn37.watcher3 (resource://devtools/server/actors/webconsole/listeners/document-events.js:68:11)

Client Packet

{
	"type": "watchResources",
	"resourceTypes": [
		"document-event"
	],
	"to": "server0.conn37.watcher3"
}

Server Packet

{
	"from": "server0.conn37.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:86: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:1082:31
Summary: DevTools SecurityError raised when opening DevTools on Getty Images → DevTools SecurityError raised when opening DevTools on Getty Images: Permission denied to access property "document" on cross-origin object
Status: UNCONFIRMED → RESOLVED
Closed: 23 days ago
Duplicate of bug: 2003810
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.