- Home
- Forum
- JavaScript - EJ 2
- Javascript Error for Polyfill happening only in Chrome Incognito Mode
Javascript Error for Polyfill happening only in Chrome Incognito Mode
Hi,
We encountered a strange issue where Data Grid Load is not working only in Chrome Incognito Mode. However, the grid works in all other browsers (both normal and private mode).
I can see the below error from the console.
Uncaught TypeError: Illegal constructor
at HTMLDivElement.<anonymous> (polyfill.min.js:3)
at D (ej2.min.js:10)
at t.appendTo (ej2.min.js:10)
at index.js:109
polyfill.min.js:3 Uncaught TypeError: Illegal constructor
at HTMLDivElement.<anonymous> (polyfill.min.js:3)
at D (ej2.min.js:10)
at t.appendTo (ej2.min.js:10)
at Object.success (brokerchartindex.js:39)
at c (jquery-3.4.0.min.js:2)
at Object.fireWith [as resolveWith] (jquery-3.4.0.min.js:2)
at l (jquery-3.4.0.min.js:2)
at XMLHttpRequest.<anonymous> (jquery-3.4.0.min.js:2)
It works fine when i just run an html file with Data Grid in Incognito Mode. But for some reason, it does not work when we access the application with Data Grid deployed in AWS only in Incognito Mode.
I have attached the jsp file and the JS file which loads the JavaScript.
Please let me know if anything else is required.
Attachment: Code_47443bf5.zip
SIGN IN To post a reply.
4 Replies
TS
Thiyagu Subramani
Syncfusion Team
March 12, 2020 02:55 PM UTC
Hi Naveen,
Thanks for contacting Syncfusion.
Before proceed your requirement, Please share the below details,
- What kind of requirement did you use Polyfill in your application?
- Share your running application because your reported files have lack of our dependencies. So, we can’t run and check it.
- Video demonstration of your issue.
Please get back to us, if you need any further assistance.
Regards,
Thiyagu S.
NR
NAVEEN RAAJU
March 13, 2020 05:00 AM UTC
Hi,
The Grid does not work in IE . Hence , we included polyfill js as part of the page . This made it work for IE.
Temporarily, we have disabled the polyfill js in all browsers except IE. I will test it and let you know.
I will upload a video demonstration if this solution does not work.
NR
NAVEEN RAAJU
March 13, 2020 04:12 PM UTC
We made a change to load the polyfill script only in IE browsers. So its now working fine in chrome incognito mode. Thanks for your assistance.
TS
Thiyagu Subramani
Syncfusion Team
March 16, 2020 04:52 AM UTC
Hi NAVEEN ,
We glad that your issue has been fixed.
Please get back to us if you require further other assistance from us.
Regards,
Thiyagu S.
SIGN IN To post a reply.
- 4 Replies
- 2 Participants
-
NR NAVEEN RAAJU
- Mar 11, 2020 05:45 PM UTC
- Mar 16, 2020 04:52 AM UTC