1// !!! for update iterate manually `browser_compatibility_serial` 2"use strict"; 3try { 4 (function () { 5 var cssRequirements = [["display", "flex"], ["display", "grid"], ["color", "red"]]; 6 for (var i in cssRequirements) { 7 if (!CSS.supports(cssRequirements[i][0], cssRequirements[i][1])) { 8 throw "no-" + cssRequirements[i][0] + "-" + cssRequirements[i][1]; 9 } 10 } 11 try { 12 new XMLHttpRequest(); 13 } 14 catch (pass) { 15 throw "no-ajax"; 16 } 17 try { 18 eval("var foo = (x)=>x+1"); 19 } 20 catch (pass) { 21 throw "no-es6"; 22 } 23 try { 24 eval("var foo = {}; var bar = {...foo};") 25 } 26 catch (pass) { 27 throw "no-spread"; 28 } 29 try { 30 new AbortController() 31 } 32 catch (pass) { 33 throw "no-abort-controller"; 34 } 35 })(); 36} 37catch (e) { 38 var utm = ""; 39 if (typeof e == "string" && /^[a-z0-9\-]+$/.test(e)) { 40 utm = "?err=" + e; 41 } 42 window.location.replace("/unsupported/" + utm); 43}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.