Closed Bug 715602 Opened 14 years ago Closed 14 years ago

erroneous warning about getAttributeNode() being deprecated when this method is not called in code that generated it

Categories

(Firefox :: Untriaged, defect)

9 Branch
x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: jekillen, Unassigned)

Details

Attachments

(1 file)

Attached file abstract.js
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.5; rv:9.0.1) Gecko/20100101 Firefox/9.0.1 Build ID: 20111220165912 Steps to reproduce: testing project: user actions cause javascript code to be executed to change the state of markup relevant code is in attached file. Actual results: the following appears in the the console window when the code that was run does not call getAttributeNode() at all. Warning: Use of getAttributeNode() is deprecated. Use getAttribute() instead. Source File: http://localhost/from_LCLT/LCLT_AO_11272011/AO_11272011/ALT.jekillen.com/view/apps/NEW_web_calculator/SC_branch_3/ Line: 0 My code does call getAttribute() and setAttribute() Expected results: this warning should have been presented.
At present this project is not available at publicly accessible site.
Are you sure the message is caused by your code? This message does often appear for every user of Firefox as it uses these functions internally (e.g. when clicking into textarea element). Try with Firefox 12 where the error console contains timestamps of messages.
Attachment #586160 - Attachment mime type: application/octet-stream → text/plain
Thanks for the report! However it's impossible to figure this one out without a test page we can use to reproduce the problem. Please re-open if you manage to get a testcase that demonstrates the issue.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → INCOMPLETE
Summary: erroneous warning about getAttributeNode() being depricated when this method is not called in code that generated it → erroneous warning about getAttributeNode() being deprecated when this method is not called in code that generated it
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: