[Webkit-unassigned] [Bug 26083] How to access formatted Java script Console message ?
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Nov 4 23:31:59 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=26083
Alexey Proskuryakov <ap at webkit.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ap at webkit.org
--- Comment #14 from Alexey Proskuryakov <ap at webkit.org> 2010-11-04 23:31:59 PST ---
+ String formatPattern ="%s%d%i%f%o";
...
+ String pattern = formatPattern.substring(j, formatPatternLen);
What's the benefit of having a String with modifiers, given that new strings need to be created anyway?
+ if (formattedString.contains(pattern, false)) {
This will mishandle e.g. %%d, right?
I'd be extremely wary of custom formatted output implementations, these can be a big source of bugs, maybe even security ones.
--
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