end comment delimiter is not consumed as expected

RESOLVED INVALID

Status

()

Core
General
RESOLVED INVALID
8 years ago
8 years ago

People

(Reporter: Julien Chaffraix, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

8 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.19pre) Gecko/2010051405 GranParadiso/3.0.19pre ( .NET CLR 3.5.30729)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.19pre) Gecko/2010051405 GranParadiso/3.0.19pre ( .NET CLR 3.5.30729)

HTML5 states the end delimiter is consumed prior to emitting the comment.

Reproducible: Always

Steps to Reproduce:
1.Open data:text/html,<!DOCTYPE html><html><body><p>Compatibility (7 PASSED):<br><!-- Compatibility: comment series with --extraneous-- text -- between -- the comments -->PASSED<!-- Compatibility: comment series with --extraneous-- text -- between -- the comments -- >PASSED<!-- Compatibility: comment series with --extraneous-- text -- between -- the comments --  >PASSED<!-- Compatibility: comment series with --extraneous-- text -- between -- the comments - -  >FAILED--><!-- Compatibility: <!--extra comment start like www.the-leaky-cauldron.com has <rdar://problem/4226539>-->PASSED<!-- Compatibility: <!--extra comment start like www.the-leaky-cauldron.com has <rdar://problem/4226539>-- >PASSED<!-- Compatibility: <!--extra comment start like www.the-leaky-cauldron.com has <rdar://problem/4226539> --  >PASSED<!-- Compatibility: <!--extra comment start like www.the-leaky-cauldron.com has <rdar://problem/4226539> --  >PASSED<!-- Compatibility: <!--extra comment start like www.the-leaky-cauldron.com has <rdar://problem/4226539> - -  >FAILED--></p></body></html>
2.
3.
Actual Results:  
You see some of the comment end delimiters (-->)

Expected Results:  
You should see no delimiter.

The test case is taken from the WebKit project. It is only an extract that shows the behaviour.

Comment 1

8 years ago
This gives me

Compatibility (7PASSED):
PASSEDPASSEDPASSEDPASSEDPASSEDPASSEDPASSED

on a trunk build - default of html5 enabled
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.3a5pre) Gecko/20100514 Minefield/3.7a5pre ID:20100514040039
(Reporter)

Comment 2

8 years ago
I know what I did wrong. I took the wrong nightly (3.0.19pre vs 3.7). Taking the right archive and I confirm the result.

Closing this bug INVALID as this is the results of my wrongdoing. Sorry for the noise.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.