<?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>81639</bug_id>
          
          <creation_ts>2012-03-20 02:06:32 -0700</creation_ts>
          <short_desc>Fix the error type in JSAudioBufferSourceNodeCustom to pass layout test.</short_desc>
          <delta_ts>2012-03-29 08:55:08 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Web Audio</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</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>0</everconfirmed>
          <reporter name="Sanghyun Park">sh919.park</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>crogers</cc>
    
    <cc>dw.im</cc>
    
    <cc>dynastpsh</cc>
    
    <cc>eric.carlson</cc>
    
    <cc>pnormand</cc>
    
    <cc>s.choi</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>582870</commentid>
    <comment_count>0</comment_count>
    <who name="Sanghyun Park">sh919.park</who>
    <bug_when>2012-03-20 02:06:32 -0700</bug_when>
    <thetext>The layout tests for the WebAudio APIs have all passed using Chromium, 
but encountered 1 crash error in Gtk port.

Crash List
- LayoutTest/webaudio/audiobuffersource-channels.html

The reason for causing crash is that it returns a wrong type (e.g., 
SyntaxError should have been TypeError).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>587473</commentid>
    <comment_count>1</comment_count>
      <attachid>133731</attachid>
    <who name="Sanghyun Park">sh919.park</who>
    <bug_when>2012-03-25 23:21:52 -0700</bug_when>
    <thetext>Created attachment 133731
Patch

Initial patch!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>590106</commentid>
    <comment_count>2</comment_count>
    <who name="Chris Rogers">crogers</who>
    <bug_when>2012-03-28 10:33:31 -0700</bug_when>
    <thetext>This seems good, but adding Eric Carlson since he likely knows more about details of JSC bindings.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>590671</commentid>
    <comment_count>3</comment_count>
    <who name="Eric Carlson">eric.carlson</who>
    <bug_when>2012-03-28 17:50:12 -0700</bug_when>
    <thetext>(In reply to comment #0)
&gt; The layout tests for the WebAudio APIs have all passed using Chromium, 
&gt; but encountered 1 crash error in Gtk port.
&gt; 
&gt; Crash List
&gt; - LayoutTest/webaudio/audiobuffersource-channels.html
&gt; 
&gt; The reason for causing crash is that it returns a wrong type (e.g., 
&gt; SyntaxError should have been TypeError).

Do you mean that the test actually crashed, or that it simply failed?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>590695</commentid>
    <comment_count>4</comment_count>
    <who name="Sanghyun Park">sh919.park</who>
    <bug_when>2012-03-28 18:10:24 -0700</bug_when>
    <thetext>(In reply to comment #3)
&gt; (In reply to comment #0)
&gt; &gt; The layout tests for the WebAudio APIs have all passed using Chromium, 
&gt; &gt; but encountered 1 crash error in Gtk port.
&gt; &gt; 
&gt; &gt; Crash List
&gt; &gt; - LayoutTest/webaudio/audiobuffersource-channels.html
&gt; &gt; 
&gt; &gt; The reason for causing crash is that it returns a wrong type (e.g., 
&gt; &gt; SyntaxError should have been TypeError).
&gt; 
&gt; Do you mean that the test actually crashed, or that it simply failed?

Sorry for the confusion - the test was simply failed due to the error type mismatch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>591217</commentid>
    <comment_count>5</comment_count>
    <who name="Eric Carlson">eric.carlson</who>
    <bug_when>2012-03-29 08:47:31 -0700</bug_when>
    <thetext>(In reply to comment #4)
&gt; 
&gt; Sorry for the confusion - the test was simply failed due to the error type mismatch.

No problem! I just wanted to make sure I understood the issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>591224</commentid>
    <comment_count>6</comment_count>
      <attachid>133731</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-03-29 08:55:02 -0700</bug_when>
    <thetext>Comment on attachment 133731
Patch

Clearing flags on attachment: 133731

Committed r112535: &lt;http://trac.webkit.org/changeset/112535&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>591225</commentid>
    <comment_count>7</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-03-29 08:55:08 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>133731</attachid>
            <date>2012-03-25 23:21:52 -0700</date>
            <delta_ts>2012-03-29 08:55:02 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>atch-[20120320]-[sh919.park@samsung.com]-[fix-the-error-type-in-JSAudioBufferSourceNodeCustom].patch</filename>
            <type>text/plain</type>
            <size>1914</size>
            <attacher name="Sanghyun Park">sh919.park</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1NvdXJjZS9XZWJDb3JlL0NoYW5nZUxvZyBiL1NvdXJjZS9XZWJDb3JlL0No
YW5nZUxvZwppbmRleCBhN2MxZTRhLi45MWRhZTYyIDEwMDY0NAotLS0gYS9Tb3VyY2UvV2ViQ29y
ZS9DaGFuZ2VMb2cKKysrIGIvU291cmNlL1dlYkNvcmUvQ2hhbmdlTG9nCkBAIC0xLDMgKzEsMTQg
QEAKKzIwMTItMDMtMjAgIFNhbmdoeXVuIFBhcmsgIDxzaDkxOS5wYXJrQHNhbXN1bmcuY29tPgor
CisgICAgICAg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