Bug 264690 - When using opacity slider in color input, safari crashes the tab
Summary: When using opacity slider in color input, safari crashes the tab
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: Safari 17
Hardware: Mac (Apple Silicon) macOS 14
: P2 Normal
Assignee: Aditya Keerthi
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-11-11 16:54 PST by pezza
Modified: 2023-11-15 12:49 PST (History)
4 users (show)

See Also:


Attachments
The color input tab with the opacity slider. (324.65 KB, image/png)
2023-11-11 16:54 PST, pezza
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description pezza 2023-11-11 16:54:35 PST
Created attachment 468571 [details]
The color input tab with the opacity slider.

If you slide the opacity slider of a color input a crash occurs. Initially safari tries reloading the page but then if you try again though safari crashes the tab with the message "A problem repeatedly occurred  with "{url}". 


If you go to the MDN doc site and mess with the color inputs in the example you can trigger the crash: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/color. Or you drop `<input type="color" value="#e66465" />` into an html file and open it and mess with that.
Comment 1 Alexey Proskuryakov 2023-11-14 11:20:13 PST
I can reproduce this with STP and with built-in Safari on macOS 14.2 beta. Didnt' try older versions.
Comment 2 Radar WebKit Bug Importer 2023-11-14 11:20:30 PST
<rdar://problem/118408313>
Comment 3 Aditya Keerthi 2023-11-14 16:37:47 PST
I have a fix for this, just need to write a test.
Comment 4 Aditya Keerthi 2023-11-14 23:50:19 PST
Pull request: https://github.com/WebKit/WebKit/pull/20527
Comment 5 EWS 2023-11-15 12:49:48 PST
Committed 270786@main (612abb26e5a3): <https://commits.webkit.org/270786@main>

Reviewed commits have been landed. Closing PR #20527 and removing active labels.