You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm bundling stacktrace.js with my other modules using browserify, and the entrypoint function declares "use strict". I'm not sure why this is causing IE to evaluate stacktrace.js itself with strict mode (I suspect its not supposed to), but it's causing stacktrace.js to throw an exception in this case.
For some reason, the exception is being labeled as mode 'other' (instead of 'ie', even though this.mode(this.createException()) returns 'ie'), and is going through code that executes curr = curr.caller, which IE complains that "Accessing the 'caller' property of a function or arguments is not allowed in strict mode".
The text was updated successfully, but these errors were encountered:
fresheneesz
added a commit
to fresheneesz/stackinfo
that referenced
this issue
May 5, 2014
I'm bundling stacktrace.js with my other modules using browserify, and the entrypoint function declares "use strict". I'm not sure why this is causing IE to evaluate stacktrace.js itself with strict mode (I suspect its not supposed to), but it's causing stacktrace.js to throw an exception in this case.
For some reason, the exception is being labeled as mode 'other' (instead of 'ie', even though this.mode(this.createException()) returns 'ie'), and is going through code that executes
curr = curr.caller
, which IE complains that "Accessing the 'caller' property of a function or arguments is not allowed in strict mode".The text was updated successfully, but these errors were encountered: