Bug 261067

Summary: Check for NaN when creating a DelayNode for WebAudio
Product: WebKit Reporter: Ahmad Saleem <ahmad.saleem792>
Component: Web AudioAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, karlcow, webkit-bug-importer
Priority: P2 Keywords: BrowserCompat, InRadar
Version: Safari 16   
Hardware: Unspecified   
OS: Unspecified   

Description Ahmad Saleem 2023-09-02 11:57:10 PDT
Hi Team,

I think it would be good to merge this and also update 'Layout Test' for 'NaN' 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 & 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!
Comment 3 EWS 2023-09-05 13:50:57 PDT
Committed 267650@main (5736f9dd89ea): <https://commits.webkit.org/267650@main>

Reviewed commits have been landed. Closing PR #17379 and removing active labels.
Comment 4 Radar WebKit Bug Importer 2023-09-05 13:51:19 PDT
<rdar://problem/115008784>