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.

Bug 252413 - The field is visible in navigator twice
Summary: The field is visible in navigator twice
Status: NEW
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Petr Pisl
Depends on:
Reported: 2015-05-15 09:33 UTC by Petr Pisl
Modified: 2015-05-15 09:33 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Petr Pisl 2015-05-15 09:33:53 UTC
Have a code:
function Test() {
    this.onLoading = function() {};
    this.runAJAX = function(urlstring) {
        this.responseStatus = new Array(2);
        var self = this;, urlstring, this.asynchronous);
        this.xmlhttp.onreadystatechange = function() {
            switch (self.xmlhttp.readyState) {
                case 1:
                case 2:
                    self.declare = 1;

The field declare is visible twice in navigator. One time as a field of Test constructor and also as a filed of self variable.