Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save juliandescottes/ec533c3b58f7d4685054bf6992197dbb to your computer and use it in GitHub Desktop.

Select an option

Save juliandescottes/ec533c3b58f7d4685054bf6992197dbb to your computer and use it in GitHub Desktop.

DevTools Toolbox Error Analysis - Server Protocol Errors

Period: 2026-03-04 08:00 to 2026-06-28 23:54 Total Errors: 3521

Overview

The analysis reveals 3521 server protocol errors, with the most common error type being 'TypeError @ WeakMapMap.js' (28.5%). 89.1% occur on release. Windows users account for 75.4% of all errors.

Platform Distribution

  • Windows: 2654 errors (75.4%)
  • Linux: 460 errors (13.1%)
  • Darwin: 407 errors (11.6%)

Channel Distribution

  • release: 3138 errors (89.1%)
  • aurora: 294 errors (8.3%)
  • nightly: 32 errors (0.9%)
  • default: 30 errors (0.9%)
  • beta: 27 errors (0.8%)

Error Breakdown by Category

1. TypeError @ WeakMapMap.js: TypeError: (undefined) - 1003 errors (28.5%)

Error location:

set@resource://devtools/client/shared/WeakMapMap.js:73:18

Affected:

  • Channels: release (952), aurora (38), nightly (7), beta (4), default (2)
  • Platforms: Windows (854), Linux (79), Darwin (70)
  • Targets: undefined (1003)

2. SecurityError @ document-events.js: Error: (watchResources) - 747 errors (21.2%)

Error location:

sendQuery/<@resource://devtools/server/connectors/js-process-actor/DevToolsProcessParent.sys.mjs:363:18

Affected:

  • Channels: release (742), aurora (5)
  • Platforms: Windows (597), Linux (84), Darwin (66)
  • Targets: server0.conn0.watcher3 (603), server0.conn1.watcher3 (45), server0.conn2.watcher3 (26)

3. TypeError @ event-collector.js: Error: (querySelector) - 212 errors (6.0%)

Error location:

getDOMListeners@resource://devtools/server/actors/inspector/event-collector.js:278:21

Affected:

  • Channels: aurora (167), default (17), nightly (16), beta (12)
  • Platforms: Darwin (93), Windows (92), Linux (27)
  • Targets: server0.conn0.watcher2.process1362//domwalker42 (4), server0.conn0.watcher2.process320//domwalker22 (4), server0.conn0.watcher2.process7//domwalker23 (3)

4. Error @ async-storage.js: Error: (undefined) - 195 errors (5.5%)

Error location:

getItemOnError@resource://devtools/shared/async-storage.js:100:13

Affected:

  • Channels: release (189), default (6)
  • Platforms: Windows (152), Linux (42), Darwin (1)
  • Targets: undefined (195)

5. TypeError @ console-messages.js: Error: (watchResources) - 152 errors (4.3%)

Error location:

sendQuery/<@resource://devtools/server/connectors/js-process-actor/DevToolsProcessParent.sys.mjs:363:18

Affected:

  • Channels: release (152)
  • Platforms: Windows (126), Linux (14), Darwin (12)
  • Targets: server0.conn0.watcher3 (137), server0.conn2.watcher3 (4), server0.conn4.watcher3 (4)

6. out of memory @ unknown: Error: (watchTargets) - 144 errors (4.1%)

Error location:

sendQuery/<@resource://devtools/server/connectors/js-process-actor/DevToolsProcessParent.sys.mjs:363:18

Affected:

  • Channels: release (143), beta (1)
  • Platforms: Windows (97), Darwin (26), Linux (21)
  • Targets: server0.conn0.watcher3 (122), server0.conn1.watcher3 (5), server0.conn2.watcher3 (5)

7. ReferenceError @ ObjectActorPool.js: Error: (watchResources) - 142 errors (4.0%)

Error location:

sendQuery/<@resource://devtools/server/connectors/js-process-actor/DevToolsProcessParent.sys.mjs:363:18

Affected:

  • Channels: release (142)
  • Platforms: Windows (142)
  • Targets: server0.conn0.watcher3 (8), server0.conn8.watcher3 (2), server0.conn7.watcher3 (2)

8. out of memory @ unknown: Error: (watchTargets) - 126 errors (3.6%)

Error location:

onPacket/<@resource://devtools/shared/protocol/Front.js:404:31

Affected:

  • Channels: release (125), default (1)
  • Platforms: Windows (69), Linux (32), Darwin (25)
  • Targets: server0.conn0.watcher3 (112), server0.conn1.watcher3 (5), server0.conn2.watcher3 (3)

9. SecurityError @ document-events.js: Error: (watchResources) - 122 errors (3.5%)

Error location:

onWindowReady@resource://devtools/server/actors/webconsole/listeners/document-events.js:113:9

Affected:

  • Channels: release (121), aurora (1)
  • Platforms: Windows (70), Linux (35), Darwin (17)
  • Targets: server0.conn0.watcher3 (93), server0.conn1.watcher3 (8), server0.conn9.watcher3 (3)

10. InvalidStateError @ unknown: Error: (watchTargets) - 59 errors (1.7%)

Error location:

sendQuery/<@resource://devtools/server/connectors/js-process-actor/DevToolsProcessParent.sys.mjs:363:18

Affected:

  • Channels: release (59)
  • Platforms: Windows (52), Darwin (5), Linux (2)
  • Targets: server0.conn0.watcher3 (59)

Top Error Types Summary

  1. TypeError @ WeakMapMap.js: set - 1003 occurrences (28.5%)
  2. SecurityError @ document-events.js: sendQuery/< - 747 occurrences (21.2%)
  3. TypeError @ event-collector.js: getDOMListeners - 212 occurrences (6.0%)
  4. Error @ async-storage.js: getItemOnError - 195 occurrences (5.5%)
  5. TypeError @ console-messages.js: sendQuery/< - 152 occurrences (4.3%)
  6. out of memory @ unknown: sendQuery/< - 144 occurrences (4.1%)
  7. ReferenceError @ ObjectActorPool.js: sendQuery/< - 142 occurrences (4.0%)
  8. out of memory @ unknown: onPacket/< - 126 occurrences (3.6%)
  9. SecurityError @ document-events.js: onWindowReady - 122 occurrences (3.5%)
  10. InvalidStateError @ unknown: sendQuery/< - 59 occurrences (1.7%)

Actionable Insights

    1. TypeError @ WeakMapMap.js: set accounts for 28.5% of all errors (1003 occurrences)
    1. release channel dominance: 89.1% of errors are from release
    1. Platform-specific: TypeError @ WeakMapMap.js: set is predominantly on Windows (854/1003 errors)

Recommendations

Priority 1: TypeError @ WeakMapMap.js: set

  • File location: devtools/client/shared/WeakMapMap.js:73:18
  • Impact: 28.5% of all errors

Priority 2: SecurityError @ document-events.js: sendQuery/<

  • File location: devtools/server/connectors/js-process-actor/DevToolsProcessParent.sys.mjs:363:18
  • Impact: 21.2% of all errors

Priority 3: TypeError @ event-collector.js: getDOMListeners

  • File location: devtools/server/actors/inspector/event-collector.js:278:21
  • Impact: 6.0% of all errors

Priority 4: Error @ async-storage.js: getItemOnError

  • File location: devtools/shared/async-storage.js:100:13
  • Impact: 5.5% of all errors

Priority 5: TypeError @ console-messages.js: sendQuery/<

  • File location: devtools/server/connectors/js-process-actor/DevToolsProcessParent.sys.mjs:363:18
  • Impact: 4.3% of all errors

DevTools Toolbox Server Protocol Errors (7-day analysis)

3521 errors recorded from 2026-03-04 08:00 to 2026-06-28 23:54. Top issues: TypeError @ WeakMapMap.js: set (1003 errors), SecurityError @ document-events.js: sendQuery/< (747 errors), TypeError @ event-collector.js: getDOMListeners (212 errors). release channel represents 89.1% of errors. Windows accounts for 75.4% of errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment