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

Bug 429190

Summary: JavaScript Syntax Highlighting Regex freezes browser on long long lines
Product: [ECD] Orion Reporter: Simon Kaegi <simon_kaegi>
Component: ClientAssignee: Simon Kaegi <simon_kaegi>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: grant_gayed
Version: 5.0Flags: grant_gayed: review+
Target Milestone: 5.0 RC3   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Simon Kaegi CLA 2014-02-26 15:46:12 EST
By long I mean like 500K however this sometimes is what you get with minified files.

Our regexes result in the use of backtracking which totally kills performance.

We need a small targeted fix for the release
Comment 1 Simon Kaegi CLA 2014-02-26 15:48:34 EST
Grant reviewed -- pushed to Master