[Webkit-unassigned] [Bug 29357] New: Web Inspector: Errors When Displaying XPathResult Information
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Sep 17 20:12:35 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=29357
Summary: Web Inspector: Errors When Displaying XPathResult
Information
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
URL: http://www.google.com
OS/Version: All
Status: UNCONFIRMED
Severity: Normal
Priority: P3
Component: Web Inspector
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: joepeck at webkit.org
CC: rik at webkit.org, timothy at hatcher.name,
aroben at apple.com, joepeck at webkit.org
Steps to Reproduce:
1. Evaluate the following in the Console of the Inspector on any web page:
document.evaluate("//*", document, null, XPathResult.ANY_TYPE, null);
2. Attempt to Expand the Object Tree that appears in the Console.
Expected Results:
I'd like to see the properties of the XPathResult. The following was generated
using keys():
["resultType", "stringValue", "booleanValue", ... ]
Actual Results:
- A log message (not an error message) saying "Error dispatching:
getProperties"
- A blank error message shows up in the inspector's inspector
Further Issues:
- works => keys( document.evaluate(...) );
- doesn't work -> values( document.evaluate(...) );
- trying to access "snapshotLength" or "snapshotItem" and probably other values
results in a DOM Exception. Are there problems with XPath in general?
--
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