Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 7ec0f38dfd7736be65b933384a700fecb9e73987
https://github.com/WebKit/WebKit/commit/7ec0f38dfd7736be65b933384a700fecb9e73987
Author: Lily Spiniolas <[email protected]>
Date: 2024-11-18 (Mon, 18 Nov 2024)
Changed paths:
A LayoutTests/fast/forms/ios/date-picker-value-crash-expected.txt
A LayoutTests/fast/forms/ios/date-picker-value-crash.html
M LayoutTests/platform/ios-17/TestExpectations
M Source/WebKit/UIProcess/ios/forms/WKDateTimeInputControl.mm
Log Message:
-----------
[iOS] Invoking date picker controls with large values may cause crash
https://bugs.webkit.org/show_bug.cgi?id=283317
rdar://135733092
Reviewed by Wenson Hsieh.
An explicit date interval is now applied to the UIDatePicker
or UICalendarView used for date-related input types. If the value
of the input is outside of this interval, invoking the control
will set the value of the input to current day.
* LayoutTests/fast/forms/ios/date-picker-value-crash-expected.txt: Added.
* LayoutTests/fast/forms/ios/date-picker-value-crash.html: Added.
* Source/WebKit/UIProcess/ios/forms/WKDateTimeInputControl.mm:
(-[WKDateTimePicker initWithView:inputType:]):
(-[WKDateTimePicker setWeekPickerToInitialValue]):
(-[WKDateTimePicker setDateTimePickerToInitialValue]):
Canonical link: https://commits.webkit.org/286777@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes