Script: resource://gre/modules/commonj…nsion/data/jquery-2.1.0.min.js:3
After installing version 39.0, FF locks up once I open one or more tabs. Then it no longer responds although sometimes it takes it a couple of minutes to respond. After about 4 of this little mishaps, it produces the script error above. Then, goes into permanent lock mode of not responding. I've also noticed that when entering anything into an editor, such as this one, for every 6-10 characters entered, it pauses for about 3 minutes before responding with what was typed. Like it has a buffering issue. I don't get this in Chrome or any other browser and never got it in prior versions of FF. Eventually, it doesn't respond at all and totally locks up.
The only work around I've noticed which works is to open Win 8.1 Task Manager and delete FF from the open programs. Then I rerun FF and, fortunately, all the tabs come back including the editor forms with the content intact. Wow, that's quite dangerous as their is no guarantee that 100% recovery will ever take place.
Below is the content of the Script which keeps crashing as well - following the script is some debugging info:
var e=this,aa=function(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null"; else if("function"==b&&"undefined"==typeof a.call)return"object";return b};Math.random();var l=function(a,b){var c=a.split("."),d=e;c[0]in d||!d.execScript||d.execScript("var "+c[0]);for(var f;c.length&&(f=c.shift());)c.length||void 0===b?d=d[f]?d[f]:d[f]={}:d[f]=b},n=function(a,b){function c(){}c.prototype=b.prototype;a.o=b.prototype;a.prototype=new c;a.m=function(a,c,g){for(var k=Array(arguments.length-2),h=2;h<arguments.length;h++)k[h-2]=arguments[h];return b.prototype[c].apply(a,k)}};var p=function(a){if(Error.captureStackTrace)Error.captureStackTrace(this,p);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a))};n(p,Error);var ba=function(a,b){for(var c=a.split("%s"),d="",f=Array.prototype.slice.call(arguments,1);f.length&&1<c.length;)d+=c.shift()+f.shift();return d+c.join("%s")},q=String.prototype.trim?function(a){return a.trim()}:function(a){return a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")},t=function(a,b){return a<b>b?1:0};Math.random();var u=function(a,b){b.unshift(a);p.call(this,ba.apply(null,b));b.shift()};n(u,p);var w=function(a,b,c){if(!a){var d="Assertion failed";if(b)var d=d+(": "+b),f=Array.prototype.slice.call(arguments,2);throw new u(""+d,f||[]);}};var x;a:{var y=e.navigator;if(y){var z=y.userAgent;if(z){x=z;break a}}x=""}var A=function(a){return-1!=x.indexOf(a)};var B=function(){return A("Opera")||A("OPR")},C=function(){return(A("Chrome")||A("CriOS"))&&!B()&&!A("Edge")};var ca=B(),D=A("Trident")||A("MSIE"),da=A("Edge"),E=A("Gecko")&&!(-1!=x.toLowerCase().indexOf("webkit")&&!A("Edge"))&&!(A("Trident")||A("MSIE"))&&!A("Edge"),G=-1!=x.toLowerCase().indexOf("webkit")&&!A("Edge"),ea=G&&A("Mobile"),fa=function(){var a=x;if(E)return/rv\:([^\);]+)(\)|;)/.exec(a);if(da)return/Edge\/([\d\.]+)/.exec(a);if(D)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(G)return/WebKit\/(\S+)/.exec(a)},H=function(){var a=e.document;return a?a.documentMode:void 0},I=function(){if(ca&&e.opera){var a= e.opera.version;return"function"==aa(a)?a():a}var a="",b=fa();b&&(a=b?b[1]:"");return D&&(b=H(),b>parseFloat(a))?String(b):a}(),J={},K=function(a){if(!J[a]){for(var b=0,c=q(String(I)).split("."),d=q(String(a)).split("."),f=Math.max(c.length,d.length),g=0;0==b&&g<f;g++){var k=c[g]||"",h=d[g]||"",m=RegExp("(\\d*)(\\D*)","g"),F=RegExp("(\\d*)(\\D*)","g");do{var r=m.exec(k)||["","",""],v=F.exec(h)||["","",""];if(0==r[0].length&&0==v[0].length)break;b=t(0==r[1].length?0:parseInt(r[1],10),0==v[1].length? 0:parseInt(v[1],10))||t(0==r[2].length,0==v[2].length)||t(r[2],v[2])}while(0==b)}J[a]=0<=b}},L=e.document,ga=L&&D?H()||("CSS1Compat"==L.compatMode?parseInt(I,10):5):void 0;var M;if(!(M=!E&&!D)){var N;if(N=D)N=9<=ga;M=N}M||E&&K("1.9.1");D&&K("9");!A("Android")||C()||A("Firefox")||B();C();var ha=A("Safari")&&!(C()||A("Coast")||B()||A("Edge")||A("Silk")||A("Android"))&&!(A("iPhone")&&!A("iPod")&&!A("iPad")||A("iPad")||A("iPod"));var P=function(a){var b=window;if(ea&&ha&&b){b.focus();var c=0,d=null,d=b.setInterval(function(){a.closed||5==c?(b.clearInterval(d),O(a)):(a.close(),c++)},150)}else a.close(),O(a)},O=function(a){if(!a.closed&&a.document&&a.document.body)if(a=a.document.body,w(null!=a,"goog.dom.setTextContent expects a non-null value for node"),"textContent"in a)a.textContent="Please close this window.";else if(3==a.nodeType)a.data="Please close this window.";else if(a.firstChild&&3==a.firstChild.nodeType){for(;a.lastChild!= a.firstChild;)a.removeChild(a.lastChild);a.firstChild.data="Please close this window."}else{for(var b;b=a.firstChild;)a.removeChild(b);w(a,"Node cannot be null or undefined.");a.appendChild((9==a.nodeType?a:a.ownerDocument||a.document).createTextNode("Please close this window."))}};var Q,R=function(a){a=a||[];for(var b=[],c=0,d=a.length;c<d;++c){var f=String(a[c]||"");f&&b.push(f)}if(!b.length)return null;Q?Q.reset.call(Q):Q=shindig.sha1();Q.update.call(Q,b.join(" "));return Q.digestString.call(Q).toLowerCase()},ia=function(a,b,c){this.i=String(a||"");this.f=String(b||"");this.a=String(c||"");this.b={};this.j=this.l=this.g=this.h="";this.c=null}; ia.prototype.evaluate=function(){var a={},b="";try{b=String(document.cookie||"")}catch(c){}for(var b=b.split("; ").join(";").split(";"),d=0,f=b.length;d<f;++d){var g=b[d],k=g.indexOf("=");-1!=k?a[g.substr(0,k)]=g.substr(k+1):a[g]=null}this.b=a;if(this.b.SID)if(this.f=this.f.split(".")[0].split("@")[0],a="",a=0==this.i.indexOf("https://")?"SAPISID":"APISID",this.g=String(this.b[a]||""))if(a="",a=0==gadgets.rpc.getOrigin(String(window.location.href)).indexOf("https://")?"SAPISID":"APISID",this.h=String(this.b[a]|| "")){b=String(this.b.LSOLH||"").split(":");d=b.length;if(1==d||4==d)this.l=b[0];if(3==d||4==d)a=String(b[d-3]||""),b=String(b[d-1]||""),(d=R([a,this.h]).substr(0,4))&&d==b&&(this.j=a);this.a&&(a=this.a.indexOf("."),-1!=a&&(a=this.a.substr(0,a)||"",this.a=a+"."+R([this.g,this.i,this.f,this.l,this.j,a]).substr(0,4)));a=R([this.g,this.i,this.f,this.a]);this.a&&(a=a+"."+this.a);this.c=a}else this.c="";else this.c=""}; var ja=function(a,b,c){a=new ia(a,b,c);a.evaluate();return a},S=function(a,b,c){c=c||ka(this);var d=null;if(a){a=String(a);var f=a.indexOf(".");-1!=f&&(d=a.substr(f+1))}b=ja(c,b,d).c;if(null==a||""==a)a=b==a;else if(null==b||b.length!=a.length)a=!1;else{d=c=0;for(f=a.length;d<f;++d)c|=a.charCodeAt(d)^b.charCodeAt(d);a=0==c}return a},T=function(a,b,c){c=c||ka(this);c=ja(c);if(String(a)!=c.c)throw Error("Unauthorized request");b=String(b);a=parseInt(b,10);String(a)==b&&0<=a?(b=c.j)?(b=b.split("|"), a=b.length<=a?null:b[a]||null):a=null:a=null;return a},ka=function(a){a=String(a.origin||"");if(!a)throw Error("RPC has no origin.");return a};l("checkSessionState",S);l("getVersionInfo",T);var U,V,W,X,Y,Z,la=window,ma=(window.location.href||la.location.href).match(/.*(\?|#|&)usegapi=([^&#]+)/)||[]; "1"===decodeURIComponent(ma[ma.length-1]||"")?(W=function(a,b,c,d,f,g){U.send(b,f,d,g||gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER)},X=function(a,b){U.register(a,b,gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER)},Y=function(a){var b=/^(?:https?:\/\/)?[0-9.\-A-Za-z]+(?::\d+)?/.exec(a),b=gapi.iframes.makeWhiteListIframesFilter([b?b[0]:null]);W("..","oauth2callback",gadgets.rpc.getAuthToken(".."),void 0,a,b)},V=function(){na()},Z=function(){W("..","oauth2relayReady",gadgets.rpc.getAuthToken(".."));X("check_session_state", oa);X("get_versioninfo",pa)}):(W=function(a,b,c,d,f){gadgets.rpc.call(a,b+":"+c,d,f)},X=function(a,b){gadgets.rpc.register(a,b)},Y=function(a){gadgets.rpc.getTargetOrigin("..")==gadgets.rpc.getOrigin(a)&&W("..","oauth2callback",gadgets.rpc.getAuthToken(".."),void 0,a)},V=function(){Z()},Z=function(){W("..","oauth2relayReady",gadgets.rpc.getAuthToken(".."));X("check_session_state",S);X("get_versioninfo",T)}); var na=function(){var a=Z;window.gapi.load("gapi.iframes",function(){U=gapi.iframes.getContext().getParentIframe();a()})},qa=function(a){window.setTimeout(function(){Y(a)},1)},oa=function(a){var b,c;a&&(b=a.session_state,c=a.client_id);return S(b,c,U.getOrigin())},pa=function(a){return T(a.xapisidHash,a.sessionIndex,U.getOrigin())};l("oauth2callback",qa); l("oauth2verify",function(a,b){var c=window.open("javascript:void(0);",a),d;if(c&&!c.closed&&(d=c.oauth2callbackUrl))return window.timeoutMap=window.timeoutMap||{},window.realSetTimeout=window.realSetTimeout||window.setTimeout,window.setTimeout=function(a,b){try{var d=a,h=!1,m;a=function(){if(!h){h=!0;try{window.timeoutMap[String(m)]=void 0,delete window.timeoutMap[String(m)]}catch(a){}return d.call(this)}};var F=c.setTimeout(a,b);m=window.realSetTimeout(a,b);window.timeoutMap[String(m)]=F;return m}catch(r){}return window.realSetTimeout(a, b)},window.realClearTimeout=window.realClearTimeout||window.clearTimeout,window.clearTimeout=function(a){try{var b=window.timeoutMap[String(a)];b&&c.clearTimeout(b)}catch(d){}try{window.timeoutMap[String(a)]=void 0,delete window.timeoutMap[String(a)]}catch(h){}window.realClearTimeout(a)},qa(String(d)),"keep_open"!=b&&P(c),!0;c&&!c.closed&&P(c);return!1});window.addEventListener?window.addEventListener("load",V,!1):window.attachEvent("onload",V); </p>
While reloading Google E-Mail following running the script and capturing the transactions with each call, I received this script error right away.
Script: resource://gre/modules/commonj…/data/browserSpecificScript.js:40
All Replies (9)
Does this happen in a new profile as well?
If it does not, it might be a corrupt stored temp file. Clear cookies and site data in Firefox
When Firefox crashes, I believe it invalidates the cache and downloads all files fresh on the next visit to a page. So one possible reason that workaround "works" is if the cache was corrupted or failing to update properly.
I think the resources:// script might be part of an extension. Can you get the full URL without the ... ?
Any Google product, whether it be calendar, email, maps, etc is not good news for ver 39. Ver 38 and prior never had this problem. Somewhere, within the script writing for ver 39, there is an error which needs to be debugged by whomever wrote the script.
I'm wondering if ver 39 was really suppose to be a major upgrade for Windows 10 which behaves differently than Windows 8.1 and previous versions? If so, it may explain what is occurring. Ver 39 should have remained in Beta and tested thoroughly on Win 8, and 8.1 before being released as a stable release.
Script writers tend to have Beta OS on their computers and forget the rest of the world hasn't caught up yet.
For now, anytime I use a Google process, I use Chrome because it works and works very well as it matures to how I use a browser. FireFox ver 39 is not stable due to the quirks of not being compatible with any of the Google products, a competitor - of course - to Mozilla.
FireFox ver 39 behaves with most other web sites where a high point of caching is not required. As for cookies, if I allow them, then they are suppose to be cleaned out of the system once I log out of FireFox. Regardless, I clean them after I execute FireFox even after a crash. FireFox does not "write" a log file when this type of a "crash" occurs which is the slowness to respond to key strokes and lockups where it won't respond to anything. It's like an infinite loop of some sort in the code base.
I haven't noticed any difference with Gmail or Maps in Firefox 39 vs. earlier versions.
For your next round of testing, could you try the sites in Firefox's Safe Mode? That's a standard diagnostic tool to deactivate extensions and some advanced features of Firefox. More info: Diagnose Firefox issues using Troubleshoot Mode.
If Firefox is not running: Hold down the Shift key when starting Firefox.
If Firefox is running: You can restart Firefox in Safe Mode using either:
- "3-bar" menu button > "?" button > Restart with Add-ons Disabled
- Help menu > Restart with Add-ons Disabled
and OK the restart.
Both scenarios: A small dialog should appear. Click "Start in Safe Mode" (not Refresh).
Any difference?
I'm testing now. Oddly, I have to use Chrome to access this community support forum because FireFox can't remember my password or username. Attempting to change it has been most frustrating though that's another issue. I'll continue to use Chrome for anything related to Google and FireFox.
I completely put a new fresh downloaded ver 39 on my system. Same problems exist so we can rule out an update error.
Responsiveness with the fresh install is choppy at best when running the Google platform products.
I'm getting similar results with my on-line banking - slowness, choppy response, status messages which say "FireFox Not Responding" and then several seconds to a minute later it responds.
I still think there is some javascript which is in an infinite loop that is causing this issue. And, based on a few helpful hints within the support database, it all might be related to memory required. I have 6 gig max of which FireFox is currently using less than 192 meg in "safe" mode. Otherwise, it tends to hog almost all of free RAM which is a concern as well.
If you open a lot of windows and tabs, it's not uncommon for Firefox to use over 1GB of memory, and I usually don't see slowdowns or "Not Responding" until about 2.5GB of memory, but most of my other applications do not use a huge amount of memory.
Google, this site, and banking would all presumably be using an HTTPS connection. Is there a pattern that the problems occur on secure sites?
Somewhere along the line, someone suggested that I deactivate the add-ons. I did that and, one by one after a complete reboot, I began turning on ONLY the ones I really needed.
The problems I was experiencing went away. However, I didn't activate all of the add-ons and won't until I need them.
I have graduated to Windows 10 and have found that FireFox runs about twice as fast as it did, with the same configuration, as it did in Win 8.1. At least it seems to be faster. Haven't had any slowness even with 20 tabs open.
Currently using Ver 39.0.3
Ilungisiwe
Odd, had to erase the "quote" before YOUR editor would let me type anything into it. Hum....
Anyway, worst case scenerio now is FF slows down in ver 40.0. I close everything and restart until it slows again.
Chrome is a very good alternative though it gets tiring after awhile using it. Layout is funky and not as intuitive as FF. Still, it is what it is.
Now using Windows 10 as the OS. Smaller memory footprint and I noticed that FF has a smaller footprint as well. Odd, considering what it was doing with Win 8.1 - like a PacMan gobbling up memory until it ran out and crashed.
Still having older issues since ver 39 came on the scene like crashing and shutting down when attempting to download and create a new sub-directory on local hard drives, internal and external.
photomarkingusa said
Still having older issues since ver 39 came on the scene like crashing and shutting down when attempting to download and create a new sub-directory on local hard drives, internal and external.
Might be worth starting a new question about that issue.