Open svanherk opened 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)
url.searchParams
URLSearchParams
_performSirenAction
GET
HEAD
url.searchParams
andURLSearchParams
are not supported by IE11. This is only hit if you call_performSirenAction
with aGET
orHEAD
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)