Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 315278 - [performance] JavaScript content assist times out after adding IE libraries
Summary: [performance] JavaScript content assist times out after adding IE libraries
Status: RESOLVED FIXED
Alias: None
Product: JSDT
Classification: WebTools
Component: General (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.2.1   Edit
Assignee: Chris Jaun CLA
QA Contact: Nitin Dahyabhai CLA
URL:
Whiteboard:
Keywords:
Depends on: 315277
Blocks:
  Show dependency tree
 
Reported: 2010-06-01 15:12 EDT by Chris Jaun CLA
Modified: 2010-06-22 15:44 EDT (History)
0 users

See Also:
thatnitind: review+


Attachments
patch (1017 bytes, patch)
2010-06-08 11:01 EDT, Chris Jaun CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Jaun CLA 2010-06-01 15:12:48 EDT
+++ This bug was initially created as a clone of Bug #315277 +++

After adding the Internet Explorer library as a JavaScript runtime library, the JavaScript content assist will time out.

STEPS TO REPRODUCE
===============
o Create new project (Web Dynamic Project, Static Web Project, etc).
o Add/create test.js file.
o Open up test.js, and type document.g . On selection popup, select getElementById(elementId).
o Works great! No problem.
o Now, select your project. Right click then properties. Then, JavaScript>JavaScript Libraries.
o Select Libraries tab. Then click on Add Runtime Library.... Pick Internet Explorer Library.
o Now on your test.js, type document.g . On selection popup, select getElementById(elementId).. Your workspace should hang for at least 30 seconds. Then you get message box "Problems during content assist"
Comment 1 Chris Jaun CLA 2010-06-08 11:01:28 EDT
Created attachment 171417 [details]
patch
Comment 2 Chris Jaun CLA 2010-06-22 15:44:04 EDT
Fix checked into 3.2.1