Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

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

Select an option

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

DevTools Toolbox Error Analysis - Server Protocol Errors

Period: 2026-04-08 10:00 to 2026-05-24 23:54 Total Errors: 4134

Overview

The analysis reveals 4134 server protocol errors, with the most common error type being 'SecurityError @ document-events.js' (22.0%). 96.4% occur on release. Windows users account for 79.6% of all errors.

Platform Distribution

  • Windows: 3292 errors (79.6%)
  • Linux: 512 errors (12.4%)
  • Darwin: 330 errors (8.0%)

Channel Distribution

  • release: 3984 errors (96.4%)
  • aurora: 123 errors (3.0%)
  • nightly: 10 errors (0.2%)
  • default: 9 errors (0.2%)
  • beta: 4 errors (0.1%)
  • unknown: 3 errors (0.1%)
  • ****: 1 errors (0.0%)

Error Breakdown by Category

1. Error @ async-storage.js: Error: (undefined) - 832 errors (20.1%)

Error location:

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

Affected:

  • Channels: release (809), aurora (19), unknown (2), beta (1), nightly (1)
  • Platforms: Windows (781), Linux (41), Darwin (10)
  • Targets: undefined (832)

2. TypeError @ toolbox.js: TypeError: (undefined) - 806 errors (19.5%)

Error location:

_getDebugTargetData@resource://devtools/client/framework/toolbox.js:1486:17

Affected:

  • Channels: release (800), default (2), aurora (2), unknown (1), (1)
  • Platforms: Windows (693), Linux (65), Darwin (48)
  • Targets: undefined (806)

3. SecurityError @ document-events.js: Error: (watchResources) - 567 errors (13.7%)

Error location:

listen@resource://devtools/server/actors/webconsole/listeners/document-events.js:66:11

Affected:

  • Channels: release (565), aurora (2)
  • Platforms: Windows (403), Linux (97), Darwin (67)
  • Targets: server0.conn0.watcher3 (443), server0.conn1.watcher3 (35), server0.conn2.watcher3 (30)

4. TypeError @ WeakMapMap.js: TypeError: (undefined) - 407 errors (9.8%)

Error location:

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

Affected:

  • Channels: release (360), aurora (41), nightly (5), beta (1)
  • Platforms: Windows (374), Linux (18), Darwin (15)
  • Targets: undefined (407)

5. SecurityError @ document-events.js: Error: (watchResources) - 342 errors (8.3%)

Error location:

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

Affected:

  • Channels: release (320), aurora (20), nightly (2)
  • Platforms: Windows (295), Darwin (29), Linux (18)
  • Targets: server0.conn0.watcher3 (281), server0.conn1.watcher3 (21), server0.conn4.watcher3 (8)

6. out of memory @ unknown: Error: (watchTargets) - 340 errors (8.2%)

Error location:

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

Affected:

  • Channels: release (334), aurora (6)
  • Platforms: Windows (214), Darwin (73), Linux (53)
  • Targets: server0.conn0.watcher3 (243), server0.conn1.watcher3 (22), server0.conn2.watcher3 (19)

7. TypeError @ panel.js: TypeError: (undefined) - 131 errors (3.2%)

Error location:

focusInput@resource://devtools/client/webconsole/panel.js:33:5

Affected:

  • Channels: release (131)
  • Platforms: Linux (127), Windows (4)
  • Targets: undefined (131)

8. SecurityError @ console-messages.js: Error: (watchResources) - 87 errors (2.1%)

Error location:

watch@resource://devtools/server/actors/resources/console-messages.js:93:7

Affected:

  • Channels: release (86), default (1)
  • Platforms: Windows (57), Linux (17), Darwin (13)
  • Targets: server0.conn0.watcher3 (73), server0.conn1.watcher3 (5), server0.conn6.watcher3 (1)

9. TypeError @ console-messages.js: Error: (watchResources) - 87 errors (2.1%)

Error location:

watch@resource://devtools/server/actors/resources/console-messages.js:93:7

Affected:

  • Channels: release (87)
  • Platforms: Windows (73), Linux (9), Darwin (5)
  • Targets: server0.conn0.watcher3 (83), server0.conn36.watcher3 (1), server0.conn6.watcher3 (1)

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

Error location:

onNewTargetActor@resource://devtools/server/connectors/js-process-actor/ContentProcessWatcherRegistry.sys.mjs:252:38

Affected:

  • Channels: release (67), aurora (2)
  • Platforms: Windows (47), Darwin (12), Linux (10)
  • Targets: server0.conn0.watcher3 (67), server0.conn2.watcher3 (1), server0.conn1.watcher3 (1)

Top Error Types Summary

  1. Error @ async-storage.js: getItemOnError - 832 occurrences (20.1%)
  2. TypeError @ toolbox.js: _getDebugTargetData - 806 occurrences (19.5%)
  3. SecurityError @ document-events.js: listen - 567 occurrences (13.7%)
  4. TypeError @ WeakMapMap.js: set - 407 occurrences (9.8%)
  5. SecurityError @ document-events.js: onWindowReady - 342 occurrences (8.3%)
  6. out of memory @ unknown: onPacket/< - 340 occurrences (8.2%)
  7. TypeError @ panel.js: focusInput - 131 occurrences (3.2%)
  8. SecurityError @ console-messages.js: watch - 87 occurrences (2.1%)
  9. TypeError @ console-messages.js: watch - 87 occurrences (2.1%)
  10. InvalidStateError @ unknown: onNewTargetActor - 69 occurrences (1.7%)

Actionable Insights

    1. Error @ async-storage.js: getItemOnError accounts for 20.1% of all errors (832 occurrences)
    1. release channel dominance: 96.4% of errors are from release
    1. Platform-specific: Error @ async-storage.js: getItemOnError is predominantly on Windows (781/832 errors)

Recommendations

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

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

Priority 2: TypeError @ toolbox.js: _getDebugTargetData

  • File location: devtools/client/framework/toolbox.js:1486:17
  • Impact: 19.5% of all errors

Priority 3: SecurityError @ document-events.js: listen

  • File location: devtools/server/actors/webconsole/listeners/document-events.js:66:11
  • Impact: 13.7% of all errors

Priority 4: TypeError @ WeakMapMap.js: set

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

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

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

DevTools Toolbox Server Protocol Errors (7-day analysis)

4134 errors recorded from 2026-04-08 10:00 to 2026-05-24 23:54. Top issues: Error @ async-storage.js: getItemOnError (832 errors), TypeError @ toolbox.js: _getDebugTargetData (806 errors), SecurityError @ document-events.js: listen (567 errors). release channel represents 96.4% of errors. Windows accounts for 79.6% of errors.

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