Add FIXME comment and fix arrow-parens lint

This commit is contained in:
zk-wz 2026-05-23 14:14:47 +08:00
parent ae2b55fb96
commit 91bec58ddf
1 changed files with 3 additions and 1 deletions

View File

@ -183,7 +183,9 @@ async function _checkWebCodecsH264DecodeSupport() {
return true;
}
_checkWebCodecsH264DecodeSupport().then(result => {
// FIXME: Avoid top-level await due to a Chromium bug where Decoder.flush()
// can hang indefinitely on some Android devices, blocking module evaluation.
_checkWebCodecsH264DecodeSupport().then((result) => {
supportsWebCodecsH264Decode = result;
});