We use a cloud-based enterprise service desk software called Ivanti, which seems to have broken between 2.53.7 and 2.53.7.1. Since it's a private site that needs login, I can't provide a URL, but I do see these additional errors in the JS console on 2.53.7.1 that weren't there in 2.53.7:
I gather you've tested in Safe Mode & also in a new, clean Profile?
Fire 750, bring back 250. Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript
I backed out/changed one part of the patch which might have caused this but not very hopeful because this should have resulted in the above yield warning only anyway. Could you probably try the next unofficial build from https://www.wg9s.com/comm-253/ dated 05-04 or later. It is stable but if you want to go back to 2.53.7 afterwards I would recommend to try with a different profile.
If it fixes it good. If not I need to look at the other part.
I downloaded the Win32 zip file dated 2021-05-04 into a temp directory, created a new profile and tried the site. I'm not getting the 'yield' error any more, but I am still getting errors, and the site still doesn't load:
TypeError: SaaS.WebUI.DashboardWorkspace is not a constructor[Learn More] l-saas_31x-38F2DB841CC65ED2C9152DF5A2E4695DBB3DF32D-2021_1_0_2021031301_1.en-US.js%20line%204054%20%3E%20eval:1:1
I don't think this is related, but just putting it here anyway, since I saw the error:
There were only two fixes in the final 2.53.7.1 and one was for yield and the other for for each. I doubt it is for each related. Can you post a code snipplet of the js file around the syntax error. I suspect they are declaring a variable or function yield or some other folly.
switch(fieldIdx){
case 0:yield.idTextField=item.items.items[0];break;
case 1:yield.typeCombo=item.items.items[0];break;
case 2:yield.valueTextField=item.items.items[0];break;
}
I hope I fixed it now. A new 2.53.8b1 pre build dated 05-08 should appear soon. Please give it a try.
The application code is imho bad style. yield is a keyword in javascript and they use it for something else. Firefox works because they ripped out legacy generators. I thought about doing the same because they were deprecated since Gecko/Fx 33. But this might break some old add-ons then so trying to fix it.
mozillaZine is an independent Mozilla community and advocacy site. We're not affiliated or endorsed by the Mozilla Corporation but we love them just the same.