Assertion failure: IsValid(aEvent.NominalValue()), at /builds/worker/checkouts/gecko/dom/media/webaudio/AudioEventTimeline.h:240
Categories
(Core :: Web Audio, defect)
Tracking
()
People
(Reporter: tsmith, Assigned: padenot)
References
(Blocks 1 open bug)
Details
(Keywords: ai-involved, assertion, testcase, Whiteboard: [bugmon:bisected,confirmed])
Attachments
(1 file, 1 external file, 2 obsolete files)
|
222 bytes,
text/html
|
Details |
Found while fuzzing m-c 20260213-a3c27d72de36 (--enable-debug --enable-fuzzing)
To reproduce via Grizzly Replay:
$ pip install fuzzfetch grizzly-framework --upgrade
$ python -m fuzzfetch -d --fuzzing -n firefox
$ python -m grizzly.replay.bugzilla ./firefox/firefox <bugid>
Assertion failure: IsValid(aEvent.NominalValue()), at /builds/worker/checkouts/gecko/dom/media/webaudio/AudioEventTimeline.h:240
0|0|libxul.so|mozilla::dom::AudioEventTimeline::ValidateEvent(mozilla::dom::AudioTimelineEvent const&, mozilla::ErrorResult&) const|git:github.com/mozilla-firefox/firefox:dom/media/webaudio/AudioEventTimeline.h:5020c06022c014e5e68fa57d8f54626e7b2689ff|240|0x3d1
0|1|libxul.so|mozilla::dom::AudioParam::SetValueAtTime(float, double, mozilla::ErrorResult&)|git:github.com/mozilla-firefox/firefox:dom/media/webaudio/AudioParam.h:5020c06022c014e5e68fa57d8f54626e7b2689ff|79|0xba
0|2|libxul.so|mozilla::dom::AudioParam::SetInitialValue(float)|git:github.com/mozilla-firefox/firefox:dom/media/webaudio/AudioParam.h:5020c06022c014e5e68fa57d8f54626e7b2689ff|63|0x7a
0|3|libxul.so|mozilla::dom::AudioWorkletNode::SendParameterData(mozilla::dom::Optional<mozilla::dom::Record<nsTString<char16_t>, double> > const&)|git:github.com/mozilla-firefox/firefox:dom/media/webaudio/AudioWorkletNode.cpp:5020c06022c014e5e68fa57d8f54626e7b2689ff|650|0x16d
0|4|libxul.so|mozilla::dom::AudioWorkletNode::Constructor(mozilla::dom::GlobalObject const&, mozilla::dom::AudioContext&, nsTSubstring<char16_t> const&, mozilla::dom::AudioWorkletNodeOptions const&, mozilla::ErrorResult&)|git:github.com/mozilla-firefox/firefox:dom/media/webaudio/AudioWorkletNode.cpp:5020c06022c014e5e68fa57d8f54626e7b2689ff|806|0x683
0|5|libxul.so|mozilla::dom::AudioWorkletNode_Binding::_constructor(JSContext*, unsigned int, JS::Value*)|s3:gecko-generated-sources:c734d29590fe65c62920940bb3106c37e49214679e11714493b84687eabfbc6dfa19d00d68aad036ac3cc03fe3c87e7666558ac76a0ec1a068a47d303784ba6f/dom/bindings/AudioWorkletNodeBinding.cpp:|735|0x58c
0|6|libxul.so|CallJSNative(JSContext*, bool (*)(JSContext*, unsigned int, JS::Value*), js::CallReason, JS::CallArgs const&)|git:github.com/mozilla-firefox/firefox:js/src/vm/Interpreter.cpp:5020c06022c014e5e68fa57d8f54626e7b2689ff|490|0xf4
0|7|libxul.so|CallJSNativeConstructor(JSContext*, bool (*)(JSContext*, unsigned int, JS::Value*), JS::CallArgs const&)|git:github.com/mozilla-firefox/firefox:js/src/vm/Interpreter.cpp:5020c06022c014e5e68fa57d8f54626e7b2689ff|508|0x8c
0|8|libxul.so|InternalConstruct(JSContext*, js::AnyConstructArgs const&, js::CallReason)|git:github.com/mozilla-firefox/firefox:js/src/vm/Interpreter.cpp:5020c06022c014e5e68fa57d8f54626e7b2689ff|714|0x38d
0|9|libxul.so|js::Interpret(JSContext*, js::RunState&)|git:github.com/mozilla-firefox/firefox:js/src/vm/Interpreter.cpp:5020c06022c014e5e68fa57d8f54626e7b2689ff|3257|0xab33
0|10|libxul.so|js::RunScript(JSContext*, js::RunState&)|git:github.com/mozilla-firefox/firefox:js/src/vm/Interpreter.cpp:5020c06022c014e5e68fa57d8f54626e7b2689ff|460|0x3da
0|11|libxul.so|js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason)|git:github.com/mozilla-firefox/firefox:js/src/vm/Interpreter.cpp:5020c06022c014e5e68fa57d8f54626e7b2689ff|618|0x2e5
0|12|libxul.so|js::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>, js::CallReason)|git:github.com/mozilla-firefox/firefox:js/src/vm/Interpreter.cpp:5020c06022c014e5e68fa57d8f54626e7b2689ff|685|0x12c
0|13|libxul.so|js::CallSelfHostedFunction(JSContext*, JS::Handle<js::PropertyName*>, JS::Handle<JS::Value>, js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>)|git:github.com/mozilla-firefox/firefox:js/src/vm/SelfHosting.cpp:5020c06022c014e5e68fa57d8f54626e7b2689ff|1187|0xf7
0|14|libxul.so|AsyncFunctionResume(JSContext*, JS::Handle<js::AsyncFunctionGeneratorObject*>, ResumeKind, JS::Handle<JS::Value>)|git:github.com/mozilla-firefox/firefox:js/src/vm/AsyncFunction.cpp:5020c06022c014e5e68fa57d8f54626e7b2689ff|157|0x320
0|15|libxul.so|JS::RunJSMicroTask(JSContext*, JS::Handle<JSObject*>)|git:github.com/mozilla-firefox/firefox:js/src/builtin/Promise.cpp:5020c06022c014e5e68fa57d8f54626e7b2689ff|7559|0xeb1
0|16|libxul.so|mozilla::MustConsumeMicroTask::RunAndConsumeJSMicroTask(JSContext*)|git:github.com/mozilla-firefox/firefox:xpcom/base/CycleCollectedJSContext.h:5020c06022c014e5e68fa57d8f54626e7b2689ff|237|0x66
0|17|libxul.so|mozilla::RunMicroTask(JSContext*, JS::MutableHandle<mozilla::MustConsumeMicroTask>)|git:github.com/mozilla-firefox/firefox:xpcom/base/CycleCollectedJSContext.cpp:5020c06022c014e5e68fa57d8f54626e7b2689ff|858|0x65a
0|18|libxul.so|mozilla::CycleCollectedJSContext::PerformMicroTaskCheckPoint(bool)|git:github.com/mozilla-firefox/firefox:xpcom/base/CycleCollectedJSContext.cpp:5020c06022c014e5e68fa57d8f54626e7b2689ff|991|0x18a
0|19|libxul.so|mozilla::CycleCollectedJSContext::AfterProcessTask(unsigned int)|git:github.com/mozilla-firefox/firefox:xpcom/base/CycleCollectedJSContext.cpp:5020c06022c014e5e68fa57d8f54626e7b2689ff|527|0x19
0|20|libxul.so|XPCJSContext::AfterProcessTask(unsigned int)|git:github.com/mozilla-firefox/firefox:js/xpconnect/src/XPCJSContext.cpp:5020c06022c014e5e68fa57d8f54626e7b2689ff|1535|0x340
0|21|libxul.so|nsThread::ProcessNextEvent(bool, bool*)|git:github.com/mozilla-firefox/firefox:xpcom/threads/nsThread.cpp:5020c06022c014e5e68fa57d8f54626e7b2689ff|1224|0xafd
0|22|libxul.so|NS_ProcessNextEvent(nsIThread*, bool)|git:github.com/mozilla-firefox/firefox:xpcom/threads/nsThreadUtils.cpp:5020c06022c014e5e68fa57d8f54626e7b2689ff|461|0x4f
0|23|libxul.so|mozilla::SpinEventLoopUntil<(mozilla::ProcessFailureBehavior)1, mozilla::dom::ContentChild::ProvideWindowCommon(mozilla::NotNull<mozilla::dom::BrowserChild*>, nsIOpenWindowInfo*, unsigned int, bool, nsIURI*, nsTSubstring<char16_t> const&, nsTSubstring<char> const&, mozilla::dom::UserActivation::Modifiers const&, bool, bool, bool, nsDocShellLoadState*, bool*, mozilla::dom::BrowsingContext**)::$_6>(nsTSubstring<char> const&, mozilla::dom::ContentChild::ProvideWindowCommon(mozilla::NotNull<mozilla::dom::BrowserChild*>, nsIOpenWindowInfo*, unsigned int, bool, nsIURI*, nsTSubstring<char16_t> const&, nsTSubstring<char> const&, mozilla::dom::UserActivation::Modifiers const&, bool, bool, bool, nsDocShellLoadState*, bool*, mozilla::dom::BrowsingContext**)::$_6&&, nsIThread*)|git:github.com/mozilla-firefox/firefox:xpcom/threads/SpinEventLoopUntil.h:5020c06022c014e5e68fa57d8f54626e7b2689ff|176|0x254
0|24|libxul.so|mozilla::dom::ContentChild::ProvideWindowCommon(mozilla::NotNull<mozilla::dom::BrowserChild*>, nsIOpenWindowInfo*, unsigned int, bool, nsIURI*, nsTSubstring<char16_t> const&, nsTSubstring<char> const&, mozilla::dom::UserActivation::Modifiers const&, bool, bool, bool, nsDocShellLoadState*, bool*, mozilla::dom::BrowsingContext**)|git:github.com/mozilla-firefox/firefox:dom/ipc/ContentChild.cpp:5020c06022c014e5e68fa57d8f54626e7b2689ff|1311|0xd97
0|25|libxul.so|mozilla::dom::BrowserChild::ProvideWindow(nsIOpenWindowInfo*, unsigned int, bool, nsIURI*, nsTSubstring<char16_t> const&, nsTSubstring<char> const&, mozilla::dom::UserActivation::Modifiers const&, bool, bool, bool, nsDocShellLoadState*, bool*, mozilla::dom::BrowsingContext**)|git:github.com/mozilla-firefox/firefox:dom/ipc/BrowserChild.cpp:5020c06022c014e5e68fa57d8f54626e7b2689ff|741|0x211
0|26|libxul.so|nsWindowWatcher::OpenWindowInternal(mozIDOMWindowProxy*, nsIURI*, nsTSubstring<char> const&, nsTSubstring<char> const&, mozilla::dom::UserActivation::Modifiers const&, bool, bool, bool, nsIArray*, bool, bool, bool, nsPIWindowWatcher::PrintKind, nsDocShellLoadState*, mozilla::dom::BrowsingContext**)|git:github.com/mozilla-firefox/firefox:toolkit/components/windowwatcher/nsWindowWatcher.cpp:5020c06022c014e5e68fa57d8f54626e7b2689ff|1001|0x1425
0|27|libxul.so|nsWindowWatcher::OpenWindow2(mozIDOMWindowProxy*, nsIURI*, nsTSubstring<char> const&, nsTSubstring<char> const&, mozilla::dom::UserActivation::Modifiers const&, bool, bool, bool, nsIArray*, bool, bool, bool, nsPIWindowWatcher::PrintKind, nsDocShellLoadState*, mozilla::dom::BrowsingContext**)|git:github.com/mozilla-firefox/firefox:toolkit/components/windowwatcher/nsWindowWatcher.cpp:5020c06022c014e5e68fa57d8f54626e7b2689ff|384|0x144
0|28|libxul.so|nsGlobalWindowOuter::OpenInternal(nsTSubstring<char> const&, nsTSubstring<char16_t> const&, nsTSubstring<char16_t> const&, bool, bool, bool, bool, nsIArray*, nsDocShellLoadState*, bool, nsGlobalWindowOuter::PrintKind, mozilla::dom::BrowsingContext**)|git:github.com/mozilla-firefox/firefox:dom/base/nsGlobalWindowOuter.cpp:5020c06022c014e5e68fa57d8f54626e7b2689ff|6923|0xc76
0|29|libxul.so|nsGlobalWindowOuter::OpenOuter(nsTSubstring<char16_t> const&, nsTSubstring<char16_t> const&, nsTSubstring<char16_t> const&, mozilla::ErrorResult&)|git:github.com/mozilla-firefox/firefox:dom/base/nsGlobalWindowOuter.cpp:5020c06022c014e5e68fa57d8f54626e7b2689ff|5554|0xc6
0|30|libxul.so|nsGlobalWindowInner::Open(nsTSubstring<char16_t> const&, nsTSubstring<char16_t> const&, nsTSubstring<char16_t> const&, mozilla::ErrorResult&)|git:github.com/mozilla-firefox/firefox:dom/base/nsGlobalWindowInner.cpp:5020c06022c014e5e68fa57d8f54626e7b2689ff|4109|0x50
0|31|libxul.so|mozilla::dom::Window_Binding::open(JSContext*, JS::Handle<JSObject*>, void*, JSJitMethodCallArgs const&)|s3:gecko-generated-sources:a74645fd34497a2ce3f8fff60ccd30c66f5bedd232d4a6f9bded9620065728beac853c1363ffc534682314980b2bd4d98f2234af544a14bd38541ff1e49f94de/dom/bindings/WindowBinding.cpp:|3704|0x299
0|32|libxul.so|mozilla::dom::binding_detail::GenericMethod<mozilla::dom::binding_detail::MaybeCrossOriginObjectThisPolicy, mozilla::dom::binding_detail::ThrowExceptions>(JSContext*, unsigned int, JS::Value*)|git:github.com/mozilla-firefox/firefox:dom/bindings/BindingUtils.cpp:5020c06022c014e5e68fa57d8f54626e7b2689ff|3310|0x282
0|33|||||
0|34|||||
0|35|||||
0|36|libxul.so|js::jit::MaybeEnterJit(JSContext*, js::RunState&)|git:github.com/mozilla-firefox/firefox:js/src/jit/Jit.cpp:5020c06022c014e5e68fa57d8f54626e7b2689ff|255|0x49b
0|37|libxul.so|js::RunScript(JSContext*, js::RunState&)|git:github.com/mozilla-firefox/firefox:js/src/vm/Interpreter.cpp:5020c06022c014e5e68fa57d8f54626e7b2689ff|450|0x3c1
0|38|libxul.so|js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason)|git:github.com/mozilla-firefox/firefox:js/src/vm/Interpreter.cpp:5020c06022c014e5e68fa57d8f54626e7b2689ff|618|0x2e5
0|39|libxul.so|js::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>, js::CallReason)|git:github.com/mozilla-firefox/firefox:js/src/vm/Interpreter.cpp:5020c06022c014e5e68fa57d8f54626e7b2689ff|685|0x12c
0|40|libxul.so|JS::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, JS::HandleValueArray const&, JS::MutableHandle<JS::Value>)|git:github.com/mozilla-firefox/firefox:js/src/vm/CallAndConstruct.cpp:5020c06022c014e5e68fa57d8f54626e7b2689ff|119|0x20b
0|41|libxul.so|mozilla::dom::Function::Call(mozilla::dom::BindingCallContext&, JS::Handle<JS::Value>, nsTArray<JS::Value> const&, JS::MutableHandle<JS::Value>, mozilla::ErrorResult&)|s3:gecko-generated-sources:ceaf7ba261211c810afd6cba5befa321fc770aff94b08f897ef8e0083eeed4612da8f9c8c109ba04e0200d16921687ad847c1b13257835c645ae99ac4f5e9492/dom/bindings/FunctionBinding.cpp:|50|0x3ba
0|42|libxul.so|mozilla::dom::Function::Call<nsCOMPtr<nsIGlobalObject> >(nsCOMPtr<nsIGlobalObject> const&, nsTArray<JS::Value> const&, JS::MutableHandle<JS::Value>, mozilla::ErrorResult&, char const*, mozilla::dom::CallbackObjectBase::ExceptionHandling, JS::Realm*)|s3:gecko-generated-sources:92900e3304ae36016da1f4ba74a00d4db5a12b79f3f1db68c4d362df160b8f49149bf3ac82346d22a55f277e80514e7a7dc57c7ce92f929dbbc1f77a04ac311d/dist/include/mozilla/dom/FunctionBinding.h:|71|0x109
0|43|libxul.so|mozilla::dom::CallbackTimeoutHandler::Call(char const*)|git:github.com/mozilla-firefox/firefox:dom/base/TimeoutHandler.cpp:5020c06022c014e5e68fa57d8f54626e7b2689ff|169|0xa5
0|44|libxul.so|nsGlobalWindowInner::RunTimeoutHandler(mozilla::dom::Timeout*)|git:github.com/mozilla-firefox/firefox:dom/base/nsGlobalWindowInner.cpp:5020c06022c014e5e68fa57d8f54626e7b2689ff|6432|0x41e
0|45|libxul.so|mozilla::dom::TimeoutManager::RunTimeout(mozilla::TimeStamp const&, mozilla::TimeStamp const&, bool)|git:github.com/mozilla-firefox/firefox:dom/base/TimeoutManager.cpp:5020c06022c014e5e68fa57d8f54626e7b2689ff|956|0x66a
0|46|libxul.so|mozilla::dom::TimeoutExecutor::MaybeExecute()|git:github.com/mozilla-firefox/firefox:dom/base/TimeoutExecutor.cpp:5020c06022c014e5e68fa57d8f54626e7b2689ff|179|0xc4
0|47|libxul.so|mozilla::dom::TimeoutExecutor::Run()|git:github.com/mozilla-firefox/firefox:dom/base/TimeoutExecutor.cpp:5020c06022c014e5e68fa57d8f54626e7b2689ff|234|0x2f
0|48|libxul.so|mozilla::ThrottledEventQueue::Inner::ExecuteRunnable()|git:github.com/mozilla-firefox/firefox:xpcom/threads/ThrottledEventQueue.cpp:5020c06022c014e5e68fa57d8f54626e7b2689ff|253|0x1b6
0|49|libxul.so|mozilla::ThrottledEventQueue::Inner::Executor::Run()|git:github.com/mozilla-firefox/firefox:xpcom/threads/ThrottledEventQueue.cpp:5020c06022c014e5e68fa57d8f54626e7b2689ff|80|0x11
0|50|libxul.so|mozilla::RunnableTask::Run()|git:github.com/mozilla-firefox/firefox:xpcom/threads/TaskController.cpp:5020c06022c014e5e68fa57d8f54626e7b2689ff|721|0x17
0|51|libxul.so|mozilla::TaskController::DoExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex&> const&)|git:github.com/mozilla-firefox/firefox:xpcom/threads/TaskController.cpp:5020c06022c014e5e68fa57d8f54626e7b2689ff|1342|0x5b4
0|52|libxul.so|mozilla::TaskController::ExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex&> const&)|git:github.com/mozilla-firefox/firefox:xpcom/threads/TaskController.cpp:5020c06022c014e5e68fa57d8f54626e7b2689ff|1165|0x57
0|53|libxul.so|mozilla::TaskController::ProcessPendingMTTask(bool)|git:github.com/mozilla-firefox/firefox:xpcom/threads/TaskController.cpp:5020c06022c014e5e68fa57d8f54626e7b2689ff|657|0x65
0|54|libxul.so|mozilla::detail::RunnableFunction<mozilla::TaskController::TaskController()::$_0>::Run()|git:github.com/mozilla-firefox/firefox:xpcom/threads/nsThreadUtils.h:5020c06022c014e5e68fa57d8f54626e7b2689ff|549|0x16
0|55|libxul.so|nsThread::ProcessNextEvent(bool, bool*)|git:github.com/mozilla-firefox/firefox:xpcom/threads/nsThread.cpp:5020c06022c014e5e68fa57d8f54626e7b2689ff|1168|0x5ba
0|56|libxul.so|NS_ProcessNextEvent(nsIThread*, bool)|git:github.com/mozilla-firefox/firefox:xpcom/threads/nsThreadUtils.cpp:5020c06022c014e5e68fa57d8f54626e7b2689ff|461|0x4f
0|57|libxul.so|mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*)|git:github.com/mozilla-firefox/firefox:ipc/glue/MessagePump.cpp:5020c06022c014e5e68fa57d8f54626e7b2689ff|85|0xc0
0|58|libxul.so|MessageLoop::Run()|git:github.com/mozilla-firefox/firefox:ipc/chromium/src/base/message_loop.cc:5020c06022c014e5e68fa57d8f54626e7b2689ff|348|0x61
0|59|libxul.so|nsBaseAppShell::Run()|git:github.com/mozilla-firefox/firefox:widget/nsBaseAppShell.cpp:5020c06022c014e5e68fa57d8f54626e7b2689ff|152|0x28
0|60|libxul.so|nsAppShell::Run()|git:github.com/mozilla-firefox/firefox:widget/gtk/nsAppShell.cpp:5020c06022c014e5e68fa57d8f54626e7b2689ff|555|0x114
0|61|libxul.so|XRE_RunAppShell()|git:github.com/mozilla-firefox/firefox:toolkit/xre/nsEmbedFunctions.cpp:5020c06022c014e5e68fa57d8f54626e7b2689ff|652|0x6b
0|62|libxul.so|mozilla::ipc::MessagePumpForChildProcess::Run(base::MessagePump::Delegate*)|git:github.com/mozilla-firefox/firefox:ipc/glue/MessagePump.cpp:5020c06022c014e5e68fa57d8f54626e7b2689ff|235|0x3c
0|63|libxul.so|MessageLoop::Run()|git:github.com/mozilla-firefox/firefox:ipc/chromium/src/base/message_loop.cc:5020c06022c014e5e68fa57d8f54626e7b2689ff|348|0x61
0|64|libxul.so|XRE_InitChildProcess(int, char**, XREChildData const*)|git:github.com/mozilla-firefox/firefox:toolkit/xre/nsEmbedFunctions.cpp:5020c06022c014e5e68fa57d8f54626e7b2689ff|590|0x931
0|65|firefox-bin|main|git:github.com/mozilla-firefox/firefox:browser/app/nsBrowserApp.cpp:5020c06022c014e5e68fa57d8f54626e7b2689ff|465|0x21c
Comment 1•9 months ago
|
||
Verified bug as reproducible on mozilla-central 20260218044552-96c5619a38c8.
Unable to bisect testcase (Testcase reproduces on start build!):
Start: 06d540d058a12f54fed2eecd06083ed8bd3a1417 (20250219215346)
End: a3c27d72de36f8bcb628f267fe1e112db567d9e7 (20260213095933)
BuildFlags: BuildFlags(asan=False, tsan=False, debug=True, fuzzing=True, coverage=False, valgrind=False, no_opt=False, fuzzilli=False, nyx=False, searchfox=False, afl=False)
| Assignee | ||
Comment 2•9 months ago
|
||
SetInitialValue() took float, so callers passing double values from options
dictionaries (e.g. delayTime: 1e308) caused a silent narrowing to +infinity,
tripping the MOZ_ASSERT in ValidateEvent.
This change the parameter to double and clamp to [minValue, maxValue] before
converting, consistent with how AudioParam.value behaves. Because the largest
min/max value for the nominal range of a parameter is FLT_MAX (resp. _MIN), this
works out.
Updated•9 months ago
|
| Assignee | ||
Comment 3•9 months ago
|
||
SetInitialValue() took float, but callers pass double values from options
dictionaries. A value like 1e308 is finite as double but overflows to
+infinity when narrowed to float, hitting the MOZ_ASSERT in ValidateEvent.
Accept double and clamp to the float representable range before converting. The
value might then be clamped to its nominal range, as part of processing.
Updated•9 months ago
|
Comment 4•8 months ago
•
|
||
https://pernos.co/debug/JzP6WE-Glm1hSyB32y6TZg/index.html
That is for the testcase, which uses DelayNode (unlike comment 0).
The spec doesn't define the behavior for the double to float conversion.
Chromium seems to use C++ conversion, i.e. to +/-inf
https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/modules/webaudio/delay_node.cc;l=98;drc=059690eb49fd81184f80db0bcd40bf5d99897499
but then incorrectly clamps to nominal range: https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/modules/webaudio/audio_param_handler.cc;l=321;drc=c545ae13e2847fefcad3ccafe124fde9643e4aab
| Reporter | ||
Updated•8 months ago
|
| Assignee | ||
Comment 5•8 months ago
|
||
Updated•8 months ago
|
Updated•8 months ago
|
Comment 7•8 months ago
|
||
| bugherder | ||
Comment 8•8 months ago
|
||
| bugherder | ||
Comment 9•8 months ago
|
||
Verified bug as fixed on rev mozilla-central 20260225045435-7548ad175243.
Removing bugmon keyword as no further action possible. Please review the bug and re-add the keyword for further analysis.
Comment 10•8 months ago
|
||
The patch landed in nightly and beta is affected.
:padenot, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- See https://wiki.mozilla.org/Release_Management/Requesting_an_Uplift for documentation on how to request an uplift.
- If no, please set
status-firefox149towontfix.
For more information, please visit BugBot documentation.
Updated•8 months ago
|
Updated•8 months ago
|
Description
•