[Webkit-unassigned] [Bug 59185] NULL checking for set request's encoding

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 26 09:20:30 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=59185





--- Comment #5 from Alexey Proskuryakov <ap at webkit.org>  2011-04-26 09:20:30 PST ---
Adding checks when we know that the returned value can't be null would be very confusing to readers. By having a null check, we're saying that the situation is expected, and we need to handle it adequately. The document encoding is an important part of fallback, so skipping it is not adequate.

We would need to find another way to retrieve the document encoding if activeDocumentLoader could be null here.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list