- The server outputs a small chunk, containing script to execute every 100ms.
- Output is delimited by //--// so the the client can identify safe chunks of JS to evaluate.
- When the time between script executions approaches the server-side delay, the browser is handling the stream progressively.
- The test completes when the time between calls is >50ms (accounting for poor timer resolution) or after 30 chunks.
- Times in debug output are the time between script executions.