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

Side by Side Diff: LayoutTests/http/tests/htmlimports/encoding-expected.txt

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: Created 6 years, 10 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 Test that UTF-8 decoding is applied appropriately to imports
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 Default encoding should be UTF-8...
7 PASS links[0].import.characterSet is "UTF-8"
8 But a charset in the Content-Type HTTP header should override it...
9 PASS links[1].import.characterSet is "EUC-JP"
10 Any non-empty charset takes precedence, which means we sometimes fall back to sn iffing...
11 PASS links[2].import.characterSet is "ISO-8859-1"
12 PASS successfullyParsed is true
13
14 TEST COMPLETE
15
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698