[Webkit-unassigned] [Bug 41510] Add Base64DecodePolicy option at base64Decode()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 14 09:58:27 PDT 2010


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





--- Comment #43 from Patrick R. Gansterer <paroga at paroga.com>  2010-09-14 09:58:27 PST ---
(In reply to comment #42)
> Under what circumstances can locationString end up nil? What is the best behavior for the API in that case? Is this a change from the behavior of the existing code?
I don't think that we change behaviour, because it crashes at the moment (not so cool behaviour ;-))
IMHO we should set it to an empty string, because this is the best (string) representation for invalid. If we can remove the setting that would be better (but I don't know how to do it).

> By the way, in WebKit we normally use a coding style called early return.
I normally try to use early return where possible. I saw such an if statement in the file and copied it.

-- 
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