Closed Bug 36122 Opened 24 years ago Closed 24 years ago

--> makes invalidates script

Categories

(Core :: JavaScript Engine, defect, P3)

x86
Windows 98
defect

Tracking

()

VERIFIED DUPLICATE of bug 40625

People

(Reporter: sicking, Assigned: rogerl)

Details

(Keywords: testcase)

Attachments

(1 file)

If a script-tag ends with --> the the script dosn't execute

will attach testcase

tested with build 2000-04-17-08 on Win98SE
Even if the --> at the end of the script is invalid there probobly is quite a 
few pages out there has a --> at the end so it should just be ignored. 

attaching the testcase in here as well:

<html>
<head>
<script>
<!--
function mess()
{
  alert("working");
}
-->
</script>
</head>
<body onLoad="mess();">
should pop up a alertbox saying &quot;working&quot;
</body>
</html>

Keywords: testcase
Should probobly go other way around, but since 40625 has been marked nsbeta2+ 
it's easier this way

*** This bug has been marked as a duplicate of 40625 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
Verifying.

(feeling awfully lonely in this here bug =) )
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: