1
0
Fork 0
firefox/dom/html/test/test_bug383383_2.xhtml
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

20 lines
562 B
HTML

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test for bug 383383</title>
<script src="/tests/SimpleTest/SimpleTest.js"></script>
<link rel="stylesheet" href="/tests/SimpleTest/test.css"/>
</head>
<body>
<script>
SimpleTest.waitForExplicitFinish()
</script>
<script for="window" event="bar">
// This script should not run, but should not cause a parse error either.
ok(false, "Script was unexpectedly run")
</script>
<script>
ok(true, "Script was run as it should")
SimpleTest.finish()
</script>
</body>
</html>