w3c / webappsec-secure-contexts

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

Missing ""s when referring to results of "Is origin potentially trustworthy? #35

Closed domenic closed 7 years ago

domenic commented 8 years ago

Step 6 of "Is settings object a secure context?" says

If the result of executing the §3.2 Is origin potentially trustworthy? algorithm on origin is not Potentially Trustworthy, then return "Not Secure".

but the return value of 3.2 is a string, so this should be

If the result of executing the §3.2 Is origin potentially trustworthy? algorithm on origin is not "Potentially Trustworthy", then return "Not Secure".

Similarly 7.2 says

even though §3.2 Is origin potentially trustworthy? would normally return Not Trusted.

but should say

even though §3.2 Is origin potentially trustworthy? would normally return "Not Trusted".

mikewest commented 7 years ago

Thanks!