Skip to content
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

There's no such thing as current browsing context. A browsing context also has no URL path. #200

Closed
kenchris opened this issue Feb 21, 2019 · 4 comments
Labels
Origin Trial Issues that would be good to solve before OT

Comments

@kenchris
Copy link
Contributor

There's no such thing as current browsing context. A browsing context also has no URL path.

@kenchris kenchris added the Origin Trial Issues that would be good to solve before OT label Feb 21, 2019
@kenchris
Copy link
Contributor Author

Comment from @annevk:

So you need to figure out what object you want the URL from and find a way from where you are now to there. I don't really see how browsing contexts relate here since they don't carry URLs.

@kenchris
Copy link
Contributor Author

So we have the environment settings object which has a https://html.spec.whatwg.org/multipage/webappapis.html#responsible-document

Which has location which has a path.

@zolkis I assume this is what we are after?

@kenchris
Copy link
Contributor Author

kenchris commented Feb 21, 2019

But then there are comments like
image

So I guess what we need is the environment settings object's responsible document's URL path

Would that be correct @annevk ?

@annevk
Copy link
Member

annevk commented Feb 21, 2019

You need a particular environment settings object (relevant or current I suspect), though you could also use a particular global object. "URL path" is also nothing, strictly speaking. You need a URL's path.

kenchris added a commit to kenchris/web-nfc that referenced this issue Feb 22, 2019
kenchris added a commit to kenchris/web-nfc that referenced this issue Feb 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Origin Trial Issues that would be good to solve before OT
Projects
None yet
Development

No branches or pull requests

2 participants