Bug 153259

Summary: Web Inspector: Cannot expand "TypeError.prototype" to see its properties
Product: WebKit Reporter: Joseph Pecoraro <joepeck>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: graouts, inspector-bugzilla-changes, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   

Joseph Pecoraro
Reported 2016-01-19 16:58:46 PST
* 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.
Attachments
Radar WebKit Bug Importer
Comment 1 2016-01-19 16:59:20 PST
Note You need to log in before you can comment on or make changes to this bug.