Open
Bug 674437
Opened 13 years ago
Updated 1 year ago
Retrieving attributes via XPath results in getAttributeNodeNS deprecation warnings
Categories
(Core :: DOM: Core & HTML, defect, P5)
Core
DOM: Core & HTML
Tracking
()
NEW
People
(Reporter: kmag, Unassigned)
References
(Blocks 2 open bugs)
Details
Retrieving an attribute node via document.evaluate, with an expression such as "//@href" results in a deprecation warning for getAttributeNodeNS: Warning: Use of getAttributeNode() is deprecated. Use getAttribute() instead. Source file: https://bugzilla.mozilla.org/enter_bug.cgi?product=Core Unless I'm mistaken, this is the cause: http://mxr.mozilla.org/mozilla2.0/source/content/xslt/src/xpath/txMozillaXPathTreeWalker.cpp#832 The following seem likely to cause similar problems: http://mxr.mozilla.org/mozilla2.0/source/layout/inspector/src/inDOMView.cpp#718 http://mxr.mozilla.org/mozilla2.0/source/content/xul/content/src/nsXULElement.cpp#1383 http://mxr.mozilla.org/mozilla2.0/source/content/base/src/nsGenericElement.cpp#4795 http://mxr.mozilla.org/mozilla2.0/source/content/base/src/nsGenericElement.cpp#4987
Reporter | ||
Updated•13 years ago
|
Component: Document Navigation → DOM
QA Contact: docshell → general
Comment 1•6 years ago
|
||
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046 Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5. If you have questions, please contact :mdaly.
Priority: -- → P5
Assignee | ||
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
Updated•1 year ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•