Review #242366 - Html files with big JavaScript embedding are indexed

Petr Pisl <[email protected]> Wed, 26 Feb 2014 15:15:07 +0100
Newsgroups gmane.comp.java.netbeans.reviewers
Message-ID <[email protected]>
Please review the bug fix for

https://netbeans.org/bugzilla/show_bug.cgi?id=242366

Description: By default the big JS files (more then 1MB) are not parsed. 
Also is tested whether a JS file is not minimized and bigger then 300KB. 
But if there is an html file, that contains JS embedding that is bigger 
than 1MB, then such file is still parsed. These files are usually 
generated and it doesn't have a sense to analyze them.

Impact: Slowness of the whole ide, when such file is analyzed.

http://hg.netbeans.org/web-main/rev/65e3296df4b3

Thanks,
Petr