This thread was archived. Please ask a new question if you need help.
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.
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:
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.
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. :)