Title: [119644] trunk
- Revision
- 119644
- Author
- [email protected]
- Date
- 2012-06-06 17:10:59 -0700 (Wed, 06 Jun 2012)
Log Message
<rdar://problem/11575112> and https://bugs.webkit.org/show_bug.cgi?id=88428
REGRESSION (r115654): Opening many non-English WebArchives shows obvious encoding issues
Reviewed by Nate Chapin.
Source/WebCore:
Test: fast/loader/webarchive-encoding-respected.html
* loader/DocumentLoader.cpp:
(WebCore::DocumentLoader::commitData): Properly set the main resource encoding from the webarchive.
LayoutTests:
* fast/loader/resources/utf8-encoded.webarchive: Added.
* fast/loader/webarchive-encoding-respected-expected.txt: Added.
* fast/loader/webarchive-encoding-respected.html: Added.
Modified Paths
Added Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (119643 => 119644)
--- trunk/LayoutTests/ChangeLog 2012-06-07 00:10:39 UTC (rev 119643)
+++ trunk/LayoutTests/ChangeLog 2012-06-07 00:10:59 UTC (rev 119644)
@@ -1,3 +1,14 @@
+2012-06-06 Brady Eidson <[email protected]>
+
+ <rdar://problem/11575112> and https://bugs.webkit.org/show_bug.cgi?id=88428
+ REGRESSION (r115654): Opening many non-English WebArchives shows obvious encoding issues
+
+ Reviewed by Nate Chapin.
+
+ * fast/loader/resources/utf8-encoded.webarchive: Added.
+ * fast/loader/webarchive-encoding-respected-expected.txt: Added.
+ * fast/loader/webarchive-encoding-respected.html: Added.
+
2012-06-06 Ryosuke Niwa <[email protected]>
Chromium rebaseline after r119617 part 3.
Added: trunk/LayoutTests/fast/loader/resources/utf8-encoded.webarchive (0 => 119644)
--- trunk/LayoutTests/fast/loader/resources/utf8-encoded.webarchive (rev 0)
+++ trunk/LayoutTests/fast/loader/resources/utf8-encoded.webarchive 2012-06-07 00:10:59 UTC (rev 119644)
@@ -0,0 +1,4 @@
+bplist00\xD1_WebMainResource\xD5
+_WebResourceMIMEType_WebResourceTextEncodingName_WebResourceFrameName^WebResourceURL_WebResourceDataYtext/htmlUUTF-8P_http://127.0.0.1:8000/utf-8.cgiOs<html><head></head><body>This content is UTF-8 encoded and includes a Hebrew Resh character -> ר
+</body></html>