[Webkit-unassigned] [Bug 37215] Web Inspector: be more explicit about resource loading errors
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Apr 9 06:07:19 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=37215
--- Comment #13 from Andrey Kosyakov <caseq at chromium.org> 2010-04-09 06:07:18 PST ---
(In reply to comment #12)
> (From update of attachment 52870 [details])
> Following code workds all over the place in WebCore, why is your case so
> special?
>
> String::format("Failed to load resource: the server responded with a status of
> %u (%s)", response.httpStatusCode(), response.httpStatusText().utf8().data());
I can't help finding "code works all over the place in WebCore" to be a bit of
overstatement. The way I implemented initially was exactly as you suggested,
and here's what happens: String::format() uses StringImpl::create() to create a
String, which treats input as ASCII characters and just performs byte-to-word
expansion over it, mangling UTF-8. I filed http://webkit.org/b/37327 on this.
--
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