AJAX Error: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context
问题 I'm doing an API call on a system and am receiving this error. I can get a response with curl and Postman with the same URL, but safari throws this error when using Angular's $http.get() method. This will also work in production. The error only occurs during development. Searching this error turns up similar, but different questions. 回答1: I found out that this error is actually a X-origin issue. If you are only experiencing this during Dev, in Safari, just disable X-origin restrictions in the