diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 1de28677a3..77406ad7e1 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -128,25 +128,39 @@ jobs: -a no-sandbox \ -f http://localhost:3000/tests/ffmpeg-st.test.html 2>&1 | tee st-test.log - # Run multi-threaded tests with additional SharedArrayBuffer flags + # Run multi-threaded tests echo "Running multi-threaded tests..." - CHROME_FLAGS="$CHROME_FLAGS --enable-features=SharedArrayBuffer,CrossOriginIsolation --cross-origin-isolated" - - # Debug SharedArrayBuffer availability - echo "Testing SharedArrayBuffer availability..." - cat << EOF > debug-sab.js - console.log('SharedArrayBuffer available:', typeof SharedArrayBuffer !== 'undefined'); - console.log('crossOriginIsolated:', window.crossOriginIsolated); + # Create a test script to verify browser environment + cat << EOF > verify-browser.html + + +
+