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.
Hi: I was hoping to start developing Firefox plugins, and ran into a problem with the Javascript parser. It doesn't seem to understand the "get" operator (https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Operators/Special_Operators/get_Operator). For example, the following source code would give problems to the parser: var foo = { propertyA : "blah", get propertyB() { ..... } } By problems, I mean the Navigator is blank (it will briefly flash "Please wait ..." before becoming blank) and the syntax highlighting is messed up (e.g., the keyword "function" will only have "func" in deep blue and "tion" in light blue). If I change the above to: var foo = { propertyA : "blah", propertyB : function() { ..... } } then everything works (i.e., the aforementioned problems disappear). Cheers, LordK
reproducible
Just posted in #195233 a patch which introduces getters and setters that are visible in navigator. *** This bug has been marked as a duplicate of bug 195233 ***