Skip to content

Commit 4e62649

Browse files
authored
[WebExtensions] Chrome limits for alarms.create() (#29521)
[WebExtensions] Limits for alarms.create() Chrome limits amount of storage which extension alarms can consume: - Chrome 117 limited extensions to 500 alarms each - Chrome 150 will limit lengths of new alarm names to 1024 bytes Sources: https://groups.google.com/a/chromium.org/g/chromium-extensions/c/8ZFwgCg-DvU/m/AxLjInQWAQAJ chromium/chromium@96b9501
1 parent 086f98d commit 4e62649

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

webextensions/api/alarms.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,11 @@
101101
"mdn_url": "https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/alarms/create",
102102
"support": {
103103
"chrome": {
104-
"version_added": "22"
104+
"version_added": "22",
105+
"notes": [
106+
"From Chrome 117, alarms are limited to 500 per extension.",
107+
"From Chrome 150, alarm names are limited to 1024 bytes."
108+
]
105109
},
106110
"edge": "mirror",
107111
"firefox": {

0 commit comments

Comments
 (0)