Using `globalThis.setTimeout()` vs `InjectedScript.window.setTimeout()` makes a big difference. The former retains in the main Trace Viewer window, while the latter only retains in the snapshot iframe window, which is collected upon rendering a new snapshot. |
||
|---|---|---|
| .. | ||
| public | ||
| src | ||
| .gitignore | ||
| bundle.ts | ||
| embedded.html | ||
| index.html | ||
| package.json | ||
| recorder.html | ||
| snapshot.html | ||
| tsconfig.json | ||
| tsconfig.node.json | ||
| uiMode.html | ||
| vite.config.ts | ||
| vite.sw.config.ts | ||