| Summary: | [validation] Text after HTML style comment in JavaScript region marked as validation error | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [WebTools] JSDT | Reporter: | Ian Tewksbury <itewksbu> | ||||
| Component: | Web | Assignee: | Ian Tewksbury <itewksbu> | ||||
| Status: | RESOLVED FIXED | QA Contact: | Nitin Dahyabhai <thatnitind> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | cmjaun | ||||
| Version: | 3.2.3 | Flags: | cmjaun:
review+
thatnitind: review+ |
||||
| Target Milestone: | 3.2.3 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 326818 | ||||||
| Attachments: |
|
||||||
|
Description
Ian Tewksbury
Created attachment 179747 [details]
Fix Patch with JUnits
This fix takes care of fixing the JsTranslator and FormattingStrategyJSDT. This in turn fixes the invalid validation message and deals with formatting this situation. What is not fixed by this is syntax highlighting. The text following the leading HTML comment will still show styled as JS content and not as a JS comment. A separate bug will be opened to fix that.
The patch also adds 6 new JUnits and updates one existing JUnit. 5 of the new junits are for formatting, 1 is for translation, and the updated JUnit is also in translation.
The patch for Bug 313624 has been updated to deal with the syntax highlighting issues that come along with this problem. Patch checked into 3.2.3 and HEAD. |