haikuwebkit/LayoutTests/plugins/set-status.html

16 lines
398 B
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<html>
<meta charset="utf-8">
<body>
<embed name="plg" type="application/x-webkit-test-netscape"></embed>
<p>PASS if status bar says "PASS".</p>
<script>
if (window.testRunner) {
testRunner.dumpStatusCallbacks();
testRunner.dumpAsText();
}
plg.setStatus(); // Try sending a null string, which used to cause a crash.
plg.setStatus("PАSS");
</script></body></html>