<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>22608</bug_id>
          
          <creation_ts>2008-12-02 16:09:12 -0800</creation_ts>
          <short_desc>Add a test to verify line numbers in uncaught exceptions</short_desc>
          <delta_ts>2008-12-05 16:02:31 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>JavaScriptCore</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Pam Greene (IRC:pamg)">pam</reporter>
          <assigned_to name="Pam Greene (IRC:pamg)">pam</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>101102</commentid>
    <comment_count>0</comment_count>
    <who name="Pam Greene (IRC:pamg)">pam</who>
    <bug_when>2008-12-02 16:09:12 -0800</bug_when>
    <thetext>Another test.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101112</commentid>
    <comment_count>1</comment_count>
    <who name="Pam Greene (IRC:pamg)">pam</who>
    <bug_when>2008-12-02 16:47:21 -0800</bug_when>
    <thetext>After examining the existing tests, I note that the difference here is that it&apos;s specifically an uncaught exception, so there&apos;s no Exception object.  The other fast/js/exception* tests are examining the properties of the Exception produced.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101119</commentid>
    <comment_count>2</comment_count>
      <attachid>25692</attachid>
    <who name="Pam Greene (IRC:pamg)">pam</who>
    <bug_when>2008-12-02 16:57:23 -0800</bug_when>
    <thetext>Created attachment 25692
New test + result

This test is not suited to the JS wrapper, because the uncaught exception halts parsing.

The test also currently doesn&apos;t produce the right output, instead saying the exception was thrown on line 0. Unfortunately, there&apos;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&apos;t know of a better way to check what it&apos;s looking at.

The line-number error looks like bug 5206.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101331</commentid>
    <comment_count>3</comment_count>
      <attachid>25692</attachid>
    <who name="Darin Adler">darin</who>
    <bug_when>2008-12-04 09:23:27 -0800</bug_when>
    <thetext>Comment on attachment 25692
New test + result

No harm in having this test checked in.

r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101594</commentid>
    <comment_count>4</comment_count>
    <who name="Pam Greene (IRC:pamg)">pam</who>
    <bug_when>2008-12-05 16:02:31 -0800</bug_when>
    <thetext>Landed r39054</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>25692</attachid>
            <date>2008-12-02 16:57:23 -0800</date>
            <delta_ts>2008-12-04 09:23:27 -0800</delta_ts>
            <desc>New test + result</desc>
            <filename>22608a.txt</filename>
            <type>text/plain</type>
            <size>1818</size>
            <attacher name="Pam Greene (IRC:pamg)">pam</attacher>
            
              <data encoding="base64">SW5kZXg6IENoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBDaGFuZ2VMb2cJKHJldmlzaW9uIDM4OTI2
KQorKysgQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBAIC0xLDMgKzEsMTMgQEAKKzIwMDgtMTIt
MDIgIFBhbWVsYSBHcmVlbmUgIDxwYW1AY2hyb21pdW0ub3JnPgorCisgICAgICA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c29sZS4gVG8gcnVuIHRoZSB0ZXN0IG1hbnVhbGx5LCBsb29rIGluIHRoZSBK
UyBjb25zb2xlIGZvciBhbiB1bmNhdWdodCBleGNlcHRpb24gb24gbGluZSAxMS4KKwpJbmRleDog
ZmFzdC9qcy91bmNhdWdodC1leGNlcHRpb24tbGluZS1udW1iZXIuaHRtbAo9PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0t
LSBmYXN0L2pzL3VuY2F1Z2h0LWV4Y2VwdGlvbi1saW5lLW51bWJlci5odG1sCShyZXZpc2lvbiAw
KQorKysgZmFzdC9qcy91bmNhdWdodC1leGNlcHRpb24tbGluZS1udW1iZXIuaHRtbAkocmV2aXNp
b24gMCkKQEAgLTAsMCArMSwxOCBAQAorPGh0bWw+Cis8Ym9keT4KK1RoaXMgdGVzdHMgdGhhdCB1
bmNhdWdodCBleGNlcHRpb25zIGhhdmUgdGhlIHJpZ2h0IGxpbmUgbnVtYmVycywgZm9yCitleGFt
cGxlIGZvciBkaXNwbGF5IGluIHRoZSBKYXZhU2NyaXB0IGVycm9yIGNvbnNvbGUuIFRvIHJ1biB0
aGUgdGVzdCBtYW51YWxseSwKK2xvb2sgaW4gdGhlIEpTIGNvbnNvbGUgZm9yIGFuIHVuY2F1Z2h0
IGV4Y2VwdGlvbiBvbiBsaW5lIDExLjxicj4KKworPHNjcmlwdD4KK2lmICh3aW5kb3cubGF5b3V0
VGVzdENvbnRyb2xsZXIpIGxheW91dFRlc3RDb250cm9sbGVyLmR1bXBBc1RleHQoKTsKKworZnVu
Y3Rpb24gZm9vKCkgeworICB0aHJvdyAndWggb2gsIGFuIGV4Y2VwdGlvbiEnOworfQorPC9zY3Jp
cHQ+Cis8c2NyaXB0PgorZm9vKCk7Cis8L3NjcmlwdD4KKzwvYm9keT4KKzwvaHRtbD4K
</data>
<flag name="review"
          id="11996"
          type_id="1"
          status="+"
          setter="darin"
    />
          </attachment>
      

    </bug>

</bugzilla>