archives

« Bugzilla Issues Index

#207 — Remove Opera browsing sniffing with respect to window.onerror support


Replace this with an iframe containing its own window.onerror and two script tags:
1. Early SyntaxError
2. Normal runtime error of some form

to validate window.onerror support is sufficient for negative test cases.


We now have a check to see if both:
throw Error();
and
va blah=;
fire window.onerror.

If they both do, we'll use window.onerror instead of try-eval-catch.