[Webkit-unassigned] [Bug 235174] Setting undefined to video.playbackRate causes Safari to crash

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jan 16 19:06:15 PST 2022


https://bugs.webkit.org/show_bug.cgi?id=235174

--- Comment #3 from Takeshi Sone <takeshi.sone at gmail.com> ---
I tried to write automated test, but the behavior is inconsistent when the playbackRate is NaN, including on macOS, it's hard to clarify my patch fix the crash.

So I'm considering to add additional guards in HTMLMediaElement.
I'm not sure if it is better to just ignore NaN silently, or throw DOMException like Chrome and Firefox do.
What do you think?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220117/1bf4311d/attachment-0001.htm>


More information about the webkit-unassigned mailing list