WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
34926
Web Inspector: XPathResult objects are not expanded in console.
https://bugs.webkit.org/show_bug.cgi?id=34926
Summary
Web Inspector: XPathResult objects are not expanded in console.
Pavel Feldman
Reported
2010-02-14 05:21:17 PST
You can see "Error dispatching: getProperties" in console upon value "expand" attempt instead. I'd like to commit couple of drive-by fixes with this: 1) Use Object.getOwnPropertyNames in getProperties (as already used in completion) 2) Artificially append __proto__ property in case getting only own properties in order to allow further values browsing.
Attachments
[PATCH] Proposed fix.
(12.17 KB, patch)
2010-02-14 05:26 PST
,
Pavel Feldman
timothy
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Pavel Feldman
Comment 1
2010-02-14 05:26:55 PST
Created
attachment 48719
[details]
[PATCH] Proposed fix.
Pavel Feldman
Comment 2
2010-02-15 02:21:05 PST
Committing to
http://svn.webkit.org/repository/webkit/trunk
... M LayoutTests/ChangeLog M LayoutTests/inspector/console-dir-expected.txt M LayoutTests/inspector/console-dir.html M WebCore/ChangeLog M WebCore/inspector/front-end/InjectedScript.js M WebCore/inspector/front-end/ObjectPropertiesSection.js M WebCore/inspector/front-end/Section.js M WebCore/inspector/front-end/inspector.css Committed
r54769
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