[Webkit-unassigned] [Bug 31538] Web Inspector: Wrong console output for Regexp escape sequence
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Nov 21 12:05:22 PST 2009
https://bugs.webkit.org/show_bug.cgi?id=31538
Joseph Pecoraro <joepeck at webkit.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
AssignedTo|webkit-unassigned at lists.web |joepeck at webkit.org
|kit.org |
Ever Confirmed|0 |1
--- Comment #1 from Joseph Pecoraro <joepeck at webkit.org> 2009-11-21 12:05:17 PST ---
Created an attachment (id=43654)
--> (https://bugs.webkit.org/attachment.cgi?id=43654)
[PATCH] Half Way There
This isn't a land-able patch, it is only for discussion. Its likely we should
refactor some areas of format printing.
For this bug, regexes where using _formatvalue and not _formatregex because it
was treating Proxied regexs as undecorated. Also, _formatregex was actually
adding backslashes, not removing any! The behavior after this patch is:
http://grab.by/Iwn
Note that there is a difference in string formatting. Is this the desired
behavior (different in multiple cases):
> "test" // Case 1
test
> console.log("%s", "test")
test
> ["test"] // Case 2
["test"]
> ({a:"test"})
a : "hi"
--
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