-
Notifications
You must be signed in to change notification settings - Fork 164
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
Using [SecureContext] when it's implied? #420
Comments
So after discussing this on irc a bit, here are a couple of thoughts:
I've added a note to #365 about this. Do you think this warrants a note in the spec in the meantime? E.g.:
|
Mozilla would like as many new APIs as possible to be marked as such, so I'd rather this not go into specifics. Might give people the wrong idea. |
To answer OP, you don't have to specify it on partial interfaces per the current text (though it's allowed), so closing this. (I did spot a problem with partial interfaces though and filed #877 on that.) |
In some situations
[SecureContext]
is implied through an object's exposure. Concretely, interfaces only exposed in Service Workers are per definition limited to secure contexts because Service Workers themselves are. Should we still specify[SecureContext]
on such interfaces? It's clear, but redundant.This came up in w3c/push-api#284 for the
PushEvent
andPushSubscriptionChangeEvent
interfaces.The text was updated successfully, but these errors were encountered: