Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 458557

Summary: The validator hooks for HTML files should use the new CompiationUnit
Product: [ECD] Orion Reporter: Michael Rennie <Michael_Rennie>
Component: JS ToolsAssignee: Michael Rennie <Michael_Rennie>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3    
Version: 8.0   
Target Milestone: 8.0   
Hardware: All   
OS: All   
Whiteboard:

Description Michael Rennie CLA 2015-01-27 12:17:02 EST
Currently to validate javascript in HTML files we grab the script blocks and lint them individually. This causes excessive parsing and with no caching, a lot of extra work.

As the title says, we should update the validator hooks to use the new CompiationUnit from bug 457749, which uses the AST managers caching scheme, and will give the script blocks the same life-cycle as a 'normal' JavaScript file.