This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Test case: var Test = function () { this.prop1 = true //shows up in navigator pane }; Test.prototype.addItems = function() { this.prop2 = true; //doesn't show up in navigator pane } As scope can be assigned dynamically in javascript "this" won't necessarily always refer to an instance of Test. But in the Test constructor function netbeans assumes that "this" refers to a Test instance, so it makes sense to make the same assumption within prototyped methods.
Still reproducible in 7.3
Already fixed. Adding test for this case: http://hg.netbeans.org/web-main/rev/87b6aab88a96
Integrated into 'main-golden', will be available in build *201212170919* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/87b6aab88a96 User: Petr Pisl <ppisl@netbeans.org> Log: #205098 - Properties added in prototype methods aren't shown in navigator