Illegal access Javascript error in Chrome Illegal access Javascript error in Chrome google-chrome google-chrome

Illegal access Javascript error in Chrome


According to https://github.com/highcharts/highcharts/issues/2443, this would help:

try {   delete ret['e'];} catch (e) {} // do nothing


We can't be sure, but depending on your network speed, hardware, your DOM wasn't totally and perfectly loaded.

You was probaby using recursion, many of them, with some hard javascript computation on each.

What happened is all tags and scripts of the DOM was already loaded and parsed, so the script started anyway. But content data not fully.The javascript addEventListener(DOMContentLoaded", ) is more watching tags and their good closures to start his job, instead of the real full data load.

This behavior is possible on other browsers.

While your script was for sure too loud on his time, the javascript engine on all browsers had evolved enough to handle it smoothly, mostly on the memory part which was clearly the funnel.