-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
Error using URL object in safari #8726
Comments
@dennererthal01 Did you fix your problem ? I have the same issue but the fixing PR has been closed. |
@GinjiBan currently I stopped using URL().searchParams, which seems to be the only method broken. I'm using both URLSearchParams() and URL().search. |
I'm a student at Seneca college learning open source, and I was hoping to work on this bug for my course. If no one else is currently working on it, I'd like to give it a try :) |
@St3v3n-D Nobody indicated that they're working on it, so it's yours! |
This URL polyfill breaks some other parts of my application - my temporary work-around for this is to include another polyfill after pdf.js is required so older browsers (and safari) are polyfilled twice but end up with a working version! |
Fixed by #9868. |
Configuration:
Steps to reproduce the problem:
new URL(location).searchParams.get('param')
What is the expected behavior?
The browser should check if the provided URL has the specified parameter (screenshot from Google Chrome).
What went wrong?
On safari, it changes the URL and redirects it, breaking the page.
The text was updated successfully, but these errors were encountered: