From a66218d457859fc3498db9fbc61228c74f490cc2 Mon Sep 17 00:00:00 2001 From: Luca Casonato Date: Wed, 18 Aug 2021 15:19:22 +0200 Subject: fix(runtime): event loop panics in classic workers (#11756) Classic worker scripts are now executed in the context of a Tokio runtime. This does mean we can not spawn more tokio runtimes in "op_worker_sync_fetch". We instead spawn a new thread there, that can create a new Tokio runtime that we can use to block the worker thread. --- tools/wpt/expectation.json | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'tools') diff --git a/tools/wpt/expectation.json b/tools/wpt/expectation.json index 6e0cec2b0..5d1ffa446 100644 --- a/tools/wpt/expectation.json +++ b/tools/wpt/expectation.json @@ -16744,13 +16744,7 @@ "Cross-origin throw", "Redirect-to-cross-origin syntax error", "Redirect-to-Cross-origin throw" - ], - "report-error-cross-origin.sub.any.worker.html": false, - "report-error-redirect-to-cross-origin.sub.any.worker.html": false, - "report-error-same-origin.sub.any.worker.html": false, - "report-error-setTimeout-cross-origin.sub.any.worker.html": false, - "report-error-setTimeout-redirect-to-cross-origin.sub.any.worker.html": false, - "report-error-setTimeout-same-origin.sub.any.worker.html": false + ] } } }, -- cgit v1.2.3