wasm tests: Enable cross origin isolation for Selenium tests
This change enables running Selenium tests with multithreading. Change-Id: I2a3e170cb6681142193f33d45bb0d1733034e405 Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io> Reviewed-by: Even Oscar Andersen <even.oscar.andersen@qt.io>
This commit is contained in:
parent
a13eb28329
commit
aec007d516
@ -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"
|
||||
|
@ -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 $@
|
||||
|
Loading…
x
Reference in New Issue
Block a user