WPT details: https://wpt.fyi/results/service-workers/service-worker/local-url-inherit-controller.https.html Same-origin blob URL sharedworker should inherit service worker controller. Same-origin blob URL sharedworker should intercept fetch(). The tests ensure a ServiceWorkerController is inherited. Due to crbug.com/40364838, Chromium does not pass the former test.
According to https://w3c.github.io/ServiceWorker/#control-and-use-worker-client, workers should inherit controllers for the blob URL. However, existing code allows only dedicated workers to inherit the controller, and shared workers do not inherit the controller. This is the fix to make Chromium behavior adjust to the specification.
Since the current implementation does not inherit a controller for the blob URLs, the SharedWorker's controller can be different from a controller it made the SharedWorker, and web developers may need to track it manually. Especially, since the behavior is not aligned with the specification, the web developers should implement this workaround for Chromium.