<?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>298060</bug_id>
          
          <creation_ts>2025-08-28 13:58:56 -0700</creation_ts>
          <short_desc>ASSERTION FAILED: !std::isnan(value) - RTCRtpReceiver-track-settings.tentative.html WPT test case</short_desc>
          <delta_ts>2025-09-16 00:29:52 -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>WebRTC</component>
          <version>Safari Technology Preview</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>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="youenn fablet">youennf</assigned_to>
          <cc>webkit-bug-importer</cc>
    
    <cc>youennf</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2139474</commentid>
    <comment_count>0</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2025-08-28 13:58:56 -0700</bug_when>
    <thetext>Hi Team,

While going through webrtc imports, it seems we hit below assert:

WPT Test Case: http://wpt.live/webrtc/RTCRtpReceiver-track-settings.tentative.html

Import EWS Run - https://ews-build.s3-us-west-2.amazonaws.com/macOS-Sequoia-Debug-WK2-Tests-EWS/db6dcd8b-34175-stress-mode/imported/w3c/web-platform-tests/webrtc/RTCRtpReceiver-track-settings.tentative-stderr.txt

*****

ASSERTION FAILED: !std::isnan(value)
/Volumes/Data/worker/macOS-Sequoia-Debug-Build-EWS/build/Source/WebCore/bindings/js/JSDOMConvertNumbers.h(270) : static JSC::JSValue WebCore::JSConverter&lt;WebCore::IDLDouble&gt;::convert(Type)
1   0x300b39fd8 WebCore::JSConverter&lt;WebCore::IDLDouble&gt;::convert(double)
2   0x300b39f78 JSC::JSValue WebCore::JSConverterOverloader&lt;WebCore::IDLDouble, false, false&gt;::convert&lt;double&gt;(JSC::JSGlobalObject&amp;, double&amp;&amp;)
3   0x300b39f44 JSC::JSValue WebCore::toJS&lt;WebCore::IDLDouble, double&gt;(JSC::JSGlobalObject&amp;, double&amp;&amp;)
4   0x300a70978 JSC::JSValue WebCore::toJS&lt;WebCore::IDLDouble, double&gt;(JSC::JSGlobalObject&amp;, JSC::ThrowScope&amp;, double&amp;&amp;)
5   0x301d7e2a8 WebCore::convertDictionaryToJS(JSC::JSGlobalObject&amp;, WebCore::JSDOMGlobalObject&amp;, WebCore::MediaStreamTrack::TrackSettings const&amp;)
6   0x301e0d88c WebCore::JSConverter&lt;WebCore::IDLDictionary&lt;WebCore::MediaStreamTrack::TrackSettings&gt;&gt;::convert(JSC::JSGlobalObject&amp;, WebCore::JSDOMGlobalObject&amp;, WebCore::MediaStreamTrack::TrackSettings const&amp;)
7   0x301e0d850 JSC::JSValue WebCore::JSConverterOverloader&lt;WebCore::IDLDictionary&lt;WebCore::MediaStreamTrack::TrackSettings&gt;, true, true&gt;::convert&lt;WebCore::MediaStreamTrack::TrackSettings&gt;(JSC::JSGlobalObject&amp;, WebCore::JSDOMGlobalObject&amp;, WebCore::MediaStreamTrack::TrackSettings&amp;&amp;)
8   0x301e0d814 JSC::JSValue WebCore::toJS&lt;WebCore::IDLDictionary&lt;WebCore::MediaStreamTrack::TrackSettings&gt;, WebCore::MediaStreamTrack::TrackSettings&gt;(JSC::JSGlobalObject&amp;, WebCore::JSDOMGlobalObject&amp;, WebCore::MediaStreamTrack::TrackSettings&amp;&amp;)
9   0x301e0d7ac JSC::JSValue WebCore::toJS&lt;WebCore::IDLDictionary&lt;WebCore::MediaStreamTrack::TrackSettings&gt;, WebCore::MediaStreamTrack::TrackSettings&gt;(JSC::JSGlobalObject&amp;, WebCore::JSDOMGlobalObject&amp;, JSC::ThrowScope&amp;, WebCore::MediaStreamTrack::TrackSettings&amp;&amp;)
10  0x301e0d730 WebCore::jsMediaStreamTrackPrototypeFunction_getSettingsBody(JSC::JSGlobalObject*, JSC::CallFrame*, WebCore::JSMediaStreamTrack*)
11  0x301e0d634 long long WebCore::IDLOperation&lt;WebCore::JSMediaStreamTrack&gt;::call&lt;&amp;WebCore::jsMediaStreamTrackPrototypeFunction_getSettingsBody(JSC::JSGlobalObject*, JSC::CallFrame*, WebCore::JSMediaStreamTrack*), (WebCore::CastedThisErrorBehavior)0&gt;(JSC::JSGlobalObject&amp;, JSC::CallFrame&amp;, char const*)
12  0x301e0c198 WebCore::jsMediaStreamTrackPrototypeFunction_getSettings(JSC::JSGlobalObject*, JSC::CallFrame*)
13  0x13e01003c 12  ???                                 0x000000013e01003c 0x0 + 5335220284
14  0x12f50aed0 op_call_return_location
15  0x12f50aed0 op_call_return_location
16  0x12f50c468 op_call_ignore_result_return_location
17  0x12f50c468 op_call_ignore_result_return_location
18  0x12f4e1958 llint_call_javascript
19  0x12e4416c4 JSC::Interpreter::executeCallImpl(JSC::VM&amp;, JSC::JSObject*, JSC::CallData const&amp;, JSC::JSValue, JSC::ArgList const&amp;)
20  0x12e441804 JSC::Interpreter::executeCall(JSC::JSObject*, JSC::CallData const&amp;, JSC::JSValue, JSC::ArgList const&amp;)
21  0x12e737904 JSC::call(JSC::JSGlobalObject*, JSC::JSValue, JSC::CallData const&amp;, JSC::JSValue, JSC::ArgList const&amp;)
22  0x12e7379bc JSC::call(JSC::JSGlobalObject*, JSC::JSValue, JSC::CallData const&amp;, JSC::JSValue, JSC::ArgList const&amp;, WTF::NakedPtr&lt;JSC::Exception&gt;&amp;)
23  0x12e737c9c JSC::profiledCall(JSC::JSGlobalObject*, JSC::ProfilingReason, JSC::JSValue, JSC::CallData const&amp;, JSC::JSValue, JSC::ArgList const&amp;, WTF::NakedPtr&lt;JSC::Exception&gt;&amp;)
24  0x3054d9e6c WebCore::MicrotaskQueue::runJSMicrotask(JSC::JSGlobalObject*, JSC::VM&amp;, JSC::QueuedTask&amp;)
25  0x3054f2868 WebCore::MicrotaskQueue::performMicrotaskCheckpoint()::$_0::operator()(JSC::QueuedTask&amp;) const
26  0x3054da62c void JSC::MicrotaskQueue::performMicrotaskCheckpoint&lt;WebCore::MicrotaskQueue::performMicrotaskCheckpoint()::$_0&gt;(JSC::VM&amp;, WebCore::MicrotaskQueue::performMicrotaskCheckpoint()::$_0 const&amp;)
27  0x3054da374 WebCore::MicrotaskQueue::performMicrotaskCheckpoint()
28  0x30546af48 WebCore::EventLoop::performMicrotaskCheckpoint()
29  0x30546bd0c WebCore::EventLoop::run(std::__1::optional&lt;WTF::ApproximateTime&gt;)
30  0x305661948 WebCore::WindowEventLoop::didReachTimeToRun()
31  0x305665560 WebCore::Timer::Timer&lt;WebCore::WindowEventLoop, WebCore::WindowEventLoop&gt;(WebCore::WindowEventLoop&amp;, void (WebCore::WindowEventLoop::*)())::&apos;lambda&apos;()::operator()() const
com.apple.WebKit.WebContent.Development terminated (pid 1552) for reason: crash
LEAK: 1 WebPageProxy

****

Just raising so we can fix it.

Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2141032</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2025-09-04 13:59:52 -0700</bug_when>
    <thetext>&lt;rdar://problem/159882460&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2142574</commentid>
    <comment_count>2</comment_count>
    <who name="youenn fablet">youennf</who>
    <bug_when>2025-09-12 05:19:56 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/50652</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2143232</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-09-16 00:29:49 -0700</bug_when>
    <thetext>Committed 300017@main (547b9eb67f0c): &lt;https://commits.webkit.org/300017@main&gt;

Reviewed commits have been landed. Closing PR #50652 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>