From 91bec58ddf8c26f237808ffa213e2cec3f892660 Mon Sep 17 00:00:00 2001 From: zk-wz Date: Sat, 23 May 2026 14:14:47 +0800 Subject: [PATCH] Add FIXME comment and fix arrow-parens lint --- core/util/browser.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/util/browser.js b/core/util/browser.js index 4eba4659..c613a7e9 100644 --- a/core/util/browser.js +++ b/core/util/browser.js @@ -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; });