Bug 28615 - Inspector: Console Array Formatter Shows Extra Properties
Summary: Inspector: Console Array Formatter Shows Extra Properties
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL: http://www.apple.com/startpage/
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-21 09:45 PDT by Joseph Pecoraro
Modified: 2009-08-21 11:13 PDT (History)
4 users (show)

See Also:


Attachments
[IMAGE] Showing Extra Output (221.12 KB, image/png)
2009-08-21 09:45 PDT, Joseph Pecoraro
no flags Details
[PATCH] Does not ignore hasOwnProperties (1.14 KB, patch)
2009-08-21 09:47 PDT, Joseph Pecoraro
timothy: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Joseph Pecoraro 2009-08-21 09:45:50 PDT
Created attachment 38377 [details]
[IMAGE] Showing Extra Output

On Page: http://www.apple.com/startpage/
Input: [0,1]
Expected Output: [0, 1]
Actual Output: [0, 1, function (c, b) {var a=0;c=c.bind(b);try{...]
Solution: Do not ignore hasOwnProperties when getting Array properties.
Comment 1 Joseph Pecoraro 2009-08-21 09:47:45 PDT
Created attachment 38378 [details]
[PATCH] Does not ignore hasOwnProperties
Comment 2 Joseph Pecoraro 2009-08-21 11:13:11 PDT
Landed in r47632
http://trac.webkit.org/changeset/47632