19 lines
383 B
HTML
19 lines
383 B
HTML
<html>
|
|
<head>
|
|
<script>
|
|
function test()
|
|
{
|
|
if (window.testRunner)
|
|
testRunner.dumpAsText();
|
|
var ruby = document.getElementById("t");
|
|
ruby.innerHTML = ''; // This line mustn't crash
|
|
document.getElementById("result").firstChild.data = 'SUCCESS!';
|
|
}
|
|
</script>
|
|
</head>
|
|
<body onload="test()">
|
|
<div id="t"><ruby>f</div>
|
|
<div id="result">FAILED!</div>
|
|
</body>
|
|
</html>
|