BrowserSupport: Add Ogg/Wasm test

This commit is contained in:
LoveEevee 2020-11-09 17:32:36 +03:00
parent 6c7d8803bb
commit 23214d14c3

View File

@ -50,6 +50,9 @@ function browserSupport(){
},
"Font Loading API": function(){
return typeof FontFace === "function"
},
"OGG or WebAssembly": function(){
return new Audio().canPlayType("audio/ogg;codecs=vorbis") || "WebAssembly" in window
}
}
failedTests = []