summaryrefslogtreecommitdiffstats
path: root/LayoutTests/fast/encoding/charset-invalid.html
diff options
context:
space:
mode:
Diffstat (limited to 'LayoutTests/fast/encoding/charset-invalid.html')
-rw-r--r--LayoutTests/fast/encoding/charset-invalid.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/LayoutTests/fast/encoding/charset-invalid.html b/LayoutTests/fast/encoding/charset-invalid.html
new file mode 100644
index 0000000..ae81286
--- /dev/null
+++ b/LayoutTests/fast/encoding/charset-invalid.html
@@ -0,0 +1,15 @@
+<html>
+<head>
+<meta http-equiv="content-type" content="text/html; charset=invalid-encoding">
+<title>Invalid encoding</title>
+</head>
+<body>
+<script>
+if (window.layoutTestController)
+ layoutTestController.dumpAsText();
+document.write("<p>Should be your browser default encoding: " + document.characterSet + "</p>");
+document.write("<p>If it's latin-1 (ISO-8859-1), this should be accented e: é</p>");
+</script>
+
+</body>
+</html>