« Bugzilla Issues Index
#207 — Remove Opera browsing sniffing with respect to window.onerror support
- bug_id:
207
- creation_ts:
2011-09-22 13:01:00 -0700
- short_desc:
Remove Opera browsing sniffing with respect to window.onerror support
- delta_ts:
2011-11-11 13:27:18 -0800
- product:
Test262
- component:
Test Harness
- version:
unspecified
- rep_platform:
All
- op_sys:
All
- bug_status:
RESOLVED
- resolution:
FIXED
- priority:
Normal
- bug_severity:
enhancement
- everconfirmed:
true
- reporter:
Dave Fugate
- assigned_to:
Dave Fugate
- commentid:
454
- comment_count:
0
- who:
Dave Fugate
- bug_when:
2011-09-22 13:01:46 -0700
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.
- commentid:
508
- comment_count:
1
- who:
Dave Fugate
- bug_when:
2011-11-11 13:27:18 -0800
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.