Brightspace / polymer-siren-behaviors

utility library for shared behaviors for building siren resource based web-components
Apache License 2.0
0 stars 5 forks source link

Does not work in IE11 #41

Open svanherk opened 5 years ago

svanherk commented 5 years ago

url.searchParams and URLSearchParams are not supported by IE11. This is only hit if you call _performSirenAction with a GET or HEAD method. Instead of adding a large polyfill that will need to be added to BSI and downloaded by everyone, we could just rewrite these functions to do some parsing ourselves (example: https://github.com/BrightspaceHypermediaComponents/common/blob/master/components/d2l-hm-filter/d2l-hm-filter.js#L442)