curious, although firefox 77 cannot load blazor.server.js, the below script says that it supports a bunch of ES6 features.
What feature is Firefox lacking which prevents loading Blazor lib?
function HasEs6Support() {
"use strict";
if (typeof Symbol == "undefined") return false;
try {
// Arrow functions support
() => {};
// Class support
class __ES6FeatureDetectionTest {
};
// Object initializer property and method shorthands
let a = true;
let b = {
a,
c() {
return true;
},
d: [1, 2, 3],
};
// Object destructuring
let { c, d } = b;
// Spread operator
let e = [...d, 4];
return true;
} catch (e) {
return false;
}
}
furthermore, according to the featurelist at https://kangax.github.io/compat-table/es6/
there is NO difference between firefox 77 and 78. But the difference is, 78 loads the page correctly, where 77 does not.
I don't know why.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…