Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

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

Select an option

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

DevTools Toolbox Error Analysis - Server Protocol Errors

Period: 2026-04-13 23:19 to 2026-06-21 23:44 Total Errors: 4086

Overview

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

Platform Distribution

  • Windows: 3353 errors (82.1%)
  • Linux: 377 errors (9.2%)
  • Darwin: 356 errors (8.7%)

Channel Distribution

  • release: 3844 errors (94.1%)
  • aurora: 180 errors (4.4%)
  • nightly: 30 errors (0.7%)
  • default: 21 errors (0.5%)
  • beta: 10 errors (0.2%)
  • unknown: 1 errors (0.0%)

Error Breakdown by Category

1. TypeError @ WeakMapMap.js: TypeError: (undefined) - 1134 errors (27.8%)

Error location:

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

Affected:

  • Channels: release (1085), aurora (44), default (3), beta (1), unknown (1)
  • Platforms: Windows (1008), Linux (65), Darwin (61)
  • Targets: undefined (1134)

2. SecurityError @ document-events.js: Error: (watchResources) - 572 errors (14.0%)

Error location:

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

Affected:

  • Channels: release (572)
  • Platforms: Windows (421), Linux (93), Darwin (58)
  • Targets: server0.conn0.watcher3 (461), server0.conn1.watcher3 (29), server0.conn2.watcher3 (15)

3. Error @ async-storage.js: Error: (undefined) - 535 errors (13.1%)

Error location:

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

Affected:

  • Channels: release (533), default (2)
  • Platforms: Windows (492), Linux (29), Darwin (14)
  • Targets: undefined (535)

4. InternalError @ unknown: Error: (watchTargets) - 340 errors (8.3%)

Error location:

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

Affected:

  • Channels: release (339), aurora (1)
  • Platforms: Windows (340)
  • Targets: server0.conn0.watcher3 (340)

5. SecurityError @ unknown: Error: (watchResources) - 305 errors (7.5%)

Error location:

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

Affected:

  • Channels: release (286), aurora (18), beta (1)
  • Platforms: Windows (266), Darwin (24), Linux (15)
  • Targets: server0.conn0.watcher3 (261), server0.conn1.watcher3 (15), server0.conn2.watcher3 (8)

6. out of memory @ unknown: Error: (watchTargets) - 221 errors (5.4%)

Error location:

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

Affected:

  • Channels: release (217), default (3), aurora (1)
  • Platforms: Windows (137), Darwin (51), Linux (33)
  • Targets: server0.conn0.watcher3 (160), server0.conn2.watcher3 (10), server0.conn4.watcher3 (8)

7. TypeError @ console-messages.js: Error: (watchResources) - 122 errors (3.0%)

Error location:

watch@resource://devtools/server/actors/resources/console-messages.js:98:1

Affected:

  • Channels: release (122)
  • Platforms: Windows (97), Linux (15), Darwin (10)
  • Targets: server0.conn0.watcher3 (116), server0.conn1.watcher3 (2), server0.conn2.watcher3 (2)

8. TypeError @ event-collector.js: Error: (querySelector) - 94 errors (2.3%)

Error location:

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

Affected:

  • Channels: aurora (65), nightly (23), beta (6)
  • Platforms: Windows (46), Darwin (37), Linux (11)
  • Targets: server0.conn0.watcher2.process217//domwalker40 (2), server0.conn0.watcher2.process74//domwalker266 (2), server0.conn0.watcher2.process10//domwalker40 (2)

9. TypeError @ unknown: Error: (watchResources) - 82 errors (2.0%)

Error location:

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

Affected:

  • Channels: release (77), aurora (5)
  • Platforms: Windows (73), Darwin (7), Linux (2)
  • Targets: server0.conn0.watcher3 (76), server0.conn8.watcher3 (2), server0.conn7.watcher3 (1)

10. out of memory @ unknown: Error: (watchTargets) - 63 errors (1.5%)

Error location:

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

Affected:

  • Channels: release (54), aurora (9)
  • Platforms: Windows (54), Darwin (8), Linux (1)
  • Targets: server0.conn0.watcher3 (55), server0.conn1.watcher3 (2), server0.conn10.watcher3 (1)

Top Error Types Summary

  1. TypeError @ WeakMapMap.js: set - 1134 occurrences (27.8%)
  2. SecurityError @ document-events.js: onWindowReady - 572 occurrences (14.0%)
  3. Error @ async-storage.js: getItemOnError - 535 occurrences (13.1%)
  4. InternalError @ unknown: sendQuery/< - 340 occurrences (8.3%)
  5. SecurityError @ unknown: sendQuery/< - 305 occurrences (7.5%)
  6. out of memory @ unknown: onPacket/< - 221 occurrences (5.4%)
  7. TypeError @ console-messages.js: watch - 122 occurrences (3.0%)
  8. TypeError @ event-collector.js: getDOMListeners - 94 occurrences (2.3%)
  9. TypeError @ unknown: sendQuery/< - 82 occurrences (2.0%)
  10. out of memory @ unknown: sendQuery/< - 63 occurrences (1.5%)

Actionable Insights

    1. TypeError @ WeakMapMap.js: set accounts for 27.8% of all errors (1134 occurrences)
    1. release channel dominance: 94.1% of errors are from release
    1. Platform-specific: TypeError @ WeakMapMap.js: set is predominantly on Windows (1008/1134 errors)

Recommendations

Priority 1: TypeError @ WeakMapMap.js: set

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

Priority 2: SecurityError @ document-events.js: onWindowReady

  • File location: devtools/server/actors/webconsole/listeners/document-events.js:113:9
  • Impact: 14.0% of all errors

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

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

Priority 4: InternalError @ unknown: sendQuery/<

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

Priority 5: SecurityError @ unknown: sendQuery/<

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

DevTools Toolbox Server Protocol Errors (7-day analysis)

4086 errors recorded from 2026-04-13 23:19 to 2026-06-21 23:44. Top issues: TypeError @ WeakMapMap.js: set (1134 errors), SecurityError @ document-events.js: onWindowReady (572 errors), Error @ async-storage.js: getItemOnError (535 errors). release channel represents 94.1% of errors. Windows accounts for 82.1% of errors.

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