Skip to content

Commit

Permalink
Merge r220732 - Remove ENABLE(REQUEST_AUTOCOMPLETE) code, which was d…
Browse files Browse the repository at this point in the history
…isabled everywhere

https://bugs.webkit.org/show_bug.cgi?id=175504

Reviewed by Sam Weinig.
Source/JavaScriptCore:

* Configurations/FeatureDefines.xcconfig:

Source/WebCore:

REQUEST_AUTOCOMPLETE was added in r133396 then removed in r148731, but brought back in r173596,
however no further work was done, and it was left disabled. So remove the code.

* Configurations/FeatureDefines.xcconfig:
* DerivedSources.make:
* WebCore.xcodeproj/project.pbxproj:
* dom/AutocompleteErrorEvent.h: Removed.
* dom/AutocompleteErrorEvent.idl: Removed.
* dom/EventNames.in:
* dom/GlobalEventHandlers.idl:
* html/HTMLFormElement.cpp:
(WebCore::HTMLFormElement::HTMLFormElement):
(WebCore::HTMLFormElement::requestAutocomplete): Deleted.
(WebCore::HTMLFormElement::finishRequestAutocomplete): Deleted.
(WebCore::HTMLFormElement::requestAutocompleteTimerFired): Deleted.
* html/HTMLFormElement.h:
* html/HTMLFormElement.idl:
* loader/EmptyClients.cpp:
* loader/FrameLoaderClient.h:

Source/WebCore/PAL:

* Configurations/FeatureDefines.xcconfig:

Source/WebKit:

* Configurations/FeatureDefines.xcconfig:
* WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
(WebKit::WebFrameLoaderClient::didRequestAutocomplete): Deleted.
* WebProcess/WebCoreSupport/WebFrameLoaderClient.h:

Source/WebKitLegacy/mac:

* Configurations/FeatureDefines.xcconfig:
* DOM/DOMHTMLFormElement.mm:
(-[DOMHTMLFormElement requestAutocomplete]): Deleted.
* WebCoreSupport/WebFrameLoaderClient.h:

Source/WTF:

* wtf/FeatureDefines.h:

Tools:

* TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
  • Loading branch information
smfr authored and carlosgcampos committed Aug 17, 2017
1 parent 3164255 commit d263aa4
Show file tree
Hide file tree
Showing 27 changed files with 87 additions and 436 deletions.

This file was deleted.

This file was deleted.

9 changes: 0 additions & 9 deletions LayoutTests/fast/forms/form-request-autocomplete-expected.txt

This file was deleted.

114 changes: 0 additions & 114 deletions LayoutTests/fast/forms/form-request-autocomplete.html

This file was deleted.

9 changes: 9 additions & 0 deletions Source/JavaScriptCore/ChangeLog
@@ -1,3 +1,12 @@
2017-08-14 Simon Fraser <simon.fraser@apple.com>

Remove ENABLE(REQUEST_AUTOCOMPLETE) code, which was disabled everywhere
https://bugs.webkit.org/show_bug.cgi?id=175504

Reviewed by Sam Weinig.

* Configurations/FeatureDefines.xcconfig:

2017-08-14 Simon Fraser <simon.fraser@apple.com>

Remove ENABLE_VIEW_MODE_CSS_MEDIA and related code
Expand Down
9 changes: 9 additions & 0 deletions Source/WTF/ChangeLog
@@ -1,3 +1,12 @@
2017-08-14 Simon Fraser <simon.fraser@apple.com>

Remove ENABLE(REQUEST_AUTOCOMPLETE) code, which was disabled everywhere
https://bugs.webkit.org/show_bug.cgi?id=175504

Reviewed by Sam Weinig.

* wtf/FeatureDefines.h:

2017-08-14 Simon Fraser <simon.fraser@apple.com>

Remove ENABLE_VIEW_MODE_CSS_MEDIA and related code
Expand Down
4 changes: 0 additions & 4 deletions Source/WTF/wtf/FeatureDefines.h
Expand Up @@ -608,10 +608,6 @@ the public iOS SDK. We will also need to update the FeatureDefines.xcconfig file
#define ENABLE_REMOTE_INSPECTOR 0
#endif

#if !defined(ENABLE_REQUEST_AUTOCOMPLETE)
#define ENABLE_REQUEST_AUTOCOMPLETE 0
#endif

#if !defined(ENABLE_RUBBER_BANDING)
#define ENABLE_RUBBER_BANDING 0
#endif
Expand Down
27 changes: 27 additions & 0 deletions Source/WebCore/ChangeLog
@@ -1,3 +1,30 @@
2017-08-14 Simon Fraser <simon.fraser@apple.com>

Remove ENABLE(REQUEST_AUTOCOMPLETE) code, which was disabled everywhere
https://bugs.webkit.org/show_bug.cgi?id=175504

Reviewed by Sam Weinig.

REQUEST_AUTOCOMPLETE was added in r133396 then removed in r148731, but brought back in r173596,
however no further work was done, and it was left disabled. So remove the code.

* Configurations/FeatureDefines.xcconfig:
* DerivedSources.make:
* WebCore.xcodeproj/project.pbxproj:
* dom/AutocompleteErrorEvent.h: Removed.
* dom/AutocompleteErrorEvent.idl: Removed.
* dom/EventNames.in:
* dom/GlobalEventHandlers.idl:
* html/HTMLFormElement.cpp:
(WebCore::HTMLFormElement::HTMLFormElement):
(WebCore::HTMLFormElement::requestAutocomplete): Deleted.
(WebCore::HTMLFormElement::finishRequestAutocomplete): Deleted.
(WebCore::HTMLFormElement::requestAutocompleteTimerFired): Deleted.
* html/HTMLFormElement.h:
* html/HTMLFormElement.idl:
* loader/EmptyClients.cpp:
* loader/FrameLoaderClient.h:

2017-08-14 Simon Fraser <simon.fraser@apple.com>

Remove ENABLE_VIEW_MODE_CSS_MEDIA and related code
Expand Down
1 change: 0 additions & 1 deletion Source/WebCore/DerivedSources.make
Expand Up @@ -365,7 +365,6 @@ JS_BINDING_IDLS = \
$(WebCore)/css/WebKitCSSViewportRule.idl \
$(WebCore)/dom/AnimationEvent.idl \
$(WebCore)/dom/Attr.idl \
$(WebCore)/dom/AutocompleteErrorEvent.idl \
$(WebCore)/dom/BeforeLoadEvent.idl \
$(WebCore)/dom/BeforeUnloadEvent.idl \
$(WebCore)/dom/CDATASection.idl \
Expand Down
9 changes: 9 additions & 0 deletions Source/WebCore/PAL/ChangeLog
@@ -1,3 +1,12 @@
2017-08-14 Simon Fraser <simon.fraser@apple.com>

Remove ENABLE(REQUEST_AUTOCOMPLETE) code, which was disabled everywhere
https://bugs.webkit.org/show_bug.cgi?id=175504

Reviewed by Sam Weinig.

* Configurations/FeatureDefines.xcconfig:

2017-08-14 Simon Fraser <simon.fraser@apple.com>

Remove ENABLE_VIEW_MODE_CSS_MEDIA and related code
Expand Down
14 changes: 0 additions & 14 deletions Source/WebCore/WebCore.xcodeproj/project.pbxproj
Expand Up @@ -3005,7 +3005,6 @@
75793EC80D0CE72D007FC0AC /* JSMessageEvent.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 75793EC60D0CE72D007FC0AC /* JSMessageEvent.cpp */; };
75793EC90D0CE72D007FC0AC /* JSMessageEvent.h in Headers */ = {isa = PBXBuildFile; fileRef = 75793EC70D0CE72D007FC0AC /* JSMessageEvent.h */; };
759CB837192DA9190012BC64 /* ControlStates.h in Headers */ = {isa = PBXBuildFile; fileRef = 311C08BC18E35D6800B65615 /* ControlStates.h */; settings = {ATTRIBUTES = (Private, ); }; };
760847CE19A6A27800428CCC /* AutocompleteErrorEvent.h in Headers */ = {isa = PBXBuildFile; fileRef = 760847CD19A6A27700428CCC /* AutocompleteErrorEvent.h */; };
7633A72613D8B33A008501B6 /* LocaleToScriptMapping.h in Headers */ = {isa = PBXBuildFile; fileRef = 7633A72413D8B33A008501B6 /* LocaleToScriptMapping.h */; };
7633A72713D8B33A008501B6 /* LocaleToScriptMappingDefault.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7633A72513D8B33A008501B6 /* LocaleToScriptMappingDefault.cpp */; };
76808B50159DADFA002B5233 /* JSHTMLDialogElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 76808B4E159DADFA002B5233 /* JSHTMLDialogElement.h */; };
Expand All @@ -3017,8 +3016,6 @@
76CDD2F51103DA6600680521 /* AccessibilityMenuListPopup.h in Headers */ = {isa = PBXBuildFile; fileRef = 76CDD2EF1103DA6600680521 /* AccessibilityMenuListPopup.h */; };
76CDD2F61103DA6600680521 /* AccessibilityMenuListOption.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 76CDD2F01103DA6600680521 /* AccessibilityMenuListOption.cpp */; };
76CDD2F71103DA6600680521 /* AccessibilityMenuListOption.h in Headers */ = {isa = PBXBuildFile; fileRef = 76CDD2F11103DA6600680521 /* AccessibilityMenuListOption.h */; };
76FB9FF819A73E3A00420562 /* JSAutocompleteErrorEvent.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 76FB9FF619A73E3A00420562 /* JSAutocompleteErrorEvent.cpp */; };
76FB9FF919A73E3A00420562 /* JSAutocompleteErrorEvent.h in Headers */ = {isa = PBXBuildFile; fileRef = 76FB9FF719A73E3A00420562 /* JSAutocompleteErrorEvent.h */; };
76FC2B0B12370DA0006A991A /* DOMTokenList.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 76FC2B0812370DA0006A991A /* DOMTokenList.cpp */; };
76FC2B0C12370DA0006A991A /* DOMTokenList.h in Headers */ = {isa = PBXBuildFile; fileRef = 76FC2B0912370DA0006A991A /* DOMTokenList.h */; settings = {ATTRIBUTES = (Private, ); }; };
7728694E14F8882500F484DC /* EXTTextureFilterAnisotropic.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7728694B14F8882500F484DC /* EXTTextureFilterAnisotropic.cpp */; };
Expand Down Expand Up @@ -11053,8 +11050,6 @@
75793E820D0CE0B3007FC0AC /* MessageEvent.idl */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = MessageEvent.idl; sourceTree = "<group>"; };
75793EC60D0CE72D007FC0AC /* JSMessageEvent.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = JSMessageEvent.cpp; sourceTree = "<group>"; };
75793EC70D0CE72D007FC0AC /* JSMessageEvent.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = JSMessageEvent.h; sourceTree = "<group>"; };
760847CD19A6A27700428CCC /* AutocompleteErrorEvent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AutocompleteErrorEvent.h; sourceTree = "<group>"; };
760847CF19A6A28600428CCC /* AutocompleteErrorEvent.idl */ = {isa = PBXFileReference; lastKnownFileType = text; path = AutocompleteErrorEvent.idl; sourceTree = "<group>"; };
7633A72413D8B33A008501B6 /* LocaleToScriptMapping.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LocaleToScriptMapping.h; sourceTree = "<group>"; };
7633A72513D8B33A008501B6 /* LocaleToScriptMappingDefault.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = LocaleToScriptMappingDefault.cpp; sourceTree = "<group>"; };
76808B4E159DADFA002B5233 /* JSHTMLDialogElement.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSHTMLDialogElement.h; sourceTree = "<group>"; };
Expand All @@ -11066,8 +11061,6 @@
76CDD2EF1103DA6600680521 /* AccessibilityMenuListPopup.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AccessibilityMenuListPopup.h; sourceTree = "<group>"; };
76CDD2F01103DA6600680521 /* AccessibilityMenuListOption.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = AccessibilityMenuListOption.cpp; sourceTree = "<group>"; };
76CDD2F11103DA6600680521 /* AccessibilityMenuListOption.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AccessibilityMenuListOption.h; sourceTree = "<group>"; };
76FB9FF619A73E3A00420562 /* JSAutocompleteErrorEvent.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSAutocompleteErrorEvent.cpp; sourceTree = "<group>"; };
76FB9FF719A73E3A00420562 /* JSAutocompleteErrorEvent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSAutocompleteErrorEvent.h; sourceTree = "<group>"; };
76FC2B0812370DA0006A991A /* DOMTokenList.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = DOMTokenList.cpp; sourceTree = "<group>"; };
76FC2B0912370DA0006A991A /* DOMTokenList.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DOMTokenList.h; sourceTree = "<group>"; };
76FC2B0A12370DA0006A991A /* DOMTokenList.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = DOMTokenList.idl; sourceTree = "<group>"; };
Expand Down Expand Up @@ -22246,8 +22239,6 @@
children = (
319848031A1E6B5D00A13318 /* JSAnimationEvent.cpp */,
319848041A1E6B5D00A13318 /* JSAnimationEvent.h */,
76FB9FF619A73E3A00420562 /* JSAutocompleteErrorEvent.cpp */,
76FB9FF719A73E3A00420562 /* JSAutocompleteErrorEvent.h */,
BC946345107A934B00857193 /* JSBeforeLoadEvent.cpp */,
BC946347107A936600857193 /* JSBeforeLoadEvent.h */,
8225432CA9D4B4CF4628EC7F /* JSBeforeUnloadEvent.cpp */,
Expand Down Expand Up @@ -25695,8 +25686,6 @@
A8C4A7FB09D563270003AC8D /* Attr.h */,
93EEC1E509C2877700C515D1 /* Attr.idl */,
A8C4A7F909D563270003AC8D /* Attribute.h */,
760847CD19A6A27700428CCC /* AutocompleteErrorEvent.h */,
760847CF19A6A28600428CCC /* AutocompleteErrorEvent.idl */,
BC9462D7107A7B4C00857193 /* BeforeLoadEvent.h */,
BC9462CB107A7A3900857193 /* BeforeLoadEvent.idl */,
AB23A32509BBA7D00067CC53 /* BeforeTextInsertedEvent.cpp */,
Expand Down Expand Up @@ -26731,7 +26720,6 @@
514C764C0CE9234E007EF3CD /* AuthenticationMac.h in Headers */,
A501920E132EBF2E008BFE55 /* Autocapitalize.h in Headers */,
A5A7AA43132F0ECC00D3A3C2 /* AutocapitalizeTypes.h in Headers */,
760847CE19A6A27800428CCC /* AutocompleteErrorEvent.h in Headers */,
7C1843FE1C8B7283002EB973 /* Autofill.h in Headers */,
7C1E97281A9F9834007BF0FB /* AutoFillButtonElement.h in Headers */,
C9D467051E60C465008195FB /* AutoplayEvent.h in Headers */,
Expand Down Expand Up @@ -27926,7 +27914,6 @@
FDA15EB612B03EE1003A583A /* JSAudioProcessingEvent.h in Headers */,
BE8EF043171C8FF9009B48C3 /* JSAudioTrack.h in Headers */,
BE8EF045171C8FF9009B48C3 /* JSAudioTrackList.h in Headers */,
76FB9FF919A73E3A00420562 /* JSAutocompleteErrorEvent.h in Headers */,
BC124F000C26447A009E2349 /* JSBarProp.h in Headers */,
57C7A69F1E57917800C67D71 /* JSBasicCredential.h in Headers */,
BC946348107A936600857193 /* JSBeforeLoadEvent.h in Headers */,
Expand Down Expand Up @@ -31924,7 +31911,6 @@
BE6DF711171CA2DA00DD52B8 /* JSAudioTrackCustom.cpp in Sources */,
BE8EF044171C8FF9009B48C3 /* JSAudioTrackList.cpp in Sources */,
BE6DF713171CA2DA00DD52B8 /* JSAudioTrackListCustom.cpp in Sources */,
76FB9FF819A73E3A00420562 /* JSAutocompleteErrorEvent.cpp in Sources */,
BC124EFF0C26447A009E2349 /* JSBarProp.cpp in Sources */,
57C7A6A01E57919B00C67D71 /* JSBasicCredential.cpp in Sources */,
BC946346107A934B00857193 /* JSBeforeLoadEvent.cpp in Sources */,
Expand Down

0 comments on commit d263aa4

Please sign in to comment.