Firefox web browser - Errors in JS console (app.min.js file)
Aug 30, 2018
Hi,
We are having issues with a lot of our training in the Firefox web browser. Sometimes, the training will refuse to start, displaying errors in the javascript console.
The errors come from the app.min.js file, which is a file supplied by Storyline 360. Being minified, it is impossible to diagnose what the exact problem is, or how we could begin to fix it.
When the training refuses to start, the console errors are as follows:
TypeError: n is null app.min.js:3:473050 <anonymous> https://<path to training>/html5/lib/scripts/app.min.js:3:473050
<anonymous> https://<path to training>/html5/lib/scripts/app.min.js:3:472937
<anonymous> https://<path to training>/html5/lib/scripts/app.min.js:3:471529
TypeError: t.fixers is undefined app.min.js:3:471126 fix https://<path to training>/html5/lib/scripts/app.min.js:3:471126
styleAttribute https://<path to training>/html5/lib/scripts/app.min.js:3:470782
forEach self-hosted:268:13
process https://<path to training>/html5/lib/scripts/app.min.js:3:470958
To help diagnose the issue, here is our setup:
- Our LMS is hosted in one domain, let's call it domain.one
- The training files are hosted in another domain, let's call it domain.two
- domain.one/lms.html loads domain.two/player.html in an iframe
- domain.two/player.html loads the training contents in an iframe
- the SCORM javascript API is loaded by domain.two/player.html
- Being cross-domain, we have javascript from domain.one/lms.html talking with javascript on domain.two/player.html via the window.postMessage() APIs
The same training content does not have any issues when everything is hosted on the same domain and player.html is loaded in a child window instead of an iframe. We have not tested other setups (all on the same domain with iframes, or two separate domains with a child window).
To be clear, our problem is not with our cross-domain setup. It works perfectly on IE11, Microsoft Edge, and Google Chrome. The issue is really that sometimes on Firefox, about 75% of the time, a training will refuse to start, giving us the aforementioned errors in the console. Refreshing sometimes works on Firefox.
Any idea what the problem could be in the javascript? This is preventing us from going to production with our new LMS solution.
Thank you for sharing your thoughts :-)
Tina Marie
4 Replies
Hi there Tina!
Thanks for reaching out to us, and I see Christopher recently sent you some information about LMS debug mode. Let us know if you have any questions about that!
Hi, Indeed Christopher sent us some information which we looked into. We didn't find anything with the LMS debug and we understand that you do not support JS. We're are reaching out to the community hoping someone had a similar trouble and found a solution. Thanks.
The issue was solved following Firefoxnew update (version 62) . :-)
This post was removed by the author
Thanks for that update, Tina. Glad to hear you're up and working again. We always recommend being on the latest browser update if you can, and browsers like Chrome and Firefox often update automatically once you close them down.
This discussion is closed. You can start a new discussion or contact Articulate Support.