blob: 363c261dbdd92641e746a897da4678a08a1b5a22 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<html>
<head>
<title>Encoding test.</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
This page tests that the character encoding is used for dynamically loaded
scripts when no charset is specified directly or provided by the server.
<div id="target"></div>
<script>
if (window.layoutTestController) {
window.layoutTestController.waitUntilDone();
window.layoutTestController.dumpAsText();
}
tokyo = 'とうきょう';
oDIVResults=document.createElement('script');
oDIVResults.src="resources/dynamic-load-target.js";
document.getElementsByTagName("head").item(0).appendChild(oDIVResults);
</script>
</body>
</html>
|