<?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>46681</bug_id>
          
          <creation_ts>2010-09-27 17:25:40 -0700</creation_ts>
          <short_desc>Fix possible illegal float values in AudioParam</short_desc>
          <delta_ts>2010-09-28 10:31:48 -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>New Bugs</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Other</rep_platform>
          <op_sys>OS X 10.5</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="Chris Rogers">crogers</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>cmarrin</cc>
    
    <cc>commit-queue</cc>
    
    <cc>dglazkov</cc>
    
    <cc>eric.carlson</cc>
    
    <cc>jamesr</cc>
    
    <cc>jer.noble</cc>
    
    <cc>kbr</cc>
    
    <cc>simon.fraser</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>285941</commentid>
    <comment_count>0</comment_count>
    <who name="Chris Rogers">crogers</who>
    <bug_when>2010-09-27 17:25:40 -0700</bug_when>
    <thetext>Fix possible illegal float values in AudioParam</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>285943</commentid>
    <comment_count>1</comment_count>
      <attachid>68997</attachid>
    <who name="Chris Rogers">crogers</who>
    <bug_when>2010-09-27 17:27:54 -0700</bug_when>
    <thetext>Created attachment 68997
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>286236</commentid>
    <comment_count>2</comment_count>
      <attachid>68997</attachid>
    <who name="Kenneth Russell">kbr</who>
    <bug_when>2010-09-28 08:06:25 -0700</bug_when>
    <thetext>Comment on attachment 68997
Patch

Looks OK. I wonder about the spec text indicating that an exception is raised if the value is outside the min and max values, and about whether the value should be set to 0.0 if NaN or +/-Inf come in.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>286326</commentid>
    <comment_count>3</comment_count>
    <who name="Chris Rogers">crogers</who>
    <bug_when>2010-09-28 10:09:33 -0700</bug_when>
    <thetext>I think ultimately we&apos;ll want to raise an exception (but not set the value to 0).  But for now, this is much better protection than we previously had.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>286351</commentid>
    <comment_count>4</comment_count>
      <attachid>68997</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-09-28 10:31:42 -0700</bug_when>
    <thetext>Comment on attachment 68997
Patch

Clearing flags on attachment: 68997

Committed r68535: &lt;http://trac.webkit.org/changeset/68535&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>286352</commentid>
    <comment_count>5</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-09-28 10:31:48 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>68997</attachid>
            <date>2010-09-27 17:27:54 -0700</date>
            <delta_ts>2010-09-28 10:31:42 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-46681-20100927172753.patch</filename>
            <type>text/plain</type>
            <size>1301</size>
            <attacher name="Chris Rogers">crogers</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYkNvcmUvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09P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cm4gc3RhdGljX2Nhc3Q8ZmxvYXQ+KG1f
dmFsdWUpOyB9Ci0gICAgdm9pZCBzZXRWYWx1ZShmbG9hdCB2YWx1ZSkgeyBtX3ZhbHVlID0gdmFs
dWU7IH0KKyAgICAKKyAgICB2b2lkIHNldFZhbHVlKGZsb2F0IHZhbHVlKQorICAgIHsKKyAgICAg
ICAgLy8gQ2hlY2sgYWdhaW5zdCBKYXZhU2NyaXB0IGdpdmluZyB1cyBib2d1cyBmbG9hdGluZy1w
b2ludCB2YWx1ZXMuCisgICAgICAgIC8vIERvbid0IEFTU0VSVCwgc2luY2UgdGhpcyBjYW4gaGFw
cGVuIGlmIHNvbWVib2R5IHdyaXRlcyBiYWQgSlMuCisgICAgICAgIGlmICghaXNuYW4odmFsdWUp
ICYmICFpc2luZih2YWx1ZSkpCisgICAgICAgICAgICBtX3ZhbHVlID0gdmFsdWU7CisgICAgfQog
CiAgICAgU3RyaW5nIG5hbWUoKSBjb25zdCB7IHJldHVybiBtX25hbWU7IH0KIAo=
</data>

          </attachment>
      

    </bug>

</bugzilla>