Processing
 

Illegal access Javascript error in Chrome

04/10/2013 17:07#1

Joined at: 9 months ago

Post: 13

Thank: 0

Thanked: 0

I have sporadically been getting an "illegal access" exception in Chrome (29 and 30). Others have also seen this. It seems to happen on one specific line:

Illegal access Javascript error in Chrome

Here, this is an object I defined. It has a property end which is null or a number.

Does anyone know of anything that could cause an error with that message in Chrome?

EDIT: I don't expect anyone to debug ten thousands of lines of my code. What could cause an error with that message, whether it be jumping off the moon, singing blues, etc?

There are no occurrences of "illegal" in all of the Javascript code on the page.


This error has not happened in later versions of Chrome (31+).

Hopefully this is gone for good.

02/07/2016 05:53Top#2

Cryptopat

Member

Joined at: 7 months ago

Post: 2

Thank: 0

Thanked: 0

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.

Similar articles

Chrome, THREE.js: Cross-origin image load denied

5 years ago - Reply: 5 - Views: 267

Prevent Google Chrome Log XMLHttpRequest

3 years ago - Reply: 5 - Views: 276

How can I include ChromeDriver in a JAR?

3 years ago - Reply: 3 - Views: 80

Chrome geolocation not working on any site

3 years ago - Reply: 1 - Views: 43

wrong borders' width in android browser

3 years ago - Reply: 4 - Views: 205

Uncaught SyntaxError: Unexpected token < On Chrome

3 years ago - Reply: 10 - Views: 462

Flashdata not getting cleared in Codeigniter

3 years ago - Reply: 5 - Views: 57

Illegal access Javascript error in Chrome

3 years ago - Reply: 1 - Views: 51

ng-repeat not updating in Chrome

3 years ago - Reply: 1 - Views: 81

Applying border to a checkbox in Chrome

4 years ago - Reply: 2 - Views: 118

open browser plugin using access vba

3 years ago - Reply: 1 - Views: 25

vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re