Changeset 233578 in webkit
- Timestamp:
- Jul 6, 2018, 9:29:40 AM (8 years ago)
- Location:
- trunk
- Files:
-
- 10 deleted
- 39 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/accessibility/ios-simulator/strong-password-field-expected.txt (modified) (1 diff)
-
LayoutTests/accessibility/ios-simulator/strong-password-field.html (modified) (3 diffs)
-
LayoutTests/fast/forms/auto-fill-button/auto-fill-strong-password-button-when-maxlength-changes-expected.html (modified) (1 diff)
-
LayoutTests/fast/forms/auto-fill-button/auto-fill-strong-password-button-when-maxlength-changes.html (modified) (1 diff)
-
LayoutTests/fast/forms/auto-fill-button/auto-fill-strong-password-button-when-minlength-changes-expected.html (modified) (1 diff)
-
LayoutTests/fast/forms/auto-fill-button/auto-fill-strong-password-button-when-minlength-changes.html (modified) (1 diff)
-
LayoutTests/fast/forms/auto-fill-button/hide-auto-fill-strong-password-button-when-form-is-reset-expected.html (modified) (1 diff)
-
LayoutTests/fast/forms/auto-fill-button/hide-auto-fill-strong-password-button-when-form-is-reset.html (modified) (1 diff)
-
LayoutTests/fast/forms/auto-fill-button/hide-auto-fill-strong-password-button-when-value-changes-expected.html (modified) (1 diff)
-
LayoutTests/fast/forms/auto-fill-button/hide-auto-fill-strong-password-button-when-value-changes.html (modified) (1 diff)
-
LayoutTests/fast/forms/auto-fill-button/hide-strong-password-when-field-type-changes-expected.html (modified) (1 diff)
-
LayoutTests/fast/forms/auto-fill-button/hide-strong-password-when-field-type-changes.html (modified) (1 diff)
-
LayoutTests/fast/forms/auto-fill-button/input-autofilled-disabled-strong-password-auto-fill-button-expected.html (deleted)
-
LayoutTests/fast/forms/auto-fill-button/input-autofilled-disabled-strong-password-auto-fill-button.html (deleted)
-
LayoutTests/fast/forms/auto-fill-button/input-autofilled-readonly-strong-password-auto-fill-button-expected.html (deleted)
-
LayoutTests/fast/forms/auto-fill-button/input-autofilled-readonly-strong-password-auto-fill-button.html (deleted)
-
LayoutTests/fast/forms/auto-fill-button/input-disabled-strong-password-and-strong-confirmation-password-auto-fill-buttons-expected.html (modified) (1 diff)
-
LayoutTests/fast/forms/auto-fill-button/input-disabled-strong-password-and-strong-confirmation-password-auto-fill-buttons.html (modified) (1 diff)
-
LayoutTests/fast/forms/auto-fill-button/input-readonly-strong-password-and-strong-confirmation-password-auto-fill-buttons-expected.html (modified) (1 diff)
-
LayoutTests/fast/forms/auto-fill-button/input-readonly-strong-password-and-strong-confirmation-password-auto-fill-buttons.html (modified) (1 diff)
-
LayoutTests/fast/forms/auto-fill-button/input-strong-confirmation-password-auto-fill-button.html (deleted)
-
LayoutTests/fast/forms/auto-fill-button/last-auto-fill-button-type-expected.txt (modified) (1 diff)
-
LayoutTests/fast/forms/auto-fill-button/last-auto-fill-button-type.html (modified) (1 diff)
-
LayoutTests/platform/gtk/TestExpectations (modified) (1 diff)
-
LayoutTests/platform/gtk/fast/forms/auto-fill-button/input-strong-confirmation-password-auto-fill-button-expected.txt (deleted)
-
LayoutTests/platform/ios/fast/forms/auto-fill-button/input-strong-confirmation-password-auto-fill-button-expected.txt (deleted)
-
LayoutTests/platform/mac/fast/forms/auto-fill-button/input-strong-confirmation-password-auto-fill-button-expected.txt (deleted)
-
LayoutTests/platform/win/TestExpectations (modified) (1 diff)
-
LayoutTests/platform/win/fast/forms/auto-fill-button/input-strong-confirmation-password-auto-fill-button-expected.txt (deleted)
-
LayoutTests/platform/wincairo/fast/forms/auto-fill-button/input-strong-confirmation-password-auto-fill-button-expected.txt (deleted)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/English.lproj/Localizable.strings (modified) (1 diff)
-
Source/WebCore/accessibility/ios/WebAccessibilityObjectWrapperIOS.mm (modified) (1 diff)
-
Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperMac.mm (modified) (1 diff)
-
Source/WebCore/html/HTMLInputElement.h (modified) (1 diff)
-
Source/WebCore/html/HTMLTextFormControlElement.h (modified) (1 diff)
-
Source/WebCore/html/TextFieldInputType.cpp (modified) (4 diffs)
-
Source/WebCore/platform/LocalizedStrings.cpp (modified) (1 diff)
-
Source/WebCore/platform/LocalizedStrings.h (modified) (1 diff)
-
Source/WebCore/rendering/RenderTextControlSingleLine.cpp (modified) (1 diff)
-
Source/WebCore/testing/Internals.cpp (modified) (2 diffs)
-
Source/WebCore/testing/Internals.h (modified) (1 diff)
-
Source/WebCore/testing/Internals.idl (modified) (1 diff)
-
Source/WebKit/ChangeLog (modified) (1 diff)
-
Source/WebKit/WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInNodeHandle.mm (modified) (2 diffs)
-
Source/WebKit/WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInNodeHandlePrivate.h (modified) (1 diff)
-
Source/WebKit/WebProcess/InjectedBundle/API/c/WKBundleNodeHandle.cpp (modified) (2 diffs)
-
Source/WebKit/WebProcess/InjectedBundle/API/c/WKBundleNodeHandlePrivate.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r233566 r233578 1 2018-07-06 Daniel Bates <dabates@apple.com> 2 3 Remove Strong Confirmation Password button 4 https://bugs.webkit.org/show_bug.cgi?id=187306 5 <rdar://problem/41795185> 6 7 Reviewed by Sam Weinig. 8 9 Remove support for the Strong Confirmation Password button because we never made use of it. 10 11 * accessibility/ios-simulator/strong-password-field-expected.txt: 12 * accessibility/ios-simulator/strong-password-field.html: 13 * fast/forms/auto-fill-button/auto-fill-strong-password-button-when-maxlength-changes-expected.html: 14 * fast/forms/auto-fill-button/auto-fill-strong-password-button-when-maxlength-changes.html: 15 * fast/forms/auto-fill-button/auto-fill-strong-password-button-when-minlength-changes-expected.html: 16 * fast/forms/auto-fill-button/auto-fill-strong-password-button-when-minlength-changes.html: 17 * fast/forms/auto-fill-button/hide-auto-fill-strong-password-button-when-form-is-reset-expected.html: 18 * fast/forms/auto-fill-button/hide-auto-fill-strong-password-button-when-form-is-reset.html: 19 * fast/forms/auto-fill-button/hide-auto-fill-strong-password-button-when-value-changes-expected.html: 20 * fast/forms/auto-fill-button/hide-auto-fill-strong-password-button-when-value-changes.html: 21 * fast/forms/auto-fill-button/hide-strong-password-when-field-type-changes-expected.html: 22 * fast/forms/auto-fill-button/hide-strong-password-when-field-type-changes.html: 23 * fast/forms/auto-fill-button/input-autofilled-disabled-strong-password-auto-fill-button-expected.html: Removed. 24 * fast/forms/auto-fill-button/input-autofilled-disabled-strong-password-auto-fill-button.html: Removed. 25 * fast/forms/auto-fill-button/input-autofilled-readonly-strong-password-auto-fill-button-expected.html: Removed. 26 * fast/forms/auto-fill-button/input-autofilled-readonly-strong-password-auto-fill-button.html: Removed. 27 * fast/forms/auto-fill-button/input-disabled-strong-password-and-strong-confirmation-password-auto-fill-buttons-expected.html: 28 * fast/forms/auto-fill-button/input-disabled-strong-password-and-strong-confirmation-password-auto-fill-buttons.html: 29 * fast/forms/auto-fill-button/input-readonly-strong-password-and-strong-confirmation-password-auto-fill-buttons-expected.html: 30 * fast/forms/auto-fill-button/input-readonly-strong-password-and-strong-confirmation-password-auto-fill-buttons.html: 31 * fast/forms/auto-fill-button/input-strong-confirmation-password-auto-fill-button.html: Removed. 32 * fast/forms/auto-fill-button/last-auto-fill-button-type-expected.txt: 33 * fast/forms/auto-fill-button/last-auto-fill-button-type.html: 34 * platform/gtk/TestExpectations: 35 * platform/gtk/fast/forms/auto-fill-button/input-strong-confirmation-password-auto-fill-button-expected.txt: Removed. 36 * platform/ios/fast/forms/auto-fill-button/input-strong-confirmation-password-auto-fill-button-expected.txt: Removed. 37 * platform/mac/fast/forms/auto-fill-button/input-strong-confirmation-password-auto-fill-button-expected.txt: Removed. 38 * platform/win/TestExpectations: 39 * platform/win/fast/forms/auto-fill-button/input-strong-confirmation-password-auto-fill-button-expected.txt: Removed. 40 * platform/wincairo/fast/forms/auto-fill-button/input-strong-confirmation-password-auto-fill-button-expected.txt: Removed. 41 1 42 2018-07-05 Carlos Garcia Campos <cgarcia@igalia.com> 2 43 -
trunk/LayoutTests/accessibility/ios-simulator/strong-password-field-expected.txt
r230510 r233578 7 7 PASS axPw1.boolAttributeValue('AXIsStrongPasswordField') is false 8 8 PASS axPw2.boolAttributeValue('AXIsStrongPasswordField') is true 9 PASS axPw3.boolAttributeValue('AXIsStrongPasswordField') is true10 9 PASS axPw1.stringValue is 'AXValue: ••••••••' 11 10 PASS axPw2.stringValue is 'AXValue: strong password' 12 PASS axPw3.stringValue is 'AXValue: strong confirmation password'13 11 PASS successfullyParsed is true 14 12 -
trunk/LayoutTests/accessibility/ios-simulator/strong-password-field.html
r230510 r233578 10 10 <input id="pw1" type="password" value="password"> 11 11 <input id="pw2" type="password" value="strong password"> 12 <input id="pw3" type="password" value="strong confirmation password">13 12 </div> 14 13 … … 22 21 var pw1 = document.getElementById("pw1"); 23 22 var pw2 = document.getElementById("pw2"); 24 var pw3 = document.getElementById("pw3");25 23 26 24 if (window.internals) { 27 25 window.internals.setAutofilled(pw2, true); 28 window.internals.setShowAutoFillButton(pw2, "StrongConfirmationPassword"); 29 30 window.internals.setAutofilled(pw3, true); 31 window.internals.setShowAutoFillButton(pw3, "StrongPassword"); 26 window.internals.setShowAutoFillButton(pw2, "StrongPassword"); 32 27 } 33 28 … … 35 30 var axPw1 = accessibilityController.accessibleElementById("pw1"); 36 31 var axPw2 = accessibilityController.accessibleElementById("pw2"); 37 var axPw3 = accessibilityController.accessibleElementById("pw3");38 32 39 33 shouldBeFalse("axPw1.boolAttributeValue('AXIsStrongPasswordField')"); 40 34 shouldBeTrue("axPw2.boolAttributeValue('AXIsStrongPasswordField')"); 41 shouldBeTrue("axPw3.boolAttributeValue('AXIsStrongPasswordField')");42 35 43 36 shouldBe("axPw1.stringValue", "'AXValue: ••••••••'"); 44 37 shouldBe("axPw2.stringValue", "'AXValue: strong password'"); 45 shouldBe("axPw3.stringValue", "'AXValue: strong confirmation password'");46 38 } 47 39 -
trunk/LayoutTests/fast/forms/auto-fill-button/auto-fill-strong-password-button-when-maxlength-changes-expected.html
r231517 r233578 17 17 </head> 18 18 <body> 19 <p>This tests that an autofilled Strong Password or Strong Confirmation Passworddecorated text field does not change appearance when its maxlength changes. It can only be tested in the test tool.</p>19 <p>This tests that an autofilled Strong Password decorated text field does not change appearance when its maxlength changes. It can only be tested in the test tool.</p> 20 20 <input type="password" value="Cupertino" maxlength="100" data-auto-fill-button-type="StrongPassword" data-autofilled="true"> 21 <input type="password" value="Cupertino" maxlength="100" data-auto-fill-button-type="StrongConfirmationPassword" data-autofilled="true">22 21 </body> 23 22 </html> -
trunk/LayoutTests/fast/forms/auto-fill-button/auto-fill-strong-password-button-when-maxlength-changes.html
r231517 r233578 20 20 </head> 21 21 <body> 22 <p>This tests that an autofilled Strong Password or Strong Confirmation Passworddecorated text field does not change appearance when its maxlength changes. It can only be tested in the test tool.</p>22 <p>This tests that an autofilled Strong Password decorated text field does not change appearance when its maxlength changes. It can only be tested in the test tool.</p> 23 23 <input type="password" value="Cupertino" maxlength="100" data-auto-fill-button-type="StrongPassword" data-autofilled="true"> 24 <input type="password" value="Cupertino" maxlength="100" data-auto-fill-button-type="StrongConfirmationPassword" data-autofilled="true">25 24 </body> 26 25 </html> -
trunk/LayoutTests/fast/forms/auto-fill-button/auto-fill-strong-password-button-when-minlength-changes-expected.html
r231517 r233578 17 17 </head> 18 18 <body> 19 <p>This tests that an autofilled Strong Password or Strong Confirmation Passworddecorated text field does not change appearance when its minlength changes. It can only be tested in the test tool.</p>19 <p>This tests that an autofilled Strong Password decorated text field does not change appearance when its minlength changes. It can only be tested in the test tool.</p> 20 20 <input type="password" value="Cupertino" minlength="5" data-auto-fill-button-type="StrongPassword" data-autofilled="true"> 21 <input type="password" value="Cupertino" minlength="5" data-auto-fill-button-type="StrongConfirmationPassword" data-autofilled="true">22 21 </body> 23 22 </html> -
trunk/LayoutTests/fast/forms/auto-fill-button/auto-fill-strong-password-button-when-minlength-changes.html
r231517 r233578 20 20 </head> 21 21 <body> 22 <p>This tests that an autofilled Strong Password or Strong Confirmation Passworddecorated text field does not change appearance when its minlength changes. It can only be tested in the test tool.</p>22 <p>This tests that an autofilled Strong Password decorated text field does not change appearance when its minlength changes. It can only be tested in the test tool.</p> 23 23 <input type="password" value="Cupertino" minlength="5" data-auto-fill-button-type="StrongPassword" data-autofilled="true"> 24 <input type="password" value="Cupertino" minlength="5" data-auto-fill-button-type="StrongConfirmationPassword" data-autofilled="true">25 24 </body> 26 25 </html> -
trunk/LayoutTests/fast/forms/auto-fill-button/hide-auto-fill-strong-password-button-when-form-is-reset-expected.html
r231519 r233578 2 2 <html> 3 3 <body> 4 <p>This tests that that an autofilled Strong Password or Strong Confirmation Passworddecorated text field reverts to its original appearance when the form is reset. It can only be tested in the test tool.</p>4 <p>This tests that that an autofilled Strong Password decorated text field reverts to its original appearance when the form is reset. It can only be tested in the test tool.</p> 5 5 <form> 6 <input type="password" value="Cupertino">7 6 <input type="password" value="Cupertino"> 8 7 </form> -
trunk/LayoutTests/fast/forms/auto-fill-button/hide-auto-fill-strong-password-button-when-form-is-reset.html
r231519 r233578 18 18 </head> 19 19 <body> 20 <p>This tests that that an autofilled Strong Password or Strong Confirmation Passworddecorated text field reverts to its original appearance when the form is reset. It can only be tested in the test tool.</p>20 <p>This tests that that an autofilled Strong Password decorated text field reverts to its original appearance when the form is reset. It can only be tested in the test tool.</p> 21 21 <form> 22 22 <input type="password" value="Cupertino" data-auto-fill-button-type="StrongPassword" data-autofilled="true"> 23 <input type="password" value="Cupertino" data-auto-fill-button-type="StrongConfirmationPassword" data-autofilled="true">24 23 </form> 25 24 </body> -
trunk/LayoutTests/fast/forms/auto-fill-button/hide-auto-fill-strong-password-button-when-value-changes-expected.html
r231517 r233578 2 2 <html> 3 3 <body> 4 <p>This tests that that an autofilled Strong Password or Strong Confirmation Password decorated text field reverts to its original appearance when its value changes. It can only be tested in the test tool.</p> 5 <input type="password" value=""> 4 <p>This tests that that an autofilled Strong Password decorated text field reverts to its original appearance when its value changes. It can only be tested in the test tool.</p> 6 5 <input type="password" value=""> 7 6 </body> -
trunk/LayoutTests/fast/forms/auto-fill-button/hide-auto-fill-strong-password-button-when-value-changes.html
r231517 r233578 20 20 </head> 21 21 <body> 22 <p>This tests that that an autofilled Strong Password or Strong Confirmation Passworddecorated text field reverts to its original appearance when its value changes. It can only be tested in the test tool.</p>22 <p>This tests that that an autofilled Strong Password decorated text field reverts to its original appearance when its value changes. It can only be tested in the test tool.</p> 23 23 <input type="password" value="Cupertino" data-auto-fill-button-type="StrongPassword" data-autofilled="true"> 24 <input type="password" value="Cupertino" data-auto-fill-button-type="StrongConfirmationPassword" data-autofilled="true">25 24 </body> 26 25 </html> -
trunk/LayoutTests/fast/forms/auto-fill-button/hide-strong-password-when-field-type-changes-expected.html
r230851 r233578 2 2 <html> 3 3 <body> 4 <p>This tests that a text field decorated as a Strong Password or Strong Confirmation Password field revert to a normal text field when the type of the text field changes. It can only be tested in the test tool.</p> 5 <input type="text" value="Cupertino"> 4 <p>This tests that a text field decorated as a Strong Password field revert to a normal text field when the type of the text field changes. It can only be tested in the test tool.</p> 6 5 <input type="text" value="Cupertino"> 7 6 </body> -
trunk/LayoutTests/fast/forms/auto-fill-button/hide-strong-password-when-field-type-changes.html
r230851 r233578 20 20 </head> 21 21 <body> 22 <p>This tests that a text field decorated as a Strong Password or Strong Confirmation Passwordfield revert to a normal text field when the type of the text field changes. It can only be tested in the test tool.</p>22 <p>This tests that a text field decorated as a Strong Password field revert to a normal text field when the type of the text field changes. It can only be tested in the test tool.</p> 23 23 <input type="password" value="Cupertino" data-auto-fill-button-type="StrongPassword"> 24 <input type="password" value="Cupertino" data-auto-fill-button-type="StrongConfirmationPassword">25 24 </body> 26 25 </html> -
trunk/LayoutTests/fast/forms/auto-fill-button/input-disabled-strong-password-and-strong-confirmation-password-auto-fill-buttons-expected.html
r225879 r233578 2 2 <html> 3 3 <body> 4 <p>This tests that the Strong Password and Strong Confirmation Password AutoFill buttons do not render in a disabled field. It can only be tested in the test tool.</p> 5 <input type="password" placeholder="disabled" disabled> 4 <p>This tests that the Strong Password button does not render in a disabled field. It can only be tested in the test tool.</p> 6 5 <input type="password" placeholder="disabled" disabled> 7 6 </body> -
trunk/LayoutTests/fast/forms/auto-fill-button/input-disabled-strong-password-and-strong-confirmation-password-auto-fill-buttons.html
r230851 r233578 5 5 </head> 6 6 <body> 7 <p>This tests that the Strong Password and Strong Confirmation Password AutoFill buttons donot render in a disabled field. It can only be tested in the test tool.</p>7 <p>This tests that the Strong Password button does not render in a disabled field. It can only be tested in the test tool.</p> 8 8 <input type="password" placeholder="disabled" disabled data-auto-fill-button-type="StrongPassword"> 9 <input type="password" placeholder="disabled" disabled data-auto-fill-button-type="StrongConfirmationPassword">10 9 </body> 11 10 </html> -
trunk/LayoutTests/fast/forms/auto-fill-button/input-readonly-strong-password-and-strong-confirmation-password-auto-fill-buttons-expected.html
r225879 r233578 2 2 <html> 3 3 <body> 4 <p>This tests that the Strong Password and Strong Confirmation Password AutoFill buttons do not render read only field. It can only be tested in the test tool.</p> 5 <input type="password" placeholder="read only" readonly> 4 <p>This tests that the Strong Password button does not render read only field. It can only be tested in the test tool.</p> 6 5 <input type="password" placeholder="read only" readonly> 7 6 </body> -
trunk/LayoutTests/fast/forms/auto-fill-button/input-readonly-strong-password-and-strong-confirmation-password-auto-fill-buttons.html
r230851 r233578 5 5 </head> 6 6 <body> 7 <p>This tests that the Strong Password and Strong Confirmation Password AutoFill buttons donot render read only field. It can only be tested in the test tool.</p>7 <p>This tests that the Strong Password button does not render read only field. It can only be tested in the test tool.</p> 8 8 <input type="password" placeholder="read only" readonly data-auto-fill-button-type="StrongPassword"> 9 <input type="password" placeholder="read only" readonly data-auto-fill-button-type="StrongConfirmationPassword">10 9 </body> 11 10 </html> -
trunk/LayoutTests/fast/forms/auto-fill-button/last-auto-fill-button-type-expected.txt
r226048 r233578 14 14 PASS internals.autoFillButtonType(inputElement) is "StrongPassword" 15 15 PASS internals.lastAutoFillButtonType(inputElement) is "Contacts" 16 internals.setShowAutoFillButton(inputElement, ' StrongConfirmationPassword')17 PASS internals.autoFillButtonType(inputElement) is " StrongConfirmationPassword"16 internals.setShowAutoFillButton(inputElement, 'Credentials') 17 PASS internals.autoFillButtonType(inputElement) is "Credentials" 18 18 PASS internals.lastAutoFillButtonType(inputElement) is "StrongPassword" 19 19 internals.setShowAutoFillButton(inputElement, 'None') 20 20 PASS internals.autoFillButtonType(inputElement) is "None" 21 PASS internals.lastAutoFillButtonType(inputElement) is " StrongConfirmationPassword"21 PASS internals.lastAutoFillButtonType(inputElement) is "Credentials" 22 22 PASS successfullyParsed is true 23 23 -
trunk/LayoutTests/fast/forms/auto-fill-button/last-auto-fill-button-type.html
r226048 r233578 23 23 shouldBeEqualToString("internals.autoFillButtonType(inputElement)", "StrongPassword"); 24 24 shouldBeEqualToString("internals.lastAutoFillButtonType(inputElement)", "Contacts"); 25 evalAndLog("internals.setShowAutoFillButton(inputElement, ' StrongConfirmationPassword')");26 shouldBeEqualToString("internals.autoFillButtonType(inputElement)", " StrongConfirmationPassword");25 evalAndLog("internals.setShowAutoFillButton(inputElement, 'Credentials')"); 26 shouldBeEqualToString("internals.autoFillButtonType(inputElement)", "Credentials"); 27 27 shouldBeEqualToString("internals.lastAutoFillButtonType(inputElement)", "StrongPassword"); 28 28 evalAndLog("internals.setShowAutoFillButton(inputElement, 'None')"); 29 29 shouldBeEqualToString("internals.autoFillButtonType(inputElement)", "None"); 30 shouldBeEqualToString("internals.lastAutoFillButtonType(inputElement)", " StrongConfirmationPassword");30 shouldBeEqualToString("internals.lastAutoFillButtonType(inputElement)", "Credentials"); 31 31 } 32 32 </script> -
trunk/LayoutTests/platform/gtk/TestExpectations
r233556 r233578 3351 3351 3352 3352 webkit.org/b/181662 fast/forms/auto-fill-button/input-strong-password-auto-fill-button.html [ Missing Failure ] 3353 webkit.org/b/181662 fast/forms/auto-fill-button/input-strong-confirmation-password-auto-fill-button.html [ Missing Failure ]3354 3353 3355 3354 webkit.org/b/182050 http/wpt/fetch/response-opaque-clone.html [ Pass Crash ] -
trunk/LayoutTests/platform/win/TestExpectations
r233355 r233578 3945 3945 3946 3946 webkit.org/b/181662 fast/forms/auto-fill-button/input-strong-password-auto-fill-button.html [ Failure ] 3947 webkit.org/b/181662 fast/forms/auto-fill-button/input-strong-confirmation-password-auto-fill-button.html [ Failure ]3948 3947 3949 3948 webkit.org/b/181854 svg/filters/feDiffuseLighting-bottomRightPixel.html [ ImageOnlyFailure ] -
trunk/Source/WebCore/ChangeLog
r233575 r233578 1 2018-07-06 Daniel Bates <dabates@apple.com> 2 3 Remove Strong Confirmation Password button 4 https://bugs.webkit.org/show_bug.cgi?id=187306 5 <rdar://problem/41795185> 6 7 Reviewed by Sam Weinig. 8 9 Remove support for the Strong Confirmation Password button because we never made use of it. 10 11 * English.lproj/Localizable.strings: 12 * accessibility/ios/WebAccessibilityObjectWrapperIOS.mm: 13 (-[WebAccessibilityObjectWrapper _accessibilityIsStrongPasswordField]): 14 * accessibility/mac/WebAccessibilityObjectWrapperMac.mm: 15 (-[WebAccessibilityObjectWrapper accessibilityAttributeValue:]): 16 * html/HTMLInputElement.h: 17 (WebCore::HTMLInputElement::hasAutoFillStrongPasswordButton const): 18 * html/HTMLTextFormControlElement.h: 19 * html/TextFieldInputType.cpp: 20 (WebCore::autoFillButtonTypeToAccessibilityLabel): 21 (WebCore::autoFillButtonTypeToAutoFillButtonText): 22 (WebCore::autoFillButtonTypeToAutoFillButtonPseudoClassName): 23 (WebCore::isAutoFillButtonTypeChanged): 24 * platform/LocalizedStrings.cpp: 25 (WebCore::AXAutoFillStrongConfirmationPasswordLabel): Deleted. 26 * platform/LocalizedStrings.h: 27 * rendering/RenderTextControlSingleLine.cpp: 28 (WebCore::RenderTextControlSingleLine::layout): 29 * testing/Internals.cpp: 30 (WebCore::toAutoFillButtonType): 31 (WebCore::toInternalsAutoFillButtonType): 32 * testing/Internals.h: 33 * testing/Internals.idl: 34 1 35 2018-07-06 Carlos Garcia Campos <cgarcia@igalia.com> 2 36 -
trunk/Source/WebCore/English.lproj/Localizable.strings
r233464 r233578 1217 1217 "strong password auto fill" = "strong password auto fill"; 1218 1218 1219 /* Label for the strong password confirmation auto fill button inside a text field. */1220 "strong password confirmation auto fill" = "strong password confirmation auto fill";1221 1222 1219 /* The suboptimal value description for a meter element. */ 1223 1220 "suboptimal value" = "suboptimal value"; -
trunk/Source/WebCore/accessibility/ios/WebAccessibilityObjectWrapperIOS.mm
r233257 r233578 1093 1093 return NO; 1094 1094 1095 AutoFillButtonType type = m_object->valueAutofillButtonType(); 1096 return type == AutoFillButtonType::StrongConfirmationPassword || type == AutoFillButtonType::StrongPassword; 1095 return m_object->valueAutofillButtonType() == AutoFillButtonType::StrongPassword; 1097 1096 } 1098 1097 -
trunk/Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperMac.mm
r232508 r233578 3110 3110 case AutoFillButtonType::Contacts: 3111 3111 return @"contacts"; 3112 case AutoFillButtonType::StrongConfirmationPassword:3113 return @"strong confirmation password";3114 3112 case AutoFillButtonType::StrongPassword: 3115 3113 return @"strong password"; -
trunk/Source/WebCore/html/HTMLInputElement.h
r232613 r233578 243 243 WEBCORE_EXPORT void setShowAutoFillButton(AutoFillButtonType); 244 244 245 bool hasAutoFillStrongPasswordButton() const { return autoFillButtonType() == AutoFillButtonType::StrongPassword || autoFillButtonType() == AutoFillButtonType::StrongConfirmationPassword; }245 bool hasAutoFillStrongPasswordButton() const { return autoFillButtonType() == AutoFillButtonType::StrongPassword; } 246 246 247 247 bool isAutoFillAvailable() const { return m_isAutoFillAvailable; } -
trunk/Source/WebCore/html/HTMLTextFormControlElement.h
r232335 r233578 34 34 class VisiblePosition; 35 35 36 enum class AutoFillButtonType : uint8_t { None, Credentials, Contacts, Strong ConfirmationPassword, StrongPassword };36 enum class AutoFillButtonType : uint8_t { None, Credentials, Contacts, StrongPassword }; 37 37 enum TextFieldSelectionDirection { SelectionHasNoDirection, SelectionHasForwardDirection, SelectionHasBackwardDirection }; 38 38 enum TextFieldEventBehavior { DispatchNoEvent, DispatchChangeEvent, DispatchInputAndChangeEvent }; -
trunk/Source/WebCore/html/TextFieldInputType.cpp
r232640 r233578 451 451 case AutoFillButtonType::Credentials: 452 452 return AXAutoFillCredentialsLabel(); 453 case AutoFillButtonType::StrongConfirmationPassword:454 return AXAutoFillStrongConfirmationPasswordLabel();455 453 case AutoFillButtonType::StrongPassword: 456 454 return AXAutoFillStrongPasswordLabel(); … … 468 466 case AutoFillButtonType::Contacts: 469 467 case AutoFillButtonType::Credentials: 470 case AutoFillButtonType::StrongConfirmationPassword:471 468 return emptyString(); 472 469 case AutoFillButtonType::StrongPassword: … … 487 484 case AutoFillButtonType::Credentials: 488 485 return { "-webkit-credentials-auto-fill-button", AtomicString::ConstructFromLiteral }; 489 case AutoFillButtonType::StrongConfirmationPassword:490 return { "-webkit-strong-confirmation-password-auto-fill-button", AtomicString::ConstructFromLiteral };491 486 case AutoFillButtonType::StrongPassword: 492 487 return { "-webkit-strong-password-auto-fill-button", AtomicString::ConstructFromLiteral }; … … 504 499 return true; 505 500 if (attribute == "-webkit-credentials-auto-fill-button" && autoFillButtonType != AutoFillButtonType::Credentials) 506 return true;507 if (attribute == "-webkit-strong-confirmation-password-auto-fill-button" && autoFillButtonType != AutoFillButtonType::StrongConfirmationPassword)508 501 return true; 509 502 if (attribute == "-webkit-strong-password-auto-fill-button" && autoFillButtonType != AutoFillButtonType::StrongPassword) -
trunk/Source/WebCore/platform/LocalizedStrings.cpp
r232479 r233578 629 629 { 630 630 return WEB_UI_STRING("strong password auto fill", "Label for the strong password auto fill button inside a text field."); 631 }632 633 String AXAutoFillStrongConfirmationPasswordLabel()634 {635 return WEB_UI_STRING("strong password confirmation auto fill", "Label for the strong password confirmation auto fill button inside a text field.");636 631 } 637 632 -
trunk/Source/WebCore/platform/LocalizedStrings.h
r232479 r233578 217 217 String AXAutoFillContactsLabel(); 218 218 String AXAutoFillStrongPasswordLabel(); 219 String AXAutoFillStrongConfirmationPasswordLabel();220 219 String autoFillStrongPasswordLabel(); 221 220 -
trunk/Source/WebCore/rendering/RenderTextControlSingleLine.cpp
r232018 r233578 95 95 // than the intrinsic heights of the inner elements. 96 96 // - Make the height of the container element equal to the intrinsic height of 97 // the inner elements when the field has a strong password or strong confirmation 98 // password button. 97 // the inner elements when the field has a strong password button. 99 98 // 100 99 // We don't honor paddings and borders for textfields without decorations -
trunk/Source/WebCore/testing/Internals.cpp
r233563 r233578 1757 1757 case Internals::AutoFillButtonType::Contacts: 1758 1758 return AutoFillButtonType::Contacts; 1759 case Internals::AutoFillButtonType::StrongConfirmationPassword:1760 return AutoFillButtonType::StrongConfirmationPassword;1761 1759 case Internals::AutoFillButtonType::StrongPassword: 1762 1760 return AutoFillButtonType::StrongPassword; … … 1775 1773 case AutoFillButtonType::Contacts: 1776 1774 return Internals::AutoFillButtonType::Contacts; 1777 case AutoFillButtonType::StrongConfirmationPassword: 1778 return Internals::AutoFillButtonType::StrongConfirmationPassword; 1779 case AutoFillButtonType::StrongPassword: 1775 case AutoFillButtonType::StrongPassword: 1780 1776 return Internals::AutoFillButtonType::StrongPassword; 1781 1777 } -
trunk/Source/WebCore/testing/Internals.h
r233563 r233578 246 246 void setEditingValue(HTMLInputElement&, const String&); 247 247 void setAutofilled(HTMLInputElement&, bool enabled); 248 enum class AutoFillButtonType { None, Contacts, Credentials, StrongPassword , StrongConfirmationPassword};248 enum class AutoFillButtonType { None, Contacts, Credentials, StrongPassword }; 249 249 void setShowAutoFillButton(HTMLInputElement&, AutoFillButtonType); 250 250 AutoFillButtonType autoFillButtonType(const HTMLInputElement&); -
trunk/Source/WebCore/testing/Internals.idl
r233563 r233578 63 63 "Contacts", 64 64 "Credentials", 65 "StrongPassword", 66 "StrongConfirmationPassword" 65 "StrongPassword" 67 66 }; 68 67 -
trunk/Source/WebKit/ChangeLog
r233563 r233578 1 2018-07-06 Daniel Bates <dabates@apple.com> 2 3 Remove Strong Confirmation Password button 4 https://bugs.webkit.org/show_bug.cgi?id=187306 5 <rdar://problem/41795185> 6 7 Reviewed by Sam Weinig. 8 9 Remove support for the Strong Confirmation Password button because we never made use of it. 10 11 * WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInNodeHandle.mm: 12 (toAutoFillButtonType): 13 (toWKAutoFillButtonType): 14 * WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInNodeHandlePrivate.h: 15 * WebProcess/InjectedBundle/API/c/WKBundleNodeHandle.cpp: 16 (toAutoFillButtonType): 17 (toWKAutoFillButtonType): 18 * WebProcess/InjectedBundle/API/c/WKBundleNodeHandlePrivate.h: 19 1 20 2018-07-05 Youenn Fablet <youenn@apple.com> 2 21 -
trunk/Source/WebKit/WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInNodeHandle.mm
r226048 r233578 136 136 case _WKAutoFillButtonTypeCredentials: 137 137 return WebCore::AutoFillButtonType::Credentials; 138 case _WKAutoFillButtonTypeStrongConfirmationPassword:139 return WebCore::AutoFillButtonType::StrongConfirmationPassword;140 138 case _WKAutoFillButtonTypeStrongPassword: 141 139 return WebCore::AutoFillButtonType::StrongPassword; … … 154 152 case WebCore::AutoFillButtonType::Credentials: 155 153 return _WKAutoFillButtonTypeCredentials; 156 case WebCore::AutoFillButtonType::StrongConfirmationPassword:157 return _WKAutoFillButtonTypeStrongConfirmationPassword;158 154 case WebCore::AutoFillButtonType::StrongPassword: 159 155 return _WKAutoFillButtonTypeStrongPassword; -
trunk/Source/WebKit/WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInNodeHandlePrivate.h
r230121 r233578 32 32 _WKAutoFillButtonTypeCredentials, 33 33 _WKAutoFillButtonTypeContacts, 34 _WKAutoFillButtonTypeStrongConfirmationPassword,35 34 _WKAutoFillButtonTypeStrongPassword, 36 35 } WK_API_AVAILABLE(macosx(10.13.4), ios(11.3)); -
trunk/Source/WebKit/WebProcess/InjectedBundle/API/c/WKBundleNodeHandle.cpp
r226048 r233578 47 47 case kWKAutoFillButtonTypeCredentials: 48 48 return WebCore::AutoFillButtonType::Credentials; 49 case kWKAutoFillButtonTypeStrongConfirmationPassword:50 return WebCore::AutoFillButtonType::StrongConfirmationPassword;51 49 case kWKAutoFillButtonTypeStrongPassword: 52 50 return WebCore::AutoFillButtonType::StrongPassword; … … 65 63 case WebCore::AutoFillButtonType::Credentials: 66 64 return kWKAutoFillButtonTypeCredentials; 67 case WebCore::AutoFillButtonType::StrongConfirmationPassword:68 return kWKAutoFillButtonTypeStrongConfirmationPassword;69 65 case WebCore::AutoFillButtonType::StrongPassword: 70 66 return kWKAutoFillButtonTypeStrongPassword; -
trunk/Source/WebKit/WebProcess/InjectedBundle/API/c/WKBundleNodeHandlePrivate.h
r226048 r233578 41 41 kWKAutoFillButtonTypeContacts, 42 42 kWKAutoFillButtonTypeStrongPassword, 43 kWKAutoFillButtonTypeStrongConfirmationPassword,44 43 }; 45 44 typedef uint8_t WKAutoFillButtonType;
Note:
See TracChangeset
for help on using the changeset viewer.