-
Notifications
You must be signed in to change notification settings - Fork 40
Restrict API to secure contexts #413
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
Conversation
Looks good. Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
\o/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One typo, looks good to me otherwise
index.html
Outdated
Security Contexts"</code> and any member of | ||
<var>presentationUrls</var> is an <a>a priori unauthenticated | ||
URL</a>, then throw a <a>SecurityError</a> and abort these steps. | ||
<li>If any member of <var>presentationUrls</var> is an not an <a>a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/an not an/not an/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
LGTM. I noticed there's a ReSpec auto-linking issue ([SecureContext] links are broken) and reported it at https://github.com/w3c/respec/issues/989#issuecomment-282699377 We don't need to block on the ReSpec bug, and we're good to merge when comments have been addressed (can manually fix the broken links at publication time). |
Address Issue #380: Authenticity of screen selection permission is problematic in insecure contexts
This restricts the use of Presentation API to secure contexts through the use of
[SecureContext]
. Also:https: