haikuwebkit/LayoutTests/fast/encoding/mailto-always-utf-8.html

29 lines
778 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.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="ja">
<HEAD>
<meta http-equiv="Content-Type" content="text/html;charset=Shift_JIS">
</HEAD>
<body onload="test()">
<p>Test encoding of mailto URLs. Click on the URL - a new message
with Japanese subject and body should open in your mail client.</p>
<a href="mailto:?subject=ƒ^ƒCƒgƒ&body={•¶">
<span>Subject : Japanese Body : Japanese</span>
</a>
<script>
function test() {
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitForPolicyDelegate();
var a = document.getElementsByTagName("a")[0];
eventSender.mouseMoveTo(a.offsetLeft + 5, a.offsetTop + 5);
eventSender.mouseDown();
eventSender.mouseUp();
}
}
</script>
</body>
</html>