[Webkit-unassigned] [Bug 94321] [BlackBerry] Select popup shows blank content when its option tags contain '\' characters
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Aug 20 23:49:49 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=94321
--- Comment #4 from Kent Tamura <tkent at chromium.org> 2012-08-20 23:50:25 PST ---
(From update of attachment 159065)
View in context: https://bugs.webkit.org/attachment.cgi?id=159065&action=review
> Source/WebKit/blackberry/WebCoreSupport/SelectPopupClient.cpp:86
> - source.append("'" + String(labels[i].impl()).replace("'", "\\'") + "'");
> + source.append("'" + String(labels[i].impl()).replace('\\', "\\\\").replace('\'', "\\'") + "'");
You had better use PagePopupClient::addJavaScriptString().
--
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