<?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>261067</bug_id>
          
          <creation_ts>2023-09-02 11:57:10 -0700</creation_ts>
          <short_desc>Check for NaN when creating a DelayNode for WebAudio</short_desc>
          <delta_ts>2023-09-05 13:51:19 -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>Safari 16</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>BrowserCompat, InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ahmad Saleem">ahmad.saleem792</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>cdumez</cc>
    
    <cc>karlcow</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1975198</commentid>
    <comment_count>0</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2023-09-02 11:57:10 -0700</bug_when>
    <thetext>Hi Team,

I think it would be good to merge this and also update &apos;Layout Test&apos; for &apos;NaN&apos; check.

Blink Commit: https://chromium.googlesource.com/chromium/src.git/+/c8c4a710be6292a220177fef0c3f1c7c7853d062

WebKit Source: https://searchfox.org/wubkat/source/Source/WebCore/Modules/webaudio/DelayNode.cpp#55 &amp; https://searchfox.org/wubkat/source/Source/WebCore/Modules/webaudio/DelayDSPKernel.cpp#75

___

Test Output:

PASS context.createDelay(NaN) threw exception TypeError: The provided value is non-finite.

___

Just wanted to raise to get opinion whether we should merge it or not.

Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1975434</commentid>
    <comment_count>1</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2023-09-04 17:50:59 -0700</bug_when>
    <thetext>https://wpt.fyi/results/webaudio/the-audio-api/the-delaynode-interface?label=master&amp;label=experimental&amp;aligned&amp;q=delaynode%20</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1975435</commentid>
    <comment_count>2</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2023-09-04 17:54:19 -0700</bug_when>
    <thetext>https://searchfox.org/wubkat/rev/68e96f24aae90f5a0a5e0c56c932c93616766cc7/Source/WebCore/Modules/webaudio/DelayNode.cpp#50-67

Maybe it&apos;s already checked in some ways.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1975654</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-09-05 13:50:57 -0700</bug_when>
    <thetext>Committed 267650@main (5736f9dd89ea): &lt;https://commits.webkit.org/267650@main&gt;

Reviewed commits have been landed. Closing PR #17379 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1975655</commentid>
    <comment_count>4</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-09-05 13:51:19 -0700</bug_when>
    <thetext>&lt;rdar://problem/115008784&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>