Bug 147163

Summary: Web Inspector: console.log("%d", 0) or console.log("%d", "str") show nothing, expected Number or NaN
Product: WebKit Reporter: Joseph Pecoraro <joepeck>
Component: Web InspectorAssignee: Joseph Pecoraro <joepeck>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, graouts, joepeck, jonowells, mattbaker, nvasilyev, timothy, tobi+webkit, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
[PATCH] Proposed Fix
none
[PATCH] Proposed Fix none

Joseph Pecoraro
Reported 2015-07-21 14:45:15 PDT
* SUMMARY console.log("%d", 0) or console.log("%d", "str") show nothing, expected Number of NaN Seems like falsey values are getting overlooked. * STEPS TO REPRODUCE 1. console.log("%d", 0) => expected 0 2. console.log("%d", "str") => expected NaN
Attachments
[PATCH] Proposed Fix (1.72 KB, patch)
2015-07-21 14:47 PDT, Joseph Pecoraro
no flags
[PATCH] Proposed Fix (1.72 KB, patch)
2015-07-21 14:48 PDT, Joseph Pecoraro
no flags
Radar WebKit Bug Importer
Comment 1 2015-07-21 14:45:29 PDT
Joseph Pecoraro
Comment 2 2015-07-21 14:47:07 PDT
Created attachment 257205 [details] [PATCH] Proposed Fix
Joseph Pecoraro
Comment 3 2015-07-21 14:48:49 PDT
Created attachment 257206 [details] [PATCH] Proposed Fix
WebKit Commit Bot
Comment 4 2015-07-21 19:36:37 PDT
Comment on attachment 257206 [details] [PATCH] Proposed Fix Clearing flags on attachment: 257206 Committed r187147: <http://trac.webkit.org/changeset/187147>
WebKit Commit Bot
Comment 5 2015-07-21 19:36:40 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.