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 231530 - Mark occurrences and navigation doesn't work doesn't work correctly in anonymous objects
Summary: Mark occurrences and navigation doesn't work doesn't work correctly in anonym...
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.4
Hardware: PC Linux
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks: 217992
  Show dependency tree
 
Reported: 2013-06-19 14:57 UTC by Petr Pisl
Modified: 2013-06-21 02:30 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Pisl 2013-06-19 14:57:09 UTC
This is one case from issue 217992:

it("case3: wrapped object", function() {
    var obj = (function() {
        return {    
            f2: function() {
                return this.f1(); // ctr+click does not work on f1
            },
            f1: function() {
                return 'f1';
            }
        };
    })();
    expect(obj.f2()).toEqual('f1'); // here it works
});

Mark occurrences also doesn't work, when you place caret on this.f1()
Comment 1 Petr Pisl 2013-06-19 15:06:47 UTC
This case is fixed in web-main now
http://hg.netbeans.org/web-main/rev/919eefa2e809
Comment 2 Quality Engineering 2013-06-21 02:30:25 UTC
Integrated into 'main-golden', will be available in build *201306202301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/919eefa2e809
User: Petr Pisl <ppisl@netbeans.org>
Log: #231530 - Mark occurrences and navigation doesn't work doesn't work correctly in anonymous objects