Bug 11183 - REGRESSION: Safari loads error pages unstyled
Summary: REGRESSION: Safari loads error pages unstyled
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Page Loading (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P1 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-05 22:11 PDT by Alexey Proskuryakov
Modified: 2006-10-06 11:00 PDT (History)
0 users

See Also:


Attachments
proposed fix (1.89 KB, patch)
2006-10-05 22:15 PDT, Alexey Proskuryakov
darin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Proskuryakov 2006-10-05 22:11:11 PDT
Safari loads error pages as UTF-16, while the stylesheet is ASCII. Since the stylesheet encoding is now inherited, it is decoded incorrectly and gets ignored.

This is already fixed in TOT Safari, but we need a workaround for nightlies.
Comment 1 Alexey Proskuryakov 2006-10-05 22:15:19 PDT
Created attachment 10941 [details]
proposed fix

This takes a completely different approach than we discussed on IRC, as otherwise this same issue would probably bite other people using loadHTMLString and related APIs.
Comment 2 Darin Adler 2006-10-06 10:00:45 PDT
Comment on attachment 10941 [details]
proposed fix

Looks fine. r=me.
Comment 3 Alexey Proskuryakov 2006-10-06 11:00:17 PDT
Committed revision 16853.