Skip to content

Commit 4d52b92

Browse files
aaspinwallclaude
andcommitted
fix(telemetry): drop events:["startup"] from Telemetry experiment API
events:["startup"] requires the ExtensionAPI to implement onStartup(); the Telemetry API doesn't, so declaring it threw "api.onStartup is not a function" and aborted the add-on's bootstrap startup. It was also unnecessary — an event-only API (cf. AccountHub) is available at background startup without it. The original "browser.Telemetry undefined" was a stale built-in packaging issue, not a startup-timing one. The background guard added earlier is retained. Refs #952 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent b434739 commit 4d52b92

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

packages/addon/public/manifest.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,10 +136,7 @@
136136
"Telemetry"
137137
]
138138
],
139-
"script": "api/Telemetry/implementation.js",
140-
"events": [
141-
"startup"
142-
]
139+
"script": "api/Telemetry/implementation.js"
143140
}
144141
}
145142
},

0 commit comments

Comments
 (0)