Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Firebug reports "Use of attributes' specified attribute is deprecated"

  • 5 replies
  • 142 have this problem
  • 2408 views
  • Last reply by lexdk

more options

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.

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)

more options

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.

more options

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.

more options

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

more options

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!"

more options

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. :)