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
Copy file name to clipboardExpand all lines: 2-ui/5-loading/03-onload-onerror/article.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -74,7 +74,7 @@ Please note that we can't get HTTP error details here. We don't know if it was a
74
74
```warn
75
75
Events `onload`/`onerror` track only the loading itself.
76
76
77
-
Errors during script processing and execution are out of scope for these events. To track script errors, one can use `window.onerror` global handler.
77
+
Errors that may occur during script processing and execution are out of scope for these events. That is: if a script loaded successfully, then `onload` triggers, even if it has programming errors in it. To track script errors, one can use `window.onerror` global handler.
0 commit comments