w3c / webappsec-secure-contexts

WebAppSec Secure Contexts
https://w3c.github.io/webappsec-secure-contexts/
Other
33 stars 38 forks source link

Consider "potentially trustworthy" for responses #63

Closed jyasskin closed 3 years ago

jyasskin commented 5 years ago

https://github.com/WICG/webpackage/pull/352 would like to figure out if a response is potentially trustworthy. It's straightforward to check if the response's URL or origin is potentially trustworthy, but this differs from the calculation for environment settings objects in that it allows responses with an HTTPS state of "deprecated" and doesn't pay any attention to the sandbox CSP directive.

This spec is a more reliable place to define this than the web packaging spec, since security folks won't think to update that if new information gets added to responses.

annevk commented 4 years ago

https://github.com/whatwg/html/issues/4930 needs something similar I think. In particular determining the secure context state of a response that is being navigated to combined with its future parent document (or null) or some such.

annevk commented 3 years ago

Now that HTTPS state is gone I don't think this is a problem anymore. Let me know if I missed anything.