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

Unified Diff: LayoutTests/http/tests/htmlimports/resources/http-encoding.cgi

Issue 178883002: Set encoding to UTF-8 for HTML Imports if no encoding is specified in the HTTP response (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Merged to trunk Created 6 years, 8 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/http/tests/htmlimports/resources/http-encoding.cgi
diff --git a/LayoutTests/http/tests/htmlimports/resources/http-encoding.cgi b/LayoutTests/http/tests/htmlimports/resources/http-encoding.cgi
new file mode 100755
index 0000000000000000000000000000000000000000..157c002269d907ffe94552fcf9624b86d0ebfadf
--- /dev/null
+++ b/LayoutTests/http/tests/htmlimports/resources/http-encoding.cgi
@@ -0,0 +1,6 @@
+#!/usr/bin/perl
+print "Content-Type: text/html; charset=EUC-JP\n";
+print "Access-Control-Allow-Credentials: true\n";
+print "Access-Control-Allow-Origin: http://127.0.0.1:8000\n\n";
+
+print "<!DOCTYPE html><body>Hello, world</body>\n\n";
« no previous file with comments | « LayoutTests/http/tests/htmlimports/encoding-expected.txt ('k') | LayoutTests/http/tests/htmlimports/resources/no-encoding.cgi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698