Steps to reproduce:
- enable AdBlock Plus in Firefox
- add a rule for event.gif (Tools/AdBlock Plus/Filter preferences/Custom Filters, add filter group "test", add filter "event.gif")
- call mw.eventLog.logEvent
Expected result: call returns a failing promise
Actual result: call throws an exception
Apparently navigator.sendBeacon can do that (just like non-CORS AJAX requests) when the URL is blocked by the browser's security policy.