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 166460

Summary: correct inline javascript is marked as an error
Product: web Reporter: Jindrich Sedek <jsedek>
Component: HTML EditorAssignee: Marek Fukala <mfukala>
Status: VERIFIED FIXED    
Severity: blocker CC: mmirilovic, pjiricka
Priority: P1    
Version: 6.x   
Hardware: Sun   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Jindrich Sedek 2009-06-03 10:15:51 UTC
use this code in HTML file:
------------------
<div onkeydown="test()"></div>
------------------
javascript error appears
Comment 1 Marek Fukala 2009-06-03 10:19:08 UTC
fixed in web-main#8afa0b1bc1d3

incorrect assertion usage - embedding are incorrectly created w/o assertions enabled, see the diff

confirming this is a stopper issue, please verify in trunk with disabled assertions!
Comment 2 Jindrich Sedek 2009-06-03 10:44:19 UTC
verified in web-main repository

the fix is trivial and ok - code reviewed

please transplant to 6.7 clone
Comment 3 Marek Fukala 2009-06-03 11:45:05 UTC
transplanted to release67 clone
Comment 4 Jindrich Sedek 2009-06-04 08:51:08 UTC
verified in rc2 build
NetBeans IDE 6.7 RC2 (Build 200906040112)
Comment 5 Martin Schovanek 2009-06-04 11:05:17 UTC
*** Issue 166359 has been marked as a duplicate of this issue. ***
Comment 6 Jindrich Sedek 2009-06-04 13:32:16 UTC
*** Issue 166547 has been marked as a duplicate of this issue. ***