disable service worker on Edge

This commit is contained in:
Danny Coates 2019-02-19 18:53:55 -08:00
parent e5f9673521
commit ec356b703f
No known key found for this signature in database
GPG Key ID: 4C442633C62E00CB

View File

@ -75,7 +75,8 @@ async function polyfillStreams() {
}
export default async function getCapabilities() {
const serviceWorker = 'serviceWorker' in navigator;
const serviceWorker =
'serviceWorker' in navigator && browserName() !== 'edge';
let crypto = await checkCrypto();
const nativeStreams = checkStreams();
let polyStreams = false;