Closed Bug 1979274 Opened 11 months ago Closed 11 months ago

The Web Developer Tools panel has crashed.

Categories

(DevTools :: General, defect)

Firefox 141
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1975277

People

(Reporter: arunov8545, Unassigned)

References

Details

Attachments

(1 file)

Error in Web Developer Tools:

Error: Protocol error (TypeError): can't access property "document", this.targetActor.window is null from: server0.conn0.watcher3 (resource://devtools/server/actors/webconsole/listeners/document-events.js:68:11)

Client Packet:

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

Server Packet:

{
  "from": "server0.conn0.watcher3",
  "error": "TypeError",
  "message": "can't access property \"document\", this.targetActor.window is null",
  "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:97: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:1072:31

Thanks for the report.
This looks similar to Bug 1975277, which is going to be fixed in Firefox 142 (now in beta)

Status: UNCONFIRMED → RESOLVED
Closed: 11 months ago
Duplicate of bug: 1975277
Resolution: --- → DUPLICATE
Duplicate of this bug: 1979271
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: