Files
rive-cpp/tests/gm/gms_parallel.html
csmartdalton 6efab9c56f feat: Update goldens and player to deploy in the browser (#10453) 827077b899
Set up http and websocket servers in deploy_tests.py that allow us to
communicate with the remote wasm app similarly to how we communicate
with android & ios devices. Add a "-w" target to check_golds.sh that
kicks tests off in the default browser.

Co-authored-by: Chris Dalton <99840794+csmartdalton@users.noreply.github.com>
2025-08-27 02:58:49 +00:00

16 lines
442 B
HTML

<!--
Experiment to run the tests in multiple popup windows.
No perf improvement has been observed.
-->
<script>
for (let i = 0; i < 4; ++i) {
const x = (i % 2) * 450;
const y = Math.floor(i / 2) * 550;
window.open(
`gms.html${window.location.hash}`,
`gms_${i + 1}`,
`width=${400},height=${400},top=${y},left=${x},toolbar=no,menubar=no,scrollbars=no,resizable=no,location=no,status=no`
);
}
</script>