Service workers requests blocked by the Brave Shield

Description of the issue:

Brave Shield blocks service worker requests whether the shield is enabled or disabled.

Steps to Reproduce:

  1. Connect to https://fresh-river-58.app.baqend.com/
  2. Disable Brave shield.
  3. Open dev tools and navigate to the network tab.
  4. Reload the page to see the failed requests in the network tab.

Actual Result:

The service worker requests are blocked. (Screenshot below)

Expected result:

The request should not be blocked

Reproduces how often:

Always

Brave Version:

V1.44.108

Reproducible on current live release:

Yes

Additional Information:

The Brave Shield works as expected when Service Workers are disabled (Open Dev Tools > Go to Application tab > Click Service Workers on the left > Tick “Bypass for Network”).

Here’s a summary of outcomes:

Service Worker Brave Shield Are Service Worker Requests blocked?
Enabled Enabled Yes
Enabled Disabled Yes
Disabled Enabled Yes
Disabled Disabled No