[Webkit-unassigned] [Bug 29357] Web Inspector: Errors When Displaying XPathResult Information

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 18 11:48:35 PDT 2009


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





--- Comment #1 from Alexey Proskuryakov <ap at webkit.org>  2009-09-18 11:48:35 PDT ---
> - trying to access "snapshotLength" or "snapshotItem" and probably other values
> results in a DOM Exception.  Are there problems with XPath in general?

XPathResult.ANY_TYPE gives an UNORDERED_NODE_ITERATOR_TYPE result, so
snapshot-related accessors can't work. You need to pass a desired result type
explicitly for them to work.

This change doesn't make visual inspection work though - I guess custom code
will need to be written for presenting XPathResult.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list