[Webkit-unassigned] [Bug 82468] Deleting an array item causes it to appear as `undefined × 1` in the console

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 25 06:46:43 PDT 2012


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


Pavel Feldman <pfeldman at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #138780|review?                     |review-
               Flag|                            |




--- Comment #3 from Pavel Feldman <pfeldman at chromium.org>  2012-04-25 06:46:43 PST ---
(From update of attachment 138780)
View in context: https://bugs.webkit.org/attachment.cgi?id=138780&action=review

> Source/WebCore/inspector/front-end/ConsoleMessage.js:341
> +            if (!element || element.textContent === "undefined")

This change does not address the bug. You should instead modify appendUndefined to not render "x 1" in case it is actually "1". The code was not handling the undefined as the first value. This also needs a test (see LayoutTests/inspector/console/console-format.html).

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