Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

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

Select an option

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

DevTools Toolbox Error Analysis - Server Protocol Errors

Period: 2026-03-14 22:05 to 2026-05-17 23:11 Total Errors: 4462

Overview

The analysis reveals 4462 server protocol errors, with the most common error type being 'Error @ async-storage.js' (24.7%). 95.3% occur on release. Windows users account for 82.5% of all errors.

Platform Distribution

  • Windows: 3683 errors (82.5%)
  • Linux: 434 errors (9.7%)
  • Darwin: 345 errors (7.7%)

Channel Distribution

  • release: 4253 errors (95.3%)
  • aurora: 122 errors (2.7%)
  • default: 62 errors (1.4%)
  • beta: 13 errors (0.3%)
  • nightly: 11 errors (0.2%)
  • ****: 1 errors (0.0%)

Error Breakdown by Category

1. Error @ async-storage.js: Error: (undefined) - 1102 errors (24.7%)

Error location:

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

Affected:

  • Channels: release (1033), default (57), aurora (7), beta (3), nightly (2)
  • Platforms: Windows (974), Linux (116), Darwin (12)
  • Targets: undefined (1102)

2. SecurityError @ document-events.js: Error: (watchResources) - 990 errors (22.2%)

Error location:

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

Affected:

  • Channels: release (985), aurora (4), default (1)
  • Platforms: Windows (771), Linux (113), Darwin (106)
  • Targets: server0.conn0.watcher3 (808), server0.conn1.watcher3 (41), server0.conn2.watcher3 (28)

3. TypeError @ toolbox.js: TypeError: (undefined) - 899 errors (20.1%)

Error location:

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

Affected:

  • Channels: release (896), beta (1), (1), aurora (1)
  • Platforms: Windows (776), Darwin (71), Linux (52)
  • Targets: undefined (899)

4. out of memory @ unknown: Error: (watchTargets) - 340 errors (7.6%)

Error location:

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

Affected:

  • Channels: release (321), aurora (18), nightly (1)
  • Platforms: Windows (225), Darwin (63), Linux (52)
  • Targets: server0.conn0.watcher3 (213), server0.conn1.watcher3 (23), server0.conn3.watcher3 (20)

5. InternalError @ devtools-server.js: Error: (watchTargets) - 276 errors (6.2%)

Error location:

isAbsoluteURI@resource://devtools/shared/loader/base-loader.sys.mjs:62:25

Affected:

  • Channels: release (274), aurora (1), nightly (1)
  • Platforms: Windows (274), Darwin (1), Linux (1)
  • Targets: server0.conn0.watcher3 (8), server0.conn266.watcher3 (2), server0.conn268.watcher3 (1)

6. TypeError @ console-messages.js: Error: (watchResources) - 141 errors (3.2%)

Error location:

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

Affected:

  • Channels: release (141)
  • Platforms: Windows (116), Darwin (14), Linux (11)
  • Targets: server0.conn0.watcher3 (130), server0.conn1.watcher3 (3), server0.conn2.watcher3 (1)

7. SecurityError @ console-messages.js: Error: (watchResources) - 131 errors (2.9%)

Error location:

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

Affected:

  • Channels: release (131)
  • Platforms: Windows (106), Linux (14), Darwin (11)
  • Targets: server0.conn0.watcher3 (103), server0.conn1.watcher3 (8), server0.conn2.watcher3 (3)

8. InvalidStateError @ unknown: Error: (watchTargets) - 98 errors (2.2%)

Error location:

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

Affected:

  • Channels: release (96), aurora (2)
  • Platforms: Windows (79), Darwin (10), Linux (9)
  • Targets: server0.conn0.watcher3 (95), server0.conn2.watcher3 (2), server0.conn3.watcher3 (1)

9. out of memory @ unknown: Error: (watchResources) - 55 errors (1.2%)

Error location:

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

Affected:

  • Channels: release (52), aurora (3)
  • Platforms: Windows (38), Darwin (11), Linux (6)
  • Targets: server0.conn0.watcher3 (47), server0.conn1.watcher3 (2), server0.conn10.watcher3 (1)

10. TypeError @ document-events.js: Error: (watchResources) - 51 errors (1.1%)

Error location:

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

Affected:

  • Channels: release (51)
  • Platforms: Windows (39), Linux (6), Darwin (6)
  • Targets: server0.conn0.watcher3 (43), server0.conn1.watcher3 (2), server0.conn4.watcher3 (2)

Top Error Types Summary

  1. Error @ async-storage.js: getItemOnError - 1102 occurrences (24.7%)
  2. SecurityError @ document-events.js: listen - 990 occurrences (22.2%)
  3. TypeError @ toolbox.js: _getDebugTargetData - 899 occurrences (20.1%)
  4. out of memory @ unknown: onPacket/< - 340 occurrences (7.6%)
  5. InternalError @ devtools-server.js: isAbsoluteURI - 276 occurrences (6.2%)
  6. TypeError @ console-messages.js: watch - 141 occurrences (3.2%)
  7. SecurityError @ console-messages.js: watch - 131 occurrences (2.9%)
  8. InvalidStateError @ unknown: onNewTargetActor - 98 occurrences (2.2%)
  9. out of memory @ unknown: onPacket/< - 55 occurrences (1.2%)
  10. TypeError @ document-events.js: listen - 51 occurrences (1.1%)

Actionable Insights

    1. Error @ async-storage.js: getItemOnError accounts for 24.7% of all errors (1102 occurrences)
    1. release channel dominance: 95.3% of errors are from release
    1. Platform-specific: Error @ async-storage.js: getItemOnError is predominantly on Windows (974/1102 errors)

Recommendations

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

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

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

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

Priority 3: TypeError @ toolbox.js: _getDebugTargetData

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

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

  • File location: devtools/shared/protocol/Front.js:404:31
  • Impact: 7.6% of all errors

Priority 5: InternalError @ devtools-server.js: isAbsoluteURI

  • File location: devtools/shared/loader/base-loader.sys.mjs:62:25
  • Impact: 6.2% of all errors

DevTools Toolbox Server Protocol Errors (7-day analysis)

4462 errors recorded from 2026-03-14 22:05 to 2026-05-17 23:11. Top issues: Error @ async-storage.js: getItemOnError (1102 errors), SecurityError @ document-events.js: listen (990 errors), TypeError @ toolbox.js: _getDebugTargetData (899 errors). release channel represents 95.3% of errors. Windows accounts for 82.5% of errors.

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