content
content copied to clipboard
fix: add a missing word in getBytesInUse
Summary
getBytesInUse function was missing a word in a description of its parameters, wrongly implying that passing any array would return a 0 value while in reality only passing an empty array return a 0 value, not any array
Motivation
Avoids confusing the readers on how to use this API
Supporting details
Chrome API description correctly states that
An empty list will return 0.
Related issues
None
Metadata
- [ ] Adds a new document
- [ ] Rewrites (or significantly expands) a document
- [x] Fixes a typo, bug, or other error
Preview URLs
Flaws
None! 🎉
External URLs
URL: /en-US/docs/Mozilla/Add-ons/WebExtensions/API/storage/StorageArea/getBytesInUse
Title: StorageArea.getBytesInUse()
on GitHub
No new external URLs