You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 13, 2020. It is now read-only.
Repository navigation
This repository was archived by the owner on Jul 13, 2020. It is now read-only.
The URL constructor in IE/Edge exists but cannot be called as a constructor. So the feature inference of "function" passes and then errors out when used.
The URL constructor is currently marked as "under consideration" on status.modern.ie. So it looks like IE/Edge's is from an earlier form of it. I think modifying the feature check from:
Thanks, the build in this project actually always uses the polyfill directly - it's just SystemJS that loads it as a separate step. Mainly because there is a lot of pressure to show a low footprint loader.
Activity
guybedford commentedon Jun 12, 2015
Thanks! Is there an alternative you would suggest? Is there a better way to call it in Edge?
jdalton commentedon Jun 12, 2015
The
URLconstructor is currently marked as "under consideration" on status.modern.ie. So it looks like IE/Edge's is from an earlier form of it. I think modifying the feature check from:to something like
should do it.
guybedford commentedon Jun 13, 2015
Thanks, the build in this project actually always uses the polyfill directly - it's just SystemJS that loads it as a separate step. Mainly because there is a lot of pressure to show a low footprint loader.
Fixed this up in SystemJS at systemjs/systemjs@47d9bf0.
probins commentedon Jun 13, 2015
strange: according to https://developer.mozilla.org/en-US/docs/Web/API/URL#Browser_compatibility the URL constructor is supported in IE from v10. Is that not correct?
jdalton commentedon Jun 13, 2015
While the
URLfunction exists, calling it as a constructor, a relatively newer addition, is not supported yet.probins commentedon Jun 13, 2015
ah yes, right, that's this page https://developer.mozilla.org/en-US/docs/Web/API/URL/URL