Git commits in Moodle 3.8.x by Sam Hemelryk

commit ede71aea737081bf4b45980858a770e3d7a82746
Author: Sam Hemelryk <sam.hemelryk@totaralearning.com>
Date:   Tue, 15 Oct 2019 12:28:25 +0800
Tag:    v3.8.2

MDL-67175 mod_scorm: sync XHR requests use sendBeacon when available