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

Bug 298653

Summary: [language support] Defining constructor by assignment leaks properties to global object
Product: [WebTools] JSDT Reporter: Laurens Holst <laurens.nospam>
Component: GeneralAssignee: wst.javascript <wst.javascript-inbox>
Status: RESOLVED WORKSFORME QA Contact: Nitin Dahyabhai <thatnitind>
Severity: normal    
Priority: P3 CC: cmjaun
Version: 3.2   
Target Milestone: Future   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Testcase none

Description Laurens Holst CLA 2009-12-30 13:46:06 EST
Created attachment 155138 [details]
Testcase

Using Eclipse 3.6.0M4 and WTP 3.2.0M4.

When defining a constructor by assignment, the properties set in the constructor appear on the global object. See the attached testcase.
Comment 1 Chris Jaun CLA 2013-06-11 18:07:01 EDT
I do not see this problem in the 3.5 drivers.