This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 479 - hc_entitiessetnameditem1.html parse error, missing brace
Summary: hc_entitiessetnameditem1.html parse error, missing brace
Status: RESOLVED FIXED
Alias: None
Product: DOM TS
Classification: Unclassified
Component: ECMAScript Binding (show other bugs)
Version: unspecified
Hardware: Other other
: P2 normal
Target Milestone: ---
Assignee: Philippe Le Hegaret
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-22 04:33 UTC by David Faure
Modified: 2004-02-10 20:35 UTC (History)
1 user (show)

See Also:


Attachments

Description David Faure 2004-01-22 04:33:05 UTC
The tests hc_entitiessetnameditem1.html and hc_notationssetnameditem1.html 
(in DOM-Core-level1) have a missing "}" at the end of the generated JS code. 
The code says something like 
try { ... } catch() { if { switch { .. } else { .. } 
The catch block isn't closed, which leads to a parse error. 
 
This is from the DOM-Core-leve1 tests found on 
http://homepage.mac.com/curt.arnold/FileSharing1.html
Comment 1 David Faure 2004-01-23 09:02:40 UTC
In fact fixing bug 480 would automatically fix this one as well 
(the additional if() is the one that is not closed) 
Comment 2 Bob Clary 2004-02-10 15:34:53 UTC
I believe this was fixed by bug 515.