搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Firefox ESR Version 52.0 have problem with JavaScript/jquery function

  • 10 回覆
  • 21 有這個問題
  • 1 次檢視
  • 最近回覆由 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.
附加的畫面擷圖

由 Krishna 於 修改

所有回覆 (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

選擇的解決方法

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 ???