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.
Created attachment 148343 [details] sample project From the test case. - Use the sample_karma project again with already installed NodeJS modules - Open karma.conf.js and modify it to use multiple browsers browsers : ['Chrome', 'Firefox', 'PhantomJS'], - Open test/unit/serviceSpec.js and paste following at the end of line 11: expect(1).toEqual(2); - Run all tests If there is stacktrace (not supported by PhantomJS or Safari), make sure it is clickable and navigates to proper source file. I have installed 2 browsers: chrome and firefox. And i have the stack trace for firefox: Firefox 30.0.0 (Ubuntu) service version should return current version FAILED Expected 1 to equal 2. @/home/vitaliy/NetBeansProjects/sample_karma/test/unit/servicesSpec.js:11:7 d@/home/vitaliy/NetBeansProjects/sample_karma/app/lib/angular/angular.min.js:31:170 workFn@/home/vitaliy/NetBeansProjects/sample_karma/test/lib/angular/angular-mocks.js:2104:11 The links does not navigates to proper source file. But links in stack chrome stack trace: Chrome 36.0.1985 (Linux) service version should return current version FAILED Expected 1 to equal 2. Error: Expected 1 to equal 2. at null.<anonymous> (/home/vitaliy/NetBeansProjects/sample_karma/test/unit/servicesSpec.js:11:17) at Object.d [as invoke] (/home/vitaliy/NetBeansProjects/sample_karma/app/lib/angular/angular.min.js:31:179) at workFn (/home/vitaliy/NetBeansProjects/sample_karma/test/lib/angular/angular-mocks.js:2104:20) navigates to proper source file correctly.
It works from Test Results window, I'll update the test case to mention it. But it doesn't work from Karma output window Product Version: NetBeans IDE Dev (Build web-main-1088-on-20140725) Java: 1.8.0_05; Java HotSpot(TM) Client VM 25.5-b02 Runtime: Java(TM) SE Runtime Environment 1.8.0_05-b13 System: Linux version 3.13.0-32-generic running on i386; UTF-8; en_US (nb)
Fixed, Firefox now reports also column number. Thanks. http://hg.netbeans.org/web-main/rev/62e9271ac803
Integrated into 'main-silver', will be available in build *201407290001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/62e9271ac803 User: Tomas Mysik <tmysik@netbeans.org> Log: #246036 - Stacktrace of Firefox does not navigate to a file