Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

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

Select an option

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

DevTools Toolbox Error Analysis - Server Protocol Errors

Period: 2026-03-26 20:29 to 2026-04-07 23:58 Total Errors: 3184

Overview

The analysis reveals 3184 server protocol errors, with the most common error type being 'undefined' (46.0%). 92.7% occur on release. Windows users account for 81.8% of all errors.

Platform Distribution

  • Windows: 2604 errors (81.8%)
  • Darwin: 291 errors (9.1%)
  • Linux: 289 errors (9.1%)

Channel Distribution

  • release: 2951 errors (92.7%)
  • aurora: 143 errors (4.5%)
  • nightly: 84 errors (2.6%)
  • beta: 6 errors (0.2%)

Error Breakdown by Category

1. SecurityError: Error: (watchResources) - 867 errors (27.2%)

Error location:

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

Affected:

  • Channels: release (840), aurora (25), beta (2)
  • Platforms: Windows (732), Darwin (77), Linux (58)
  • Targets: server0.conn0.watcher3 (695), server0.conn1.watcher3 (51), server0.conn2.watcher3 (33)

2. TypeError: (undefined) - 843 errors (26.5%)

Error location:

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

Affected:

  • Channels: release (794), aurora (45), nightly (2), beta (2)
  • Platforms: Windows (724), Darwin (68), Linux (51)
  • Targets: undefined (843)

3. Error: (undefined) - 491 errors (15.4%)

Error location:

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

Affected:

  • Channels: release (453), aurora (30), nightly (7), beta (1)
  • Platforms: Windows (450), Linux (22), Darwin (19)
  • Targets: undefined (491)

4. out of memory: Error: (watchTargets) - 263 errors (8.3%)

Error location:

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

Affected:

  • Channels: release (237), aurora (26)
  • Platforms: Windows (171), Darwin (59), Linux (33)
  • Targets: server0.conn0.watcher3 (189), server0.conn1.watcher3 (17), server0.conn2.watcher3 (15)

5. SecurityError: Error: (watchResources) - 124 errors (3.9%)

Error location:

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

Affected:

  • Channels: release (123), aurora (1)
  • Platforms: Windows (99), Darwin (16), Linux (9)
  • Targets: server0.conn0.watcher3 (104), server0.conn1.watcher3 (6), server0.conn2.watcher3 (4)

6. TypeError: Error: (watchResources) - 117 errors (3.7%)

Error location:

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

Affected:

  • Channels: release (115), aurora (2)
  • Platforms: Windows (103), Linux (8), Darwin (6)
  • Targets: server0.conn0.watcher3 (112), server0.conn1.watcher3 (2), server0.conn2.watcher3 (1)

7. InvalidStateError: Error: (watchTargets) - 89 errors (2.8%)

Error location:

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

Affected:

  • Channels: release (87), aurora (2)
  • Platforms: Windows (59), Darwin (18), Linux (12)
  • Targets: server0.conn0.watcher3 (86), server0.conn2.watcher3 (1), server0.conn4.watcher3 (1)

8. TypeError: (undefined) - 74 errors (2.3%)

Error location:

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

Affected:

  • Channels: nightly (71), release (3)
  • Platforms: Linux (71), Windows (3)
  • Targets: undefined (74)

9. TypeError: Error: (watchResources) - 44 errors (1.4%)

Error location:

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

Affected:

  • Channels: release (43), aurora (1)
  • Platforms: Windows (38), Darwin (5), Linux (1)
  • Targets: server0.conn0.watcher3 (40), server0.conn1.watcher3 (1), server0.conn2.watcher3 (1)

10. AbortError: Error: (watchTargets) - 43 errors (1.4%)

Error location:

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

Affected:

  • Channels: release (40), aurora (3)
  • Platforms: Windows (38), Linux (3), Darwin (2)
  • Targets: server0.conn0.watcher3 (39), server0.conn1.watcher3 (2), server0.conn3.watcher3 (1)

Top Error Types Summary

  1. SecurityError: listen - 867 occurrences (27.2%)
  2. undefined: _getDebugTargetData - 843 occurrences (26.5%)
  3. undefined: getItemOnError - 491 occurrences (15.4%)
  4. out of memory: onPacket/< - 263 occurrences (8.3%)
  5. SecurityError: watch - 124 occurrences (3.9%)
  6. TypeError: watch - 117 occurrences (3.7%)
  7. InvalidStateError: onNewTargetActor - 89 occurrences (2.8%)
  8. undefined: focusInput - 74 occurrences (2.3%)
  9. TypeError: listen - 44 occurrences (1.4%)
  10. AbortError: onPacket/< - 43 occurrences (1.4%)

Actionable Insights

    1. SecurityError: listen accounts for 27.2% of all errors (867 occurrences)
    1. release channel dominance: 92.7% of errors are from release
    1. Platform-specific: SecurityError: listen is predominantly on Windows (732/867 errors)

Recommendations

Priority 1: SecurityError: listen

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

Priority 2: undefined: _getDebugTargetData

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

Priority 3: undefined: getItemOnError

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

Priority 4: out of memory: onPacket/<

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

Priority 5: SecurityError: watch

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

DevTools Toolbox Server Protocol Errors (7-day analysis)

3184 errors recorded from 2026-03-26 20:29 to 2026-04-07 23:58. Top issues: SecurityError: listen (867 errors), undefined: _getDebugTargetData (843 errors), undefined: getItemOnError (491 errors). release channel represents 92.7% of errors. Windows accounts for 81.8% of errors.

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