Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

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

Select an option

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

DevTools Toolbox Error Analysis - Server Protocol Errors

Period: 2026-06-01 18:22 to 2026-07-06 07:13 Total Errors: 2793

Overview

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

Platform Distribution

  • Windows: 2082 errors (74.5%)
  • Darwin: 443 errors (15.9%)
  • Linux: 268 errors (9.6%)

Channel Distribution

  • release: 2280 errors (81.6%)
  • aurora: 461 errors (16.5%)
  • beta: 27 errors (1.0%)
  • nightly: 19 errors (0.7%)
  • default: 5 errors (0.2%)
  • ****: 1 errors (0.0%)

Error Breakdown by Category

1. TypeError @ WeakMapMap.js: TypeError: (undefined) - 905 errors (32.4%)

Error location:

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

Affected:

  • Channels: release (859), aurora (36), nightly (8), (1), beta (1)
  • Platforms: Windows (800), Darwin (57), Linux (48)
  • Targets: undefined (905)

2. SecurityError @ document-events.js: Error: (watchResources) - 708 errors (25.3%)

Error location:

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

Affected:

  • Channels: release (704), aurora (3), default (1)
  • Platforms: Windows (562), Linux (84), Darwin (62)
  • Targets: server0.conn0.watcher3 (566), server0.conn1.watcher3 (44), server0.conn2.watcher3 (25)

3. TypeError @ event-collector.js: Error: (querySelector) - 360 errors (12.9%)

Error location:

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

Affected:

  • Channels: aurora (338), beta (18), nightly (4)
  • Platforms: Darwin (214), Windows (117), Linux (29)
  • Targets: server0.conn0.watcher2.process328//domwalker93 (25), server0.conn0.watcher2.process546//domwalker38 (14), server0.conn0.watcher2.process328//domwalker110 (12)

4. out of memory @ unknown: Error: (watchTargets) - 164 errors (5.9%)

Error location:

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

Affected:

  • Channels: release (160), aurora (3), default (1)
  • Platforms: Windows (108), Darwin (31), Linux (25)
  • Targets: server0.conn0.watcher3 (124), server0.conn2.watcher3 (11), server0.conn1.watcher3 (9)

5. TypeError @ console-messages.js: Error: (watchResources) - 127 errors (4.5%)

Error location:

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

Affected:

  • Channels: release (126), aurora (1)
  • Platforms: Windows (112), Darwin (9), Linux (6)
  • Targets: server0.conn0.watcher3 (121), server0.conn1.watcher3 (3), server0.conn2.watcher3 (2)

6. InvalidStateError @ unknown: Error: (watchTargets) - 79 errors (2.8%)

Error location:

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

Affected:

  • Channels: release (79)
  • Platforms: Windows (63), Darwin (9), Linux (7)
  • Targets: server0.conn0.watcher3 (77), server0.conn1.watcher3 (1), server0.conn4.watcher3 (1)

7. Error @ Front.js: Error: (undefined) - 49 errors (1.8%)

Error location:

baseFrontClassDestroy@resource://devtools/shared/protocol/Front.js:105:23

Affected:

  • Channels: release (33), aurora (14), beta (2)
  • Platforms: Windows (23), Linux (18), Darwin (8)
  • Targets: undefined (49)

8. TypeError @ document-events.js: Error: (watchResources) - 41 errors (1.5%)

Error location:

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

Affected:

  • Channels: release (41)
  • Platforms: Windows (34), Darwin (5), Linux (2)
  • Targets: server0.conn0.watcher3 (36), server0.conn3.watcher3 (1), server0.conn1.watcher3 (1)

9. out of memory @ unknown: Error: (watchTargets) - 38 errors (1.4%)

Error location:

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

Affected:

  • Channels: release (38)
  • Platforms: Windows (27), Darwin (6), Linux (5)
  • Targets: server0.conn0.watcher3 (25), server0.conn1.watcher3 (3), server0.conn4.watcher3 (2)

10. AbortError @ unknown: Error: (watchTargets) - 35 errors (1.3%)

Error location:

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

Affected:

  • Channels: release (35)
  • Platforms: Windows (28), Darwin (6), Linux (1)
  • Targets: server0.conn0.watcher3 (33), server0.conn2.watcher3 (1), server0.conn7.watcher3 (1)

Top Error Types Summary

  1. TypeError @ WeakMapMap.js: set - 905 occurrences (32.4%)
  2. SecurityError @ document-events.js: sendQuery/< - 708 occurrences (25.3%)
  3. TypeError @ event-collector.js: getDOMListeners - 360 occurrences (12.9%)
  4. out of memory @ unknown: sendQuery/< - 164 occurrences (5.9%)
  5. TypeError @ console-messages.js: sendQuery/< - 127 occurrences (4.5%)
  6. InvalidStateError @ unknown: sendQuery/< - 79 occurrences (2.8%)
  7. Error @ Front.js: baseFrontClassDestroy - 49 occurrences (1.8%)
  8. TypeError @ document-events.js: sendQuery/< - 41 occurrences (1.5%)
  9. out of memory @ unknown: onPacket/< - 38 occurrences (1.4%)
  10. AbortError @ unknown: onPacket/< - 35 occurrences (1.3%)

Actionable Insights

    1. TypeError @ WeakMapMap.js: set accounts for 32.4% of all errors (905 occurrences)
    1. release channel dominance: 81.6% of errors are from release
    1. Platform-specific: TypeError @ WeakMapMap.js: set is predominantly on Windows (800/905 errors)

Recommendations

Priority 1: TypeError @ WeakMapMap.js: set

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

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

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

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

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

Priority 4: out of memory @ unknown: sendQuery/<

  • File location: devtools/server/connectors/js-process-actor/DevToolsProcessParent.sys.mjs:363:18
  • Impact: 5.9% 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.5% of all errors

DevTools Toolbox Server Protocol Errors (7-day analysis)

2793 errors recorded from 2026-06-01 18:22 to 2026-07-06 07:13. Top issues: TypeError @ WeakMapMap.js: set (905 errors), SecurityError @ document-events.js: sendQuery/< (708 errors), TypeError @ event-collector.js: getDOMListeners (360 errors). release channel represents 81.6% of errors. Windows accounts for 74.5% of errors.

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