Changeset 38240 in webkit
- Timestamp:
- Nov 8, 2008 8:11:26 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 4 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r38237 r38240 1 2008-11-08 Antti Koivisto <antti@apple.com> 2 3 Reviewed by Sam Weinig. 4 5 Test for https://bugs.webkit.org/show_bug.cgi?id=22141 6 REGRESSION: Safari error page is not fully styled when loaded from cache 7 8 * fast/encoding/css-cached-bom.html: Added. 9 * fast/encoding/css-cached-bom-expected.txt: Added. 10 * fast/encoding/resources/css-cached-bom-frame.html: Added. 11 * fast/encoding/resources/utf-16-little-endian.css: Added. 12 1 13 2008-11-08 Simon Fraser <simon.fraser@apple.com> 2 14 -
trunk/WebCore/ChangeLog
r38239 r38240 1 2008-11-08 Antti Koivisto <antti@apple.com> 2 3 Reviewed by Sam Weinig. 4 5 Fix https://bugs.webkit.org/show_bug.cgi?id=22141 6 REGRESSION: Safari error page is not fully styled when loaded from cache 7 8 Reset text decoder on flush so it does not pass through the BOM when it is reused. 9 10 Test: fast/encoding/css-cached-bom.html 11 12 * loader/TextResourceDecoder.cpp: 13 (WebCore::TextResourceDecoder::flush): 14 1 15 2008-11-08 Kevin Ollivier <kevino@theolliviers.com> 2 16 -
trunk/WebCore/loader/TextResourceDecoder.cpp
r37555 r38240 794 794 String result = m_decoder.decode(m_buffer.data(), m_buffer.size(), true, m_contentType == XML, m_sawError); 795 795 m_buffer.clear(); 796 m_decoder.reset(m_decoder.encoding()); 796 797 return result; 797 798 }
Note: See TracChangeset
for help on using the changeset viewer.