WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
153259
Web Inspector: Cannot expand "TypeError.prototype" to see its properties
https://bugs.webkit.org/show_bug.cgi?id=153259
Summary
Web Inspector: Cannot expand "TypeError.prototype" to see its properties
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
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2016-01-19 16:59:20 PST
<
rdar://problem/24249467
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug