Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(73)

Unified Diff: LayoutTests/fast/encoding/charset-replacement.html

Issue 265973003: Implement "replacement" text encoding. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Request rebaseline the temporary chaset-replacement output Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/encoding/charset-replacement.html
diff --git a/LayoutTests/fast/encoding/charset-replacement.html b/LayoutTests/fast/encoding/charset-replacement.html
new file mode 100644
index 0000000000000000000000000000000000000000..7d4e228f0244934f4544d844a4b25e757b306fd7
--- /dev/null
+++ b/LayoutTests/fast/encoding/charset-replacement.html
@@ -0,0 +1,10 @@
+<!DOCTYPE html>
+<meta http-equiv="content-type" content="text/html; charset=replacement">
+<title>Replacement encoding - spec/implementation detail, not a real encoding</title>
+<script>
+if (window.testRunner)
+ testRunner.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>");
+document.write("<p>If you got a render tree with U+FFFD instead, this failed</p>");
+</script>
« no previous file with comments | « LayoutTests/fast/encoding/char-encoding-expected.txt ('k') | LayoutTests/fast/encoding/charset-replacement-expected.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698