Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Can't login in MS Edge browser because of URLSearchParams is undefined
When entering credentials in login page (dedicated widget page with the login portlet) and Sign In button is clicked, in MS Edge browser there is error in the console (LR 7.2 GA1)
The broken script stops redirecting to private area so it is quite critical. It is weird as URLSearchParams should be supported by Edge. Surprisingly, no similar problem has been found in MSIE.
Does it work for you?
SCRIPT5009: 'URLSearchParams' is undefined
util.js (1164,5)
http://localhost:8080/o/frontend-js-web/liferay/util.js
The broken script stops redirecting to private area so it is quite critical. It is weird as URLSearchParams should be supported by Edge. Surprisingly, no similar problem has been found in MSIE.
Does it work for you?
I had a past interaction with this problem and the error got solved by using the latest MS Edge version on latest Windows 10 / Build 1803+
You are correct. Thanks to your answer I've found my system was not updating for several months! In actual version all works like a charm.
Hey Jan,
We load a lot of polyfills in MSIE to add support for things like URLSearchParams.
In the supported version of MSEdge, that API was already supported so we didn't need to add the polyfill which should result in faster load times ;)
Hope that makes sense!
We load a lot of polyfills in MSIE to add support for things like URLSearchParams.
In the supported version of MSEdge, that API was already supported so we didn't need to add the polyfill which should result in faster load times ;)
Hope that makes sense!
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™