archives

« Bugzilla Issues Index

#2610 — HTML comments syntax must be documented


Details are here: http://javascript.spec.whatwg.org/#comment-syntax

This needs to be rewritten in proper spec text.

(IMHO it should not be in Annex B only, since all existing engines seem to implement this and it would be nice to match reality.)


The supported syntax differs in some cases, for example `Function("1/*\n*/-->")` works in SpiderMonkey, but does not in V8/JSC. Maybe there are more differences, perhaps someone should inspect the actual implementations...


Right, we need a complete specification expressed in terms to changes to the lexical comment grammar in section 11.4


fixed in rev30 editor's draft


fixed in rev30


*** Bug 1471 has been marked as a duplicate of this bug. ***


*** Bug 2791 has been marked as a duplicate of this bug. ***