We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
非 icestark 错误,需要考虑下是否要处理这种情况
Demo: index.html
<!DOCTYPE html> <html> <body> <script> const element = document.createElement('script'); element.src = './index.js' element.addEventListener( 'error', () => { console.log('error----') }, false, ); element.addEventListener('load', () => { console.log('load---') }, false); document.getElementsByTagName('head')[0].appendChild(element) </script> </body> </html>
index.js
(function(){ throw new Error('error') })();
The text was updated successfully, but these errors were encountered:
No branches or pull requests
非 icestark 错误,需要考虑下是否要处理这种情况
Demo: index.html
index.js
The text was updated successfully, but these errors were encountered: