1

init.js started throwing errors after changing http-equiv meta tag.

It looks like strict mode is being enforced on init.js but can't see "use strict" anywhere.

Error:

Accessing the 'caller' property of a function or arguments object is not allowed in strict mode

Faulting code:

function ULSOnError(b,c,a) {
    return ULSSendExceptionImpl(b,c,a,ULSOnError.caller)
}
  • Can it be a browser issue? Maybe this link helps. stackoverflow.com/questions/16871050/… – newbie Apr 13 '18 at 13:36
  • That question refers to difference in how different browsers handle accessing caller of a strict function in a non-strict area of code. Here the function and the caller are contained in init.js – Thor Apr 13 '18 at 13:45
  • Reverted the changes to master page and the problem persists. Still can't find any "use strict" literal. – Thor Apr 13 '18 at 16:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.