summaryrefslogtreecommitdiffstats
path: root/LayoutTests/fast/encoding/frame-default-enc.html
diff options
context:
space:
mode:
Diffstat (limited to 'LayoutTests/fast/encoding/frame-default-enc.html')
-rw-r--r--LayoutTests/fast/encoding/frame-default-enc.html27
1 files changed, 27 insertions, 0 deletions
diff --git a/LayoutTests/fast/encoding/frame-default-enc.html b/LayoutTests/fast/encoding/frame-default-enc.html
new file mode 100644
index 0000000..6ccf45b
--- /dev/null
+++ b/LayoutTests/fast/encoding/frame-default-enc.html
@@ -0,0 +1,27 @@
+<html>
+<head>
+<meta http-equiv="content-type" content="text/html; charset=x-mac-cyrillic">
+<title>Frames and encodings</title>
+<script>
+if (window.layoutTestController) {
+ layoutTestController.dumpAsText();
+ layoutTestController.waitUntilDone();
+}
+
+window.done = function(charset) {
+ document.open();
+ document.write("<p>" + ((charset == "x-mac-cyrillic") ? "PASS" : "FAIL") + "</p>");
+ <!-- It's unlikely that anyone has x-mac-cyrillic as default -->
+
+ document.close();
+
+ if (window.layoutTestController)
+ layoutTestController.notifyDone();
+}
+</script>
+</head>
+<frameset rows="0,*">
+ <frame src="about:" scrolling=no marginwidth=0 marginheight=0>
+ <frame src="resources/frame-default-enc-frame.html">
+</frameset>
+</html>