New issue
Advanced search Search tips

Issue 908735 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Android , Windows , Chrome , Mac
Pri: 2
Type: Bug



Sign in to add a comment

Call SetTerminateSyncLoadEvent for shared workers and service workers

Project Member Reported by nhiroki@chromium.org, Nov 27

Issue description

Currently, WebWorkerFetchContext::SetTerminateSyncLoadEvent() is called from ThreadedMessagingProxyBase::InitializeWorkerThread(). This works well for dedicated workers and worklets, but doesn't for shared workers and service workers because they don't use ThreadedMessagingProxyBase.

We should call the function for shared workers and service workers from somewhere to ensure worker termination during sync resource requests (i.e., importScripts() and SyncXHR).
 

Sign in to add a comment