Title: [252746] trunk/Source/WebKitLegacy/mac
- Revision
- 252746
- Author
- [email protected]
- Date
- 2019-11-21 12:27:42 -0800 (Thu, 21 Nov 2019)
Log Message
Remove unneeded code that annotated DOMHTMLElement as conforming to UITextInputTraits protocol
https://bugs.webkit.org/show_bug.cgi?id=204464
Reviewed by Wenson Hsieh.
DOMHTMLElement never really conformed to the UITextInputTraits protocol. It was annotated as doing so
in order to register with the runtime as part of advertising that it implemented two UITextInputTraits_Private
messages in r222487: -acceptsAutofilledLoginCredentials and -representingPageURL. These messages were
subsequently removed in r222991 (over years ago). So, we do not need to continue advertising UITextInputTraits
conformance.
* DOM/DOMHTMLInputElement.h:
Modified Paths
Diff
Modified: trunk/Source/WebKitLegacy/mac/ChangeLog (252745 => 252746)
--- trunk/Source/WebKitLegacy/mac/ChangeLog 2019-11-21 20:06:20 UTC (rev 252745)
+++ trunk/Source/WebKitLegacy/mac/ChangeLog 2019-11-21 20:27:42 UTC (rev 252746)
@@ -1,3 +1,18 @@
+2019-11-21 Daniel Bates <[email protected]>
+
+ Remove unneeded code that annotated DOMHTMLElement as conforming to UITextInputTraits protocol
+ https://bugs.webkit.org/show_bug.cgi?id=204464
+
+ Reviewed by Wenson Hsieh.
+
+ DOMHTMLElement never really conformed to the UITextInputTraits protocol. It was annotated as doing so
+ in order to register with the runtime as part of advertising that it implemented two UITextInputTraits_Private
+ messages in r222487: -acceptsAutofilledLoginCredentials and -representingPageURL. These messages were
+ subsequently removed in r222991 (over years ago). So, we do not need to continue advertising UITextInputTraits
+ conformance.
+
+ * DOM/DOMHTMLInputElement.h:
+
2019-11-15 Eric Carlson <[email protected]>
Don't use AVCapture on watchOS and tvOS
Modified: trunk/Source/WebKitLegacy/mac/DOM/DOMHTMLInputElement.h (252745 => 252746)
--- trunk/Source/WebKitLegacy/mac/DOM/DOMHTMLInputElement.h 2019-11-21 20:06:20 UTC (rev 252745)
+++ trunk/Source/WebKitLegacy/mac/DOM/DOMHTMLInputElement.h 2019-11-21 20:27:42 UTC (rev 252746)
@@ -24,9 +24,6 @@
*/
#import <WebKitLegacy/DOMHTMLElement.h>
-#if TARGET_OS_IPHONE
-#import <UIKit/UITextInputTraits.h>
-#endif
@class DOMFileList;
@class DOMHTMLFormElement;
@@ -34,11 +31,7 @@
@class NSURL;
WEBKIT_CLASS_DEPRECATED_MAC(10_4, 10_14)
-#if TARGET_OS_IPHONE
-@interface DOMHTMLInputElement : DOMHTMLElement<UITextInputTraits>
-#else
@interface DOMHTMLInputElement : DOMHTMLElement
-#endif
@property (copy) NSString *accept;
@property (copy) NSString *alt;
@property BOOL autofocus WEBKIT_AVAILABLE_MAC(10_6);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes