Firebug reports "Use of attributes' specified attribute is deprecated"
Using Firebug, I keep getting two warnings:
Use of attributes' specified attribute is deprecated. It always returns true.
and
Use of getAttributeNodeNS() is deprecated. Use getAttributeNS() instead.
Does anyone know what causes this warning?
Regarding the last warning, I can find som info here:
https://bugzilla.mozilla.org/show_bug.cgi?id=661327,
but it does not say what is to be done to fix it.
I've upgraded to Firefox 8 to see if that solved the problem, but it does not.
All Replies (5)
You need to update the website code to not use the functions mentioned. These messages are Firefox telling you that your code will NOT work in the future....these functions are scheduled to be removed.
As far as I know, I'm not using 'getAttributeNodeNS()' in any of my javascript code.
It would be more helpfull if the warning could tell me where this is being used.
No line number is reported in the console?
Does the issue still occur if you start Firefox in Safe Mode? http://support.mozilla.com/en-US/kb/Safe+Mode
It could be an extension causing the message I suppose
I frequently get "Use of attributes' specified attribute is deprecated. It always returns true." In firebug there is ZERO information about this error (yeah, I know, not firefox's responsibility) and then in the the Firefox Error Console, the URL that cause the error is listed, but not WHERE in the file or what code caused it, so that too is entirely useless for debugging; no line number, no function name, no variable name, NOTHING except "There's an error somewhere in this file! Good luck finding the fart in that jacuzzi!"
Hi are you using jQuery or any other libs?
the problem could be there.
if you do, i would guess that the lib you are using will be updated sooner or later. :)