Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

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

Select an option

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

DevTools Toolbox Error Analysis - Server Protocol Errors

Period: 2026-03-27 16:21 to 2026-04-26 23:56 Total Errors: 6878

Overview

The analysis reveals 6878 server protocol errors, with the most common error type being 'undefined' (71.6%). 97.7% occur on release. Windows users account for 89.4% of all errors.

Platform Distribution

  • Windows: 6147 errors (89.4%)
  • Darwin: 377 errors (5.5%)
  • Linux: 354 errors (5.1%)

Channel Distribution

  • release: 6717 errors (97.7%)
  • aurora: 131 errors (1.9%)
  • beta: 16 errors (0.2%)
  • nightly: 9 errors (0.1%)
  • default: 5 errors (0.1%)

Error Breakdown by Category

1. Error: (undefined) - 3690 errors (53.6%)

Error location:

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

Affected:

  • Channels: release (3673), aurora (16), nightly (1)
  • Platforms: Windows (3652), Linux (29), Darwin (9)
  • Targets: undefined (3690)

2. TypeError: (undefined) - 1154 errors (16.8%)

Error location:

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

Affected:

  • Channels: release (1121), aurora (31), default (1), nightly (1)
  • Platforms: Windows (1011), Linux (77), Darwin (66)
  • Targets: undefined (1154)

3. SecurityError: Error: (watchResources) - 944 errors (13.7%)

Error location:

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

Affected:

  • Channels: release (915), aurora (25), default (2), beta (2)
  • Platforms: Windows (719), Linux (117), Darwin (108)
  • Targets: server0.conn0.watcher3 (752), server0.conn1.watcher3 (70), server0.conn2.watcher3 (40)

4. out of memory: Error: (watchTargets) - 286 errors (4.2%)

Error location:

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

Affected:

  • Channels: release (268), aurora (15), default (2), beta (1)
  • Platforms: Windows (157), Darwin (92), Linux (37)
  • Targets: server0.conn0.watcher3 (210), server0.conn2.watcher3 (15), server0.conn1.watcher3 (13)

5. SecurityError: Error: (watchResources) - 150 errors (2.2%)

Error location:

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

Affected:

  • Channels: release (145), aurora (4), beta (1)
  • Platforms: Windows (120), Linux (16), Darwin (14)
  • Targets: server0.conn0.watcher3 (120), server0.conn1.watcher3 (6), server0.conn2.watcher3 (6)

6. TypeError: Error: (watchResources) - 140 errors (2.0%)

Error location:

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

Affected:

  • Channels: release (138), aurora (2)
  • Platforms: Windows (116), Linux (13), Darwin (11)
  • Targets: server0.conn0.watcher3 (128), server0.conn5.watcher3 (2), server0.conn3.watcher3 (2)

7. InvalidStateError: Error: (watchTargets) - 92 errors (1.3%)

Error location:

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

Affected:

  • Channels: release (91), aurora (1)
  • Platforms: Windows (63), Linux (18), Darwin (11)
  • Targets: server0.conn0.watcher3 (90), server0.conn1.watcher3 (2)

8. TypeError: Error: (watchResources) - 49 errors (0.7%)

Error location:

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

Affected:

  • Channels: release (48), aurora (1)
  • Platforms: Windows (37), Darwin (11), Linux (1)
  • Targets: server0.conn0.watcher3 (42), server0.conn2.watcher3 (4), server0.conn35.watcher3 (1)

9. out of memory: Error: (watchResources) - 43 errors (0.6%)

Error location:

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

Affected:

  • Channels: release (42), aurora (1)
  • Platforms: Windows (23), Darwin (16), Linux (4)
  • Targets: server0.conn0.watcher3 (39), server0.conn6.watcher3 (2), server0.conn3.watcher3 (2)

10. AbortError: Error: (watchTargets) - 40 errors (0.6%)

Error location:

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

Affected:

  • Channels: release (35), aurora (5)
  • Platforms: Windows (26), Linux (8), Darwin (6)
  • Targets: server0.conn0.watcher3 (36), server0.conn1.watcher3 (2), server0.conn18.watcher3 (1)

Top Error Types Summary

  1. undefined: getItemOnError - 3690 occurrences (53.6%)
  2. undefined: _getDebugTargetData - 1154 occurrences (16.8%)
  3. SecurityError: listen - 944 occurrences (13.7%)
  4. out of memory: onPacket/< - 286 occurrences (4.2%)
  5. SecurityError: watch - 150 occurrences (2.2%)
  6. TypeError: watch - 140 occurrences (2.0%)
  7. InvalidStateError: onNewTargetActor - 92 occurrences (1.3%)
  8. TypeError: listen - 49 occurrences (0.7%)
  9. out of memory: onPacket/< - 43 occurrences (0.6%)
  10. AbortError: onPacket/< - 40 occurrences (0.6%)

Actionable Insights

    1. undefined: getItemOnError accounts for 53.6% of all errors (3690 occurrences)
    1. release channel dominance: 97.7% of errors are from release
    1. Platform-specific: undefined: getItemOnError is predominantly on Windows (3652/3690 errors)

Recommendations

Priority 1: undefined: getItemOnError

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

Priority 2: undefined: _getDebugTargetData

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

Priority 3: SecurityError: listen

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

Priority 4: out of memory: onPacket/<

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

Priority 5: SecurityError: watch

  • File location: devtools/server/actors/resources/console-messages.js:93:7
  • Impact: 2.2% of all errors

DevTools Toolbox Server Protocol Errors (7-day analysis)

6878 errors recorded from 2026-03-27 16:21 to 2026-04-26 23:56. Top issues: undefined: getItemOnError (3690 errors), undefined: _getDebugTargetData (1154 errors), SecurityError: listen (944 errors). release channel represents 97.7% of errors. Windows accounts for 89.4% of errors.

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