Open Bug 1883145 Opened 1 years ago Updated 1 year ago

crossOriginIsolated false in service worker when it should be true

Categories

(Core :: DOM: Service Workers, defect, P2)

Firefox 115
defect

Tracking

()

UNCONFIRMED

People

(Reporter: 3838shah, Unassigned, NeedInfo)

Details

Attachments

(2 files)

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36

Steps to reproduce:

--- with demo ---
go to https://anura.pro
Pass initial setup (just click normal user)
Open "About browser" if using example site
enter URL

--- without demo ---
serve a cors isolated page with headers
"Cross-Origin-Embedder-Policy: require-corp
"Access-Control-Allow-Origin: *
"Cross-Origin-Opener-Policy: same-origin
"Cross-Origin-Resource-Policy: same-site
and a service worker which checks for crossOriginIsolated
service worker will get false when should be true

Actual results:

Failure (Page blocked message) as "crossOriginIsolated" in the service worker at this line https://github.com/titaniumnetwork-dev/Ultraviolet/blob/c963d4511febcca6249e22d46227f2813d35935a/src/uv.sw.js#L269 shows up as false despite all assets being served with appropriate headers

Expected results:

Website should navigate in "about browser" app like behavior in webkit and blink

https://imgur.com/a/DAqXASc issue in firefox dev tools (discrepancy in crossOriginIsolated)

The Bugbug bot thinks this bug should belong to the 'Core::DOM: Service Workers' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → DOM: Service Workers
Product: Firefox → Core

ni me for find time to take a look on this issue.

Severity: -- → S3
Flags: needinfo?(echuang)
Priority: -- → P2
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: