Every browser has a timeframe for script execution. While Script error is caused by violating the browser’s same-origin policy, a Long Running Script indicates performance issues. Their names are similar, but they are entirely different errors you need to handle differently. You may also find an error similar to Script error in your Raygun dashboard, called “Long Running Script”. However, it may also be a problem if the script is stored on the same domain but uses a different port, protocol (for example instead of or subdomain.įor example, an error within a script on another domain might look like this: As a result, the user’s browser stops the script from executing in order to prevent an attack called cross-site request forgery. Script errors are mostly likely to be caused by an error within a script that’s hosted on a different domain (for example, CDN scripts).
0 Comments
Leave a Reply. |