| Summary: | False validation error involving [var infinity = Infinity] | ||
|---|---|---|---|
| Product: | [WebTools] JSDT | Reporter: | Sebastien Tardif <sebtardif> |
| Component: | General | Assignee: | Project Inbox <jsdt.javascript-inbox> |
| Status: | RESOLVED WORKSFORME | QA Contact: | Chris Jaun <cmjaun> |
| Severity: | normal | ||
| Priority: | P3 | CC: | george_f |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Sebastien Tardif
What is the error message? Error is:
Syntax error on token "infinity", invalid VariableDeclaratorId
File: ext-all-debug-w-comments.js line 57856 JavaScript Problem
getBBox: function() {
var i = 0,
sprite,
bb,
items = this.items,
len = this.length,
red>>infinity<<red = Infinity,
minX = red>>infinity<<red,
maxHeight = -infinity,
minY = infinity,
maxWidth = -infinity,
maxWidthBBox, maxHeightBBox;
it seems it isn't even possible to 'workaround' this issue by changing the JS validation preferences. The entire JS validation module is very bad and has no visible owner. It also slowdown my entire team and crash Eclipse if the files are big. Trying to stop the validation is an extreme pain, it always show a stupid popup saying that to apply that we need to rebuild everything... which is like 1 hour. It's a piece of garbage, they should scrap it and try again. This validation error is no longer shown in WTP 3.6 and 3.5.1. |