Use fetch with keepalive: true instead of navigator.sendBeacon
This allows customizing the headers of the request. It has the same semantics as `navigator.sendBeacon` and it's the recommended alternative to `sendBeacon` for customizing the request: https://www.w3.org/TR/beacon/#introduction This commit also fixes `settings.requestHandler` not being called when using `settings.sendBeaconCommit`.
This commit is contained in:
2
dist/scorm2004.min.js
vendored
2
dist/scorm2004.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user