[Webkit-unassigned] [Bug 158334] Web Inspector: API View of Native DOM APIs looks poor (TypeErrors for native getters)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 29 18:15:38 PDT 2016


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

Joseph Pecoraro <joepeck at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|DUPLICATE                   |---

--- Comment #12 from Joseph Pecoraro <joepeck at webkit.org> ---
So the way this works is:

The preview will show native accessors as values in the preview:

    js> loadEvent
    ▶︎ Event { type: "foo", ... }

And when you expand, the first expansion _conveniently_ immediately shows you both own properties/functions and native getters up in the prototype chain:

    js> loadEvent
    â–¼ Event
        [B] ownPropertyBoolean: true
        [S] type: "foo"
        ...
    ▶︎ Event Prototype

And when you expand the prototypes, it will show the individual properties/functions + accessors on those prototypes:

    js> loadEvent
    â–¼ Event
        [B] ownPropertyBoolean: true
        [S] type: "foo"
        ...
    â–¼ Event Prototype
        [?] type: (Get)
        ...
    ▶︎ Object Prototype

This is the best of both worlds. Quick access to values. Yet still having the ability to ultimately find out exactly which prototype the accessor came from.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160630/0e80dbd8/attachment-0001.html>


More information about the webkit-unassigned mailing list