WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
22608
Add a test to verify line numbers in uncaught exceptions
https://bugs.webkit.org/show_bug.cgi?id=22608
Summary
Add a test to verify line numbers in uncaught exceptions
Pam Greene (IRC:pamg)
Reported
2008-12-02 16:09:12 PST
Another test.
Attachments
New test + result
(1.78 KB, patch)
2008-12-02 16:57 PST
,
Pam Greene (IRC:pamg)
darin
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Pam Greene (IRC:pamg)
Comment 1
2008-12-02 16:47:21 PST
After examining the existing tests, I note that the difference here is that it's specifically an uncaught exception, so there's no Exception object. The other fast/js/exception* tests are examining the properties of the Exception produced.
Pam Greene (IRC:pamg)
Comment 2
2008-12-02 16:57:23 PST
Created
attachment 25692
[details]
New test + result This test is not suited to the JS wrapper, because the uncaught exception halts parsing. The test also currently doesn't produce the right output, instead saying the exception was thrown on line 0. Unfortunately, there's no good way to mark it as an expected failure (no way to have FAIL come up in the expected results). All in all, not an ideal test, but I don't know of a better way to check what it's looking at. The line-number error looks like
bug 5206
.
Darin Adler
Comment 3
2008-12-04 09:23:27 PST
Comment on
attachment 25692
[details]
New test + result No harm in having this test checked in. r=me
Pam Greene (IRC:pamg)
Comment 4
2008-12-05 16:02:31 PST
Landed
r39054
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug