[Webkit-unassigned] [Bug 153259] New: Web Inspector: Cannot expand "TypeError.prototype" to see its properties

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 19 16:58:46 PST 2016


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

            Bug ID: 153259
           Summary: Web Inspector: Cannot expand "TypeError.prototype" to
                    see its properties
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: joepeck at webkit.org
                CC: bburg at apple.com, graouts at webkit.org,
                    joepeck at webkit.org, mattbaker at apple.com,
                    nvasilyev at apple.com, timothy at apple.com,
                    webkit-bug-importer at group.apple.com

* SUMMARY
Cannot expand "TypeError.prototype" to see its properties.

* STEPS TO REPRODUCE
1. js> TypeError.prototype
2. Try to expand the object
  => Uncaught Exception, empty UI

* INFO
[Error] Uncaught exception in inspector page while dispatching callback for command Runtime.getProperties
TypeError: undefined is not an object (evaluating 'properties.stack.value')
(anonymous function) — ErrorObjectView.js:96
[native code]
(anonymous function) — RemoteObject.js:567

* NOTES
- Apparently the backend thinks that "TypeError.prototype" is an "error" object type.
- Seems like JSInjectedScriptHost::subtype (or WebInjectedScriptHost::subtype) might be returning a subtype even for the prototype. The frontend then treats this like a special Error object instance instead of a generic Object.

-- 
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/20160120/3a455723/attachment-0001.html>


More information about the webkit-unassigned mailing list