The test case is attached and also the output.
EcmaError: lineNumber=[50] column=[0] lineSource=[<no source="">]</no> name=[TypeError] sourceName=[https://support.hpe.com/resources/sahome/static/index.js?20180918155927] message=[TypeError: Cannot find function supportedLocalesOf in object function NumberFormat() { [native code] }. (https://support.hpe.com/resources/sahome/static/index.js?20180918155927#50)]
com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot find function supportedLocalesOf in object function NumberFormat() { [native code] }. (https://support.hpe.com/resources/sahome/static/index.js?20180918155927#50)
at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:892)
According to https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Collator/supportedLocalesOf this is a suported function of Javascript:
The Intl.Collator.supportedLocalesOf() method returns an array containing those of the provided locales that are supported in collation without having to fall back to the runtime's default locale.
There are many Javascript errors reported by HtmlUnit. The returned page conatins only the static HTML part while the important dynamic part created by Javascript is missing.
Note: The page loads well with IExplorer 11, Firefox 60+, Chrome.
Any ideas how I can get the missing dynamic part created by Javascript?
Thanks,
Robert
Sorry for being that late on the issue. Adding support for this is very time consuming. Any help will be great.