Opened 7 years ago

Closed 7 years ago

#13871 closed bug (fixed)

A problem with multiline comments? (Test262 suite)

Reported by: WildKeccak Owned by: pulkomandy
Priority: normal Milestone: Unscheduled
Component: Applications/WebPositive Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

I was looking through the Test262 tests, and I believe you might have a problem with multiline comments in JavaScript, terminated with an HTML close comment (Annex B -> Language -> Comment -> multi-line-html-close.js)

For example,

0 /* */--> alert("Howdy");

does not alert the user of anything

although /* */--> alert("Howdy");

would

Attachments (1)

multi-line-html-close.js (2.5 KB ) - added by WildKeccak 7 years ago.
This comes from the zipball at https://bakkot.github.io/test262-web-runner/

Download all attachments as: .zip

Change History (6)

by WildKeccak, 7 years ago

Attachment: multi-line-html-close.js added

This comes from the zipball at https://bakkot.github.io/test262-web-runner/

comment:1 by WildKeccak, 7 years ago

patch: 01

comment:2 by WildKeccak, 7 years ago

Did not come across right.

0 /*
*/-->
alert("Howdy");

comment:3 by diver, 7 years ago

Component: ApplicationsApplications/WebPositive
Owner: changed from nobody to pulkomandy
Platform: x86-64All

comment:4 by pulkomandy, 7 years ago

patch: 10

comment:5 by pulkomandy, 7 years ago

Resolution: fixed
Status: newclosed

This will be fixed in WebKit 1.6.4.

Note: See TracTickets for help on using tickets.