This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

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

Firefox ESR Version 52.0 have problem with JavaScript/jquery function

  • 10 replies
  • 21 have this problem
  • 1 view
  • Last reply by Krishna

more options

Recently The Mozilla Firefox ESR browser was upgraded to Version 52.0 and I faced "few critical issues after updating".

"Few existing functionality is not working which was working perfectly before the update."

Error : JavaScript/jquery Error was thrown in Mozilla Firefox ESR browser Version 52.0 browser console alike “contains is not a function”.


But that "contain function" is working in previous Firefox ESR version.

So when I uninstalled the Mozilla Firefox ESR browser Version 52.0 and installed the Firefox ESR browser version 45.6.0. Here all my functionalities are working perfectly in Mozilla Firefox ESR browser Version 45.6.0.

Note: I am using jquery-1.7.2


I am not sure "Higher Version" than 52.0 of Mozilla Firefox ESR has also owned this same problem.

and also I am not sure, whether the "contains" is the only function which is not working but not aware of other functions.


Please let me know, 1. why am I facing this problem in the Mozilla Firefox ESR version 52.0? 2. what should I do to avoid this issue? 3. if possible, from which version to which version having this problem?


Kindly acknowledge to this.

Recently The Mozilla Firefox ESR browser was upgraded to Version 52.0 and I faced "few critical issues after updating". "Few existing functionality is not working which was working perfectly before the update." Error : JavaScript/jquery Error was thrown in Mozilla Firefox ESR browser Version 52.0 browser console alike “contains is not a function”. But that "contain function" is working in previous Firefox ESR version. So when I uninstalled the Mozilla Firefox ESR browser Version 52.0 and installed the Firefox ESR browser version 45.6.0. Here all my functionalities are working perfectly in Mozilla Firefox ESR browser Version 45.6.0. Note: I am using jquery-1.7.2 I am not sure "Higher Version" than 52.0 of Mozilla Firefox ESR has also owned this same problem. and also I am not sure, whether the "contains" is the only function which is not working but not aware of other functions. Please let me know, 1. why am I facing this problem in the Mozilla Firefox ESR version 52.0? 2. what should I do to avoid this issue? 3. if possible, from which version to which version having this problem? Kindly acknowledge to this.
Attached screenshots

Modified by Krishna

All Replies (10)

more options

Could you provide the full testcase of this issue?

more options

Please provide public (no password) link(s) that we can check out. No Personal Information Please !

more options

Well Basically, we are validating the data using "contains" function using javascript/jquery.

it just couldn't find that function at all.

But it is happening only in the Mozilla Firefox ESR browser Version 52.0 and recently we are facing that issue in the 53.0 version also...

Not in the older version such as Mozilla Firefox ESR browser 45.9.0 or below

Kindly find the attached images, It would help more to understand the problem..

more options

Chosen Solution

more options

Thanks for your response..

I am not sure, whether the "contains" is the only function which is removed from firefox and I'm not aware of other functions.

May I know, is there any other function also got removed like "contains function" in the New Mozilla Firefox ESR browser Versions above 45.6.0

more options
more options

Thank you very much

more options

Will the javascrtpt/jquery supports libraries also get affected or won't work, due to "contains" function got removed from the Firefox.

more options

See:

Please do not comment in bug reports
https://bugzilla.mozilla.org/page.cgi?id=etiquette.html

more options

I am not under the above answer,

My question is, due to the New Mozilla Firefox ESR browser Version which has removed the contains function..

will that affect the javascrtpt/jquery libraries files ??? file such as

            jquery-1.6.2.min.js
            jquery-ui-1.8.11.custom.min.js, etc..

The above javascrtpt/jquery libraries also has contains function

will that affect the javascrtpt/jquery libraries files ???