Commit patches provided to me by someone who Seemed Trustworthy At The Time

(should fix false negatives in shared-worker detection)
pull/1/head
Caleb James DeLisle 6 years ago
parent cb8888ea1a
commit a440359bc7

@ -884,7 +884,7 @@ define([
if (typeof(Worker) === "undefined") { if (typeof(Worker) === "undefined") {
Feedback.send('NO_WEBWORKER'); Feedback.send('NO_WEBWORKER');
} }
if (typeof(ServiceWorker) === "undefined") { if (!('serviceWorker' in navigator)) {
Feedback.send('NO_SERVICEWORKER'); Feedback.send('NO_SERVICEWORKER');
} }
if (!common.hasCSSVariables()) { if (!common.hasCSSVariables()) {

Loading…
Cancel
Save