[Webkit-unassigned] [Bug 101320] New: Console not displaying all properties of an Object once native Constructor overwritten

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 6 01:20:11 PST 2012


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

           Summary: Console not displaying all properties of an Object
                    once native Constructor overwritten
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: yurys at chromium.org
                CC: keishi at webkit.org, pmuellr at yahoo.com,
                    pfeldman at chromium.org, yurys at chromium.org,
                    apavlov at chromium.org, loislo at chromium.org,
                    vsevik at chromium.org,
                    web-inspector-bugs at googlegroups.com


Original Chromium bug report: http://code.google.com/p/chromium/issues/detail?id=159408

Steps to reproduce the problem:
1. Open dev tools and declare object foo with property bar that has value 'hello,world'(used object literal to create object) 
2. log foo (bar and __proto__ properties displayed)
3. overwrite Object constructor (Object = function() {})
4. log foo again (no properties displayed)
5. log foo.bar ('hello,world' printed)

What is the expected behavior?
All the available properties of the object should still be visible as object has already been created prior to the constructor being overwritten.

What went wrong?
The console does not display the object's properties when the properties do exist. Can still log the individual values of the properties, but not the entire object.

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