window.addEventListener第三个参数: http://haiyang.me/javascript/event.html
window.onerror: http://haiyang.me/javascript/window.onerror.html