question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

url-polyfill is loaded in Safari when not required

See original GitHub issue

Seems to be because Safari escapes the pathname set by url-polyfill.js#L173, causing the comparison (u.href === 'http://a/c%20d') to return false:

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
lifaon74commented, Sep 3, 2018

I don’t have Safari on the hand. Could you fix it on your side, run the tests and create a pull request please ?

0reactions
lifaon74commented, Jan 29, 2020

Ok, version 1.1.8 released. Tell if everything is OK

Read more comments on GitHub >

github_iconTop Results From Across the Web

Loading Polyfills Only When Needed - Philip Walton
The solution to this problem is to only load polyfills when they're ... The solution must not require supporting browsers to download any ......
Read more >
intersection observer polyfill not working Safari - Stack Overflow
This works fine native in Chromem,Firefox and IE called Intersection Observer. However this is not working in Safari. There has been created a...
Read more >
Polyfills: everything you ever wanted to know, or maybe a bit ...
No polyfills, no transpiling, it will Just Work. ... visitors use ye olde internet explorer, or UC browser, or Safari from two weeks...
Read more >
How to load polyfills only when needed
I know three ready-to-use approaches for that: polyfill.io; the module / nomodule pattern; the useBuiltIns option in @babel/preset-env ...
Read more >
Polyfill.io
Why do I need it? There are lots of differing browsers and browser versions in use throughout the world, each one has a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found