[SalesForce] Lightning Component not loading in Safari, but works fine in Chrome & Firefox

When I'm trying to load a component^ on Safari, I'm running into the below issue. But once I 'OK' these two dialogs everything else loads/works fine.

^ – which is working fine in Chrome & Firefox

Error1:

[NoErrorObjectAvailable] TypeError: undefined is not an object (evaluating 'fn.apply')
throws at https://impact-dev-ed.lightning.force.com/auraFW/javascript/XyhLNaMJXc3t5qwu_xzuTA/aura_proddebug.js:14073:18
AuraErrorInternal@https://impact-dev-ed.lightning.force.com/auraFW/javascript/XyhLNaMJXc3t5qwu_xzuTA/aura_proddebug.js:2957:40
AuraError@https://impact-dev-ed.lightning.force.com/auraFW/javascript/XyhLNaMJXc3t5qwu_xzuTA/aura_proddebug.js:2976:26
$reportError$@https://impact-dev-ed.lightning.force.com/auraFW/javascript/XyhLNaMJXc3t5qwu_xzuTA/aura_proddebug.js:14593:162
newHandler@https://impact-dev-ed.lightning.force.com/auraFW/javascript/XyhLNaMJXc3t5qwu_xzuTA/aura_proddebug.js:16438:23
https://impact-dev-ed.lightning.force.com/auraFW/javascript/XyhLNaMJXc3t5qwu_xzuTA/aura_proddebug.js:16445:30

Error2:

[NoErrorObjectAvailable] SyntaxError: Strict mode does not allow function declarations in a lexically nested statement.
throws at https://impact-dev-ed.lightning.force.com/one/one.app#eyJjb21wb25lbnREZWYiOiJvbmU6YXVyYUNvbnRhaW5lciIsImF0dHJpYnV0ZXMiOnsidmFsdWVzIjp7InRhZyI6ImlsbXM6SW1wYWN0TE1TQ21wIn19LCJ0IjoxNDY1OTc0Mzg2OTI4fQ==:5:32
AuraErrorInternal@https://impact-dev-ed.lightning.force.com/auraFW/javascript/XyhLNaMJXc3t5qwu_xzuTA/aura_proddebug.js:2957:40
AuraError@https://impact-dev-ed.lightning.force.com/auraFW/javascript/XyhLNaMJXc3t5qwu_xzuTA/aura_proddebug.js:2976:26
$reportError$@https://impact-dev-ed.lightning.force.com/auraFW/javascript/XyhLNaMJXc3t5qwu_xzuTA/aura_proddebug.js:14593:162
newHandler@https://impact-dev-ed.lightning.force.com/auraFW/javascript/XyhLNaMJXc3t5qwu_xzuTA/aura_proddebug.js:16438:23
https://impact-dev-ed.lightning.force.com/auraFW/javascript/XyhLNaMJXc3t5qwu_xzuTA/aura_proddebug.js:16445:30
appendChild@[native code]
evalAndReturn@https://impact-dev-ed.lightning.force.com/auraFW/javascript/XyhLNaMJXc3t5qwu_xzuTA/aura_proddebug.js:14056:32
value@https://impact-dev-ed.lightning.force.com/auraFW/javascript/XyhLNaMJXc3t5qwu_xzuTA/aura_proddebug.js:14072:31
create@https://impact-dev-ed.lightning.force.com/auraFW/javascript/XyhLNaMJXc3t5qwu_xzuTA/aura_proddebug.js:14184:66
onreadystatechange@https://impact-dev-ed.lightning.force.com/auraFW/javascript/XyhLNaMJXc3t5qwu_xzuTA/aura_proddebug.js:13765:34

I get the below error on Firefox at the bottom of the component, though everything works fine.

TypeError: fn is undefined throws at https://impact-dev-ed--ilms.na16.visual.force.com/auraFW/javascript/XyhLNaMJXc3t5qwu_xzuTA/aura_proddebug.js:14073:9

I'm not sure where/what to look, could you please give me some pointers/suggestions.

Regards

Best Answer

Yes, removing jquery(completely) has fixed it.

Related Topic