NS 10.1.8.1rc2
As stated in the title, this appears not to be NS but Firefox bug, so this post is just for the record as people seem to have encountered similar problems before.
Steps to reproduce:
- - Page with media (e.g. https://commons.wikimedia.org/wiki/File ... mmunis.mp3)
- Only media privilege needed. Rest can be set to blocked but appear to make no difference.
1. Load media to cache by playing the media.
2. Set media to blocked.
3. Clear cache (interestingly, clearing just "Offline Website Data" has the same result).
4. Try to play media -> count badge increases indefinitely (refreshing page stops it).
As stated above, the bug appears not to be caused by NS, as it can be reproduced with minimal test-WebExtension. Simply blocking the request for the media in onBeforeRequest seems to cause Firefox to attempt loading the media indefinitely, though having the media in cache and clearing it just before seems to be important factor.