You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 22, 2026. It is now read-only.
Need to work out the exact specifics with regards to iframes both same-origin and cross-origin.
Same-origin iframes should probably be updated with the parent frame's preference overrides but in an opaque manner.
e.g. if the parent frame sets colorScheme to dark then the iframe should see prefers-color-scheme as dark but shouldn't read navigator.preferences.colorScheme as dark.
Whereas, cross-origin iframes should probably not be updated with the parent frame's preference overrides. This is an unfortunate limitation but is probably necessary to prevent new forms of data exfiltration.
Need to work out the exact specifics with regards to iframes both same-origin and cross-origin.
Same-origin iframes should probably be updated with the parent frame's preference overrides but in an opaque manner.
e.g. if the parent frame sets
colorSchemetodarkthen the iframe should seeprefers-color-schemeas dark but shouldn't readnavigator.preferences.colorSchemeasdark.Whereas, cross-origin iframes should probably not be updated with the parent frame's preference overrides. This is an unfortunate limitation but is probably necessary to prevent new forms of data exfiltration.