Updated Polyscript with its workers feature (#2104)

* Updated Polyscript with its workers feature
* Worked around the inconsistent behavior between Pyodide and MicroPython
* Fixed Pyodide greedy access to undesired Proxy fields
This commit is contained in:
Andrea Giammarchi
2024-06-26 14:01:22 +02:00
committed by GitHub
parent 7b8ef7ebe2
commit 6f49f18937
10 changed files with 204 additions and 83 deletions

View File

@@ -93,3 +93,8 @@ test('MicroPython + Storage', async ({ page }) => {
await page.goto('http://localhost:8080/test/storage.html');
await page.waitForSelector('html.ok');
});
test('MicroPython + workers', async ({ page }) => {
await page.goto('http://localhost:8080/test/workers/index.html');
await page.waitForSelector('html.mpy.py');
});