diff --git a/tests/auto/wasm/selenium/run.bat b/tests/auto/wasm/selenium/run.bat index 56305c72c3e..3dafdae5e4b 100644 --- a/tests/auto/wasm/selenium/run.bat +++ b/tests/auto/wasm/selenium/run.bat @@ -4,6 +4,6 @@ :: The highest version of python that can be used is 3.11 :: Download from here: https://www.python.org/downloads/release/python-3118/ :: -start "qtwasmserver.py" python qtwasmserver.py -p 8001 +start "qtwasmserver.py" python qtwasmserver.py --cross-origin-isolation -p 8001 python qwasmwindow.py taskkill /FI "WINDOWTITLE eq qtwasmserver.py" diff --git a/tests/auto/wasm/selenium/run.sh b/tests/auto/wasm/selenium/run.sh index b9a41ace8c5..eab38ccab05 100755 --- a/tests/auto/wasm/selenium/run.sh +++ b/tests/auto/wasm/selenium/run.sh @@ -52,7 +52,7 @@ fi script_dir=`dirname ${BASH_SOURCE[0]}` cd "$script_dir" -$python_command qtwasmserver.py -p 8001 > /dev/null 2>&1 & +$python_command qtwasmserver.py --cross-origin-isolation -p 8001 > /dev/null 2>&1 & cleanupPid=$! $python_command qwasmwindow.py $@