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

IE11 object missing most fields #65

Open
dmt0 opened this issue Dec 17, 2020 · 4 comments
Open

IE11 object missing most fields #65

dmt0 opened this issue Dec 17, 2020 · 4 comments

Comments

@dmt0
Copy link

dmt0 commented Dec 17, 2020

Here's my example URL:
https://dash.local/Auth/o/authorize/?response_type=token&client_id=eC5Tuezee6eebahn5xo9moo4edai2weepheethah&redirect_uri=https://dash.local/Manager/oauth2-redirect&state=Manager

When I parse it in Chrome:

hash: ""
host: "dash.local"
hostname: "dash.local"
href: "https://dash.local/Auth/o/authorize/?response_type=token&client_id=eC5Tuezee6eebahn5xo9moo4edai2weepheethah&redirect_uri=https://dash.local/Manager/oauth2-redirect&state=Manager"
origin: "https://dash.local"
password: ""
pathname: "/Auth/o/authorize/"
port: ""
protocol: "https:"
search: "?response_type=token&client_id=eC5Tuezee6eebahn5xo9moo4edai2weepheethah&redirect_uri=https://dash.local/Manager/oauth2-redirect&state=Manager"
searchParams: URLSearchParams {}
username: ""
__proto__: URL

When I parse it in IE11 (that thing won't let me copy/paste...):

image

host, hostname, protocol are all missing.

@dmt0
Copy link
Author

dmt0 commented Dec 17, 2020

@sashaweiss
Copy link

FWIW, was just experimenting with this polyfill and tried the URL you provided above, and it seems to parse correctly:

image

@dmt0
Copy link
Author

dmt0 commented Feb 18, 2021

Yeah, that's weird. Gonna give it another shot when I have my hands on IE again.

@jimmywarting
Copy link

ie = dead

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants