sean-roberts / ErrorAnnex

ErrorAnnex is a browser extension for Web Masters, Product Managers, and anyone in an organization that wants to be alerted when their interactions with a website cause JavaScript related errors.
0 stars 0 forks source link

Allow catch surpressed errors #18

Open sean-roberts opened 9 years ago

sean-roberts commented 9 years ago

Facebook for example overrides the window.onerror function. It could be useful/interesting/fun to override that function before/after the client scripts override it so we could bring to light any, typically suppressed, errors.

sean-roberts commented 9 years ago

One interesting thing that could be added is to have the toString() call return the original override's string representation. Just in case there are any dirty checks for that or so that we can try to be as not invasive as possible.