Error thrown when attempting to remove not installed subscription
Environment
- Browser and full version: 104.0.5112.79
- Extension using this toolkit: test-mv2
- Commit hash: 0.6.0
Steps to reproduce
Run EWE.subscriptions.remove("https://example.com/filters.txt")
.
Actual behavior
The following error is thrown:
Uncaught (in promise) TypeError: Cannot read properties of null (reading 'id')
at Object.remove (subscriptions.js:466:1)
Expected behavior
No error is thrown.