Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 7a4de99c0908b404b8bf48c7fc602153b581fa20
https://github.com/WebKit/WebKit/commit/7a4de99c0908b404b8bf48c7fc602153b581fa20
Author: Ryosuke Niwa <[email protected]>
Date: 2024-11-05 (Tue, 05 Nov 2024)
Changed paths:
M LayoutTests/accessibility/auto-fill-crash.html
M LayoutTests/accessibility/auto-fill-types.html
M LayoutTests/accessibility/ios-simulator/strong-password-field.html
M LayoutTests/accessibility/secure-field-value.html
M
LayoutTests/fast/forms/auto-fill-button/caps-lock-indicator-should-be-visible-after-hiding-auto-fill-strong-password-button.html
M
LayoutTests/fast/forms/auto-fill-button/caps-lock-indicator-should-not-be-visible-when-auto-fill-strong-password-button-is-visible-expected.html
M
LayoutTests/fast/forms/auto-fill-button/caps-lock-indicator-should-not-be-visible-when-auto-fill-strong-password-button-is-visible.html
M
LayoutTests/fast/forms/auto-fill-button/hide-auto-fill-button-when-input-becomes-disabled.html
M
LayoutTests/fast/forms/auto-fill-button/hide-auto-fill-button-when-input-becomes-readonly.html
M LayoutTests/fast/forms/auto-fill-button/input-auto-fill-button.html
M
LayoutTests/fast/forms/auto-fill-button/input-auto-filled-and-obscured.html
M
LayoutTests/fast/forms/auto-fill-button/input-contacts-auto-fill-button.html
M
LayoutTests/fast/forms/auto-fill-button/input-credit-card-auto-fill-button.html
M
LayoutTests/fast/forms/auto-fill-button/input-disabled-auto-fill-button.html
M
LayoutTests/fast/forms/auto-fill-button/input-loading-auto-fill-button.html
M
LayoutTests/fast/forms/auto-fill-button/input-readonly-auto-fill-button.html
M
LayoutTests/fast/forms/auto-fill-button/input-readonly-non-empty-auto-fill-button.html
M
LayoutTests/fast/forms/auto-fill-button/input-strong-password-auto-fill-button.html
M
LayoutTests/fast/forms/auto-fill-button/input-strong-password-viewable-baseline-alignment.html
M
LayoutTests/fast/forms/auto-fill-button/input-strong-password-viewable-line-height-expected.html
M
LayoutTests/fast/forms/auto-fill-button/input-strong-password-viewable-line-height.html
M
LayoutTests/fast/forms/auto-fill-button/input-strong-password-viewable-taller-button-height.html
M
LayoutTests/fast/forms/auto-fill-button/input-strong-password-viewable.html
M
LayoutTests/fast/forms/auto-fill-button/last-auto-fill-button-type-expected.txt
M LayoutTests/fast/forms/auto-fill-button/last-auto-fill-button-type.html
M
LayoutTests/fast/forms/auto-fill-button/mouse-down-input-mouse-release-auto-fill-button.html
M
LayoutTests/fast/forms/auto-fill-button/resources/process-auto-fill-button-type-and-invoke-runTest.js
M
LayoutTests/fast/forms/auto-fill-button/show-auto-fill-button-while-selection-inside-field.html
M
LayoutTests/fast/forms/auto-fill-button/show-correct-auto-fill-button-when-auto-fill-button-type-changes-expected.html
M
LayoutTests/fast/forms/auto-fill-button/show-correct-auto-fill-button-when-auto-fill-button-type-changes.html
M
LayoutTests/fast/forms/input-autofilled-and-obscured-clear-field-programatically.html
M
LayoutTests/fast/forms/input-autofilled-and-obscured-clear-form-programatically.html
M LayoutTests/fast/forms/input-autofilled-and-obscured.html
M LayoutTests/fast/forms/input-autofilled-and-viewable.html
M Source/WebCore/accessibility/AccessibilityObject.cpp
M Source/WebCore/css/SelectorCheckerTestFunctions.h
M Source/WebCore/editing/TextManipulationController.cpp
M Source/WebCore/editing/VisibleSelection.cpp
M Source/WebCore/html/HTMLInputElement.cpp
M Source/WebCore/html/HTMLInputElement.h
M Source/WebCore/html/TextFieldInputType.cpp
M Source/WebCore/html/shadow/TextControlInnerElements.cpp
M Source/WebCore/rendering/RenderTextControlSingleLine.cpp
M Source/WebCore/rendering/RenderTextControlSingleLine.h
M Source/WebCore/testing/Internals.cpp
M Source/WebCore/testing/Internals.h
M Source/WebCore/testing/Internals.idl
M Source/WebKit/WebProcess/InjectedBundle/API/glib/WebKitWebFormManager.cpp
M Source/WebKit/WebProcess/InjectedBundle/DOM/InjectedBundleNodeHandle.cpp
M Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm
M Source/WebKitLegacy/mac/DOM/WebDOMOperations.mm
Log Message:
-----------
Replace autoFill with autofill for spelling consistency
https://bugs.webkit.org/show_bug.cgi?id=282553
Reviewed by Anne van Kesteren.
Updated the spelling of HTMLInputElement's autofill member functions from
autoFill to autofill for consistency.
Also removed "is" prefix from member functions as a preparation to expose them
as JavaScript API in near future.
* LayoutTests/accessibility/auto-fill-crash.html:
* LayoutTests/accessibility/auto-fill-types.html:
* LayoutTests/accessibility/ios-simulator/strong-password-field.html:
* LayoutTests/accessibility/secure-field-value.html:
*
LayoutTests/fast/forms/auto-fill-button/caps-lock-indicator-should-be-visible-after-hiding-auto-fill-strong-password-button.html:
*
LayoutTests/fast/forms/auto-fill-button/caps-lock-indicator-should-not-be-visible-when-auto-fill-strong-password-button-is-visible-expected.html:
*
LayoutTests/fast/forms/auto-fill-button/caps-lock-indicator-should-not-be-visible-when-auto-fill-strong-password-button-is-visible.html:
*
LayoutTests/fast/forms/auto-fill-button/hide-auto-fill-button-when-input-becomes-disabled.html:
*
LayoutTests/fast/forms/auto-fill-button/hide-auto-fill-button-when-input-becomes-readonly.html:
* LayoutTests/fast/forms/auto-fill-button/input-auto-fill-button.html:
* LayoutTests/fast/forms/auto-fill-button/input-auto-filled-and-obscured.html:
* LayoutTests/fast/forms/auto-fill-button/input-contacts-auto-fill-button.html:
*
LayoutTests/fast/forms/auto-fill-button/input-credit-card-auto-fill-button.html:
* LayoutTests/fast/forms/auto-fill-button/input-disabled-auto-fill-button.html:
* LayoutTests/fast/forms/auto-fill-button/input-loading-auto-fill-button.html:
* LayoutTests/fast/forms/auto-fill-button/input-readonly-auto-fill-button.html:
*
LayoutTests/fast/forms/auto-fill-button/input-readonly-non-empty-auto-fill-button.html:
*
LayoutTests/fast/forms/auto-fill-button/input-strong-password-auto-fill-button.html:
*
LayoutTests/fast/forms/auto-fill-button/input-strong-password-viewable-baseline-alignment.html:
*
LayoutTests/fast/forms/auto-fill-button/input-strong-password-viewable-line-height-expected.html:
*
LayoutTests/fast/forms/auto-fill-button/input-strong-password-viewable-line-height.html:
*
LayoutTests/fast/forms/auto-fill-button/input-strong-password-viewable-taller-button-height.html:
* LayoutTests/fast/forms/auto-fill-button/input-strong-password-viewable.html:
*
LayoutTests/fast/forms/auto-fill-button/last-auto-fill-button-type-expected.txt:
* LayoutTests/fast/forms/auto-fill-button/last-auto-fill-button-type.html:
*
LayoutTests/fast/forms/auto-fill-button/mouse-down-input-mouse-release-auto-fill-button.html:
*
LayoutTests/fast/forms/auto-fill-button/resources/process-auto-fill-button-type-and-invoke-runTest.js:
(window.onload):
*
LayoutTests/fast/forms/auto-fill-button/show-auto-fill-button-while-selection-inside-field.html:
*
LayoutTests/fast/forms/auto-fill-button/show-correct-auto-fill-button-when-auto-fill-button-type-changes-expected.html:
*
LayoutTests/fast/forms/auto-fill-button/show-correct-auto-fill-button-when-auto-fill-button-type-changes.html:
*
LayoutTests/fast/forms/input-autofilled-and-obscured-clear-field-programatically.html:
*
LayoutTests/fast/forms/input-autofilled-and-obscured-clear-form-programatically.html:
* LayoutTests/fast/forms/input-autofilled-and-obscured.html:
* LayoutTests/fast/forms/input-autofilled-and-viewable.html:
* Source/WebCore/accessibility/AccessibilityObject.cpp:
(WebCore::AccessibilityObject::isValueAutofillAvailable const):
(WebCore::AccessibilityObject::valueAutofillButtonType const):
* Source/WebCore/css/SelectorCheckerTestFunctions.h:
(WebCore::isAutofilled):
(WebCore::isAutofilledStrongPassword):
(WebCore::isAutofilledStrongPasswordViewable):
(WebCore::isAutofilledAndObscured):
* Source/WebCore/editing/TextManipulationController.cpp:
(WebCore::shouldIgnoreNodeInTextField):
* Source/WebCore/editing/VisibleSelection.cpp:
(WebCore::VisibleSelection::isInAutoFilledAndViewableField const):
* Source/WebCore/html/HTMLInputElement.cpp:
(WebCore::HTMLInputElement::resignStrongPasswordAppearance):
(WebCore::HTMLInputElement::reset):
(WebCore::HTMLInputElement::setValue):
(WebCore::HTMLInputElement::setValueFromRenderer):
(WebCore::HTMLInputElement::setAutofilled):
(WebCore::HTMLInputElement::setAutofilledAndViewable):
(WebCore::HTMLInputElement::setAutofilledAndObscured):
(WebCore::HTMLInputElement::setAutofillButtonType):
(WebCore::HTMLInputElement::createInnerTextStyle):
(WebCore::HTMLInputElement::setAutoFilled): Deleted.
(WebCore::HTMLInputElement::setAutoFilledAndViewable): Deleted.
(WebCore::HTMLInputElement::setAutoFilledAndObscured): Deleted.
(WebCore::HTMLInputElement::setShowAutoFillButton): Deleted.
* Source/WebCore/html/HTMLInputElement.h:
* Source/WebCore/html/TextFieldInputType.cpp:
(WebCore::TextFieldInputType::shouldDrawCapsLockIndicator const):
(WebCore::TextFieldInputType::shouldDrawAutoFillButton const):
(WebCore::TextFieldInputType::updateAutoFillButton):
* Source/WebCore/html/shadow/TextControlInnerElements.cpp:
(WebCore::isStrongPasswordTextField):
* Source/WebCore/rendering/RenderTextControlSingleLine.cpp:
(WebCore::RenderTextControlSingleLine::layout):
* Source/WebCore/rendering/RenderTextControlSingleLine.h:
* Source/WebCore/testing/Internals.cpp:
(WebCore::Internals::setAutofilled):
(WebCore::Internals::setAutofilledAndViewable):
(WebCore::Internals::setAutofilledAndObscured):
(WebCore::toAutofillButtonType):
(WebCore::toInternalsAutofillButtonType):
(WebCore::Internals::setAutofillButtonType):
(WebCore::Internals::autofillButtonType):
(WebCore::Internals::lastAutofillButtonType):
(WebCore::Internals::setAutoFilledAndViewable): Deleted.
(WebCore::Internals::setAutoFilledAndObscured): Deleted.
(WebCore::toAutoFillButtonType): Deleted.
(WebCore::toInternalsAutoFillButtonType): Deleted.
(WebCore::Internals::setShowAutoFillButton): Deleted.
(WebCore::Internals::autoFillButtonType): Deleted.
(WebCore::Internals::lastAutoFillButtonType): Deleted.
* Source/WebCore/testing/Internals.h:
* Source/WebCore/testing/Internals.idl:
* Source/WebKit/WebProcess/InjectedBundle/API/glib/WebKitWebFormManager.cpp:
(webkit_web_form_manager_input_element_is_auto_filled):
* Source/WebKit/WebProcess/InjectedBundle/DOM/InjectedBundleNodeHandle.cpp:
(WebKit::InjectedBundleNodeHandle::isHTMLInputElementAutoFilled const):
(WebKit::InjectedBundleNodeHandle::isHTMLInputElementAutoFilledAndViewable
const):
(WebKit::InjectedBundleNodeHandle::isHTMLInputElementAutoFilledAndObscured
const):
(WebKit::InjectedBundleNodeHandle::setHTMLInputElementAutoFilled):
(WebKit::InjectedBundleNodeHandle::setHTMLInputElementAutoFilledAndViewable):
(WebKit::InjectedBundleNodeHandle::setHTMLInputElementAutoFilledAndObscured):
(WebKit::InjectedBundleNodeHandle::isHTMLInputElementAutoFillButtonEnabled
const):
(WebKit::InjectedBundleNodeHandle::setHTMLInputElementAutoFillButtonEnabled):
(WebKit::InjectedBundleNodeHandle::htmlInputElementAutoFillButtonType const):
(WebKit::InjectedBundleNodeHandle::htmlInputElementLastAutoFillButtonType
const):
(WebKit::InjectedBundleNodeHandle::isAutoFillAvailable const):
(WebKit::InjectedBundleNodeHandle::setAutoFillAvailable):
* Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm:
(WebKit::WebPage::requestDocumentEditingContext):
* Source/WebKitLegacy/mac/DOM/WebDOMOperations.mm:
(-[DOMHTMLInputElement _isAutofilled]):
(-[DOMHTMLInputElement _isAutoFilledAndViewable]):
(-[DOMHTMLInputElement _setAutofilled:]):
(-[DOMHTMLInputElement _setAutoFilledAndViewable:]):
Canonical link: https://commits.webkit.org/286185@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