-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Defaults aren't clear to me #26
Comments
I think both of these statements can be true -- Whether a feature is enabled by default in embedded contexts depends on the feature, and for geolocation, the default is enabled. The first example shows how a default-enabled feature can be disabled for an origin (and all embedded content). The second example shows how a default-enabled features can be disabled for an origin, but then re-enabled for a specific embedded third-party. None of the examples shows a default-disabled feature. Actually, I don't think that we've actually defined one -- just left space in the spec for such a feature to be defined in the future. Those last two sentences should probably be moved somewhere else, since they don't really apply to that example. |
Oh .. so if a policy is in the disable policy section, it is default-enabled, and if it is in the enable policy section, it is default-disabled? Can a feature have a different default based on whether it is in an embedded context? For permissions delegation to be effective it is important that all permissions are disabled by default in embedded contexts. |
+1 We need to decide which permissions/features we want to disable by default in embedded contexts for v1 and add that somewhere. |
Iterating on this in #33 -- please chime in there. |
In particular for embedded contexts, it's not clear to me if features are enabled or disabled by default.
From the examples:
The first example implies that geolocation is enabled by default in frames. The second implies that it depends on the feature. Maybe this is covered elsewhere in the spec and I just didn't see it?
The text was updated successfully, but these errors were encountered: