Files
vscode/extensions/vscode-api-tests/testWorkspace/index.html
T
Kyle Cutler 3704d95c91 Support frames / workers in browser CDP (#311049)
* Support frames / workers in browser CDP

Co-authored-by: Copilot <copilot@github.com>

* path fix

Co-authored-by: Copilot <copilot@github.com>

* feedback

* Normalize blank URLs

Co-authored-by: Copilot <copilot@github.com>

---------

Co-authored-by: Copilot <copilot@github.com>
2026-04-17 11:47:17 -07:00

16 lines
283 B
HTML

<!DOCTYPE html>
<html>
<head><title>Test Page</title></head>
<body>
<script>
const worker = new Worker("worker.js");
function sendMessage(text) {
return new Promise(resolve => {
worker.onmessage = e => resolve(e.data);
worker.postMessage(text);
});
}
</script>
</body>
</html>