Error using URL object in safari
See original GitHub issueConfiguration:
- Web browser and its version: Safari Version 10.1.1 (12603.2.4)
- Operating system and its version: macOS Sierra Version 10.12.5
- PDF.js version: 1.8.593
- Is an extension: No
Steps to reproduce the problem:
- Include pdf.js on any html file and load that file
- Open developer console and paste the following code:
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.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:3
- Comments:6 (2 by maintainers)
Top Results From Across the Web
createObjectURL: Type Error in Safari when using Blob
Looking at the document of video.js-record, player.recordedData is not a Blob (what you would need to pass to createObjectUrl ) but an array ......
Read more >URL Loading System Error Codes - Apple Developer
Error codes returned by URL loading APIs. ... The URL Loading System received bad data from the server. NSURLErrorBadURL. A malformed URL prevented...
Read more >URL() - Web APIs - MDN Web Docs - Mozilla
The URL() constructor returns a newly created URL object representing the URL defined by the parameters.
Read more >Safari cannot open the page - The error was, "The URL can't ...
CSShared Object is one which has a custom object · data. · DEEPLINKDOMAIN is the domain of deeplink Domain generate by fire base...
Read more >On iPad Safari Dev Tool Getting Error "Refused to execute ...
NOTE: if the URL is pointing to a resource on your org use a relative ... Open a record of the same object...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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 😃
Fixed by #9868.