Bug 11183

Summary: REGRESSION: Safari loads error pages unstyled
Product: WebKit Reporter: Alexey Proskuryakov <ap>
Component: Page LoadingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P1    
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
Attachments:
Description Flags
proposed fix darin: review+

Alexey Proskuryakov
Reported 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.
Attachments
proposed fix (1.89 KB, patch)
2006-10-05 22:15 PDT, Alexey Proskuryakov
darin: review+
Alexey Proskuryakov
Comment 1 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.
Darin Adler
Comment 2 2006-10-06 10:00:45 PDT
Comment on attachment 10941 [details] proposed fix Looks fine. r=me.
Alexey Proskuryakov
Comment 3 2006-10-06 11:00:17 PDT
Committed revision 16853.
Note You need to log in before you can comment on or make changes to this bug.