-
Notifications
You must be signed in to change notification settings - Fork 9
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
document.suborigin or something should allow JS to detect if in suborigin #35
Comments
Note that apart from document.origin, we also have self.origin these days. They are subtly different in edge cases. |
ohh .. didn't know that. do you have a link explaining this? On 9 May 2016 at 10:23, Anne van Kesteren [email protected] wrote:
|
whatwg/html#951 (comment) is the best I have thus far. |
@jeisinger thoughts on this? |
I'd propose to go with self.suborigin to mirror self.origin. As @annevk pointed out, document.origin is deprecated |
We could also go with self.origin returning the ExtendedOrigin object similar to what we did in postMessage. That seems cleaner IMO. |
That kind of generalization would work better for Origin Isolation too (I think we'd want to expose that to JavaScript, though I don't think we want to change |
No description provided.
The text was updated successfully, but these errors were encountered: