Bug 192777

Summary: Update defines used with AccessibilitySPI
Product: WebKit Reporter: chris fleizach <cfleizach>
Component: WebKit2Assignee: Tim Horton <thorton>
Status: RESOLVED FIXED    
Severity: Normal CC: benjamin, cdumez, cmarcelo, commit-queue, dbates, ddkilzer, ews-watchlist, keith_miller, mark.lam, msaboff, saam, simon.fraser, thorton, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
patch
none
patch
none
patch
none
patch
none
patch
none
patch
none
Patch none

Description chris fleizach 2018-12-17 13:58:50 PST
Update #defines for AccessibilitySPI usage and add a feature flag for FKA
Comment 1 chris fleizach 2018-12-17 14:38:11 PST
Created attachment 357477 [details]
patch
Comment 2 EWS Watchlist 2018-12-17 14:40:36 PST
Attachment 357477 [details] did not pass style-queue:


ERROR: Source/WebKit/Platform/spi/ios/AccessibilitySupportSPI.h:28:  Header file should not contain WebCore config.h. Should be: alphabetically sorted.  [build/include_order] [4]
ERROR: Source/WebKit/Configurations/FeatureDefines.xcconfig:0:  Any changes made to FeatureDefines should be made to all of them (changed file does not match Source/JavaScriptCore/Configurations/FeatureDefines.xcconfig). Use sync-feature-defines if possible.  [featuredefines/equality] [5]
ERROR: Source/WebKit/Configurations/FeatureDefines.xcconfig:0:  Any changes made to FeatureDefines should be made to all of them (changed file does not match Source/WebCore/Configurations/FeatureDefines.xcconfig). Use sync-feature-defines if possible.  [featuredefines/equality] [5]
ERROR: Source/WebKit/Configurations/FeatureDefines.xcconfig:0:  Any changes made to FeatureDefines should be made to all of them (changed file does not match Source/WebCore/PAL/Configurations/FeatureDefines.xcconfig). Use sync-feature-defines if possible.  [featuredefines/equality] [5]
ERROR: Source/WebKit/Configurations/FeatureDefines.xcconfig:0:  Any changes made to FeatureDefines should be made to all of them (changed file does not match Source/WebKitLegacy/mac/Configurations/FeatureDefines.xcconfig). Use sync-feature-defines if possible.  [featuredefines/equality] [5]
ERROR: Source/WebKit/Configurations/FeatureDefines.xcconfig:0:  Any changes made to FeatureDefines should be made to all of them (changed file does not match Tools/TestWebKitAPI/Configurations/FeatureDefines.xcconfig). Use sync-feature-defines if possible.  [featuredefines/equality] [5]
ERROR: Source/WebKit/config.h:82:  Misplaced OS version check. Please use a named macro in wtf/Platform.h or wtf/FeatureDefines.h.  [build/version_check] [5]
Total errors found: 7 in 6 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 chris fleizach 2018-12-17 14:59:02 PST
Created attachment 357481 [details]
patch
Comment 4 EWS Watchlist 2018-12-17 15:02:27 PST
Attachment 357481 [details] did not pass style-queue:


ERROR: Source/WebCore/ChangeLog:8:  You should remove the 'No new tests' and either add and list tests, or explain why no new tests were possible.  [changelog/nonewtests] [5]
Total errors found: 1 in 15 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 5 chris fleizach 2018-12-17 15:05:51 PST
Created attachment 357482 [details]
patch
Comment 6 EWS Watchlist 2018-12-17 15:07:51 PST
Attachment 357482 [details] did not pass style-queue:


ERROR: Source/WebCore/ChangeLog:8:  You should remove the 'No new tests' and either add and list tests, or explain why no new tests were possible.  [changelog/nonewtests] [5]
Total errors found: 1 in 15 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 7 chris fleizach 2018-12-17 15:46:33 PST
Created attachment 357487 [details]
patch
Comment 8 chris fleizach 2018-12-17 16:23:28 PST
Created attachment 357494 [details]
patch
Comment 9 EWS Watchlist 2018-12-17 16:25:19 PST
Attachment 357494 [details] did not pass style-queue:


ERROR: Tools/TestWebKitAPI/Configurations/FeatureDefines.xcconfig:0:  Any changes made to FeatureDefines should be made to all of them (changed file does not match Source/WebKit/Configurations/FeatureDefines.xcconfig). Use sync-feature-defines if possible.  [featuredefines/equality] [5]
ERROR: Source/WebCore/Configurations/FeatureDefines.xcconfig:0:  Any changes made to FeatureDefines should be made to all of them (changed file does not match Source/WebKit/Configurations/FeatureDefines.xcconfig). Use sync-feature-defines if possible.  [featuredefines/equality] [5]
ERROR: Source/WebKit/Configurations/FeatureDefines.xcconfig:0:  Any changes made to FeatureDefines should be made to all of them (changed file does not match Source/JavaScriptCore/Configurations/FeatureDefines.xcconfig). Use sync-feature-defines if possible.  [featuredefines/equality] [5]
ERROR: Source/WebKit/Configurations/FeatureDefines.xcconfig:0:  Any changes made to FeatureDefines should be made to all of them (changed file does not match Source/WebCore/PAL/Configurations/FeatureDefines.xcconfig). Use sync-feature-defines if possible.  [featuredefines/equality] [5]
ERROR: Source/WebKit/Configurations/FeatureDefines.xcconfig:0:  Any changes made to FeatureDefines should be made to all of them (changed file does not match Source/WebKitLegacy/mac/Configurations/FeatureDefines.xcconfig). Use sync-feature-defines if possible.  [featuredefines/equality] [5]
Total errors found: 5 in 17 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 10 chris fleizach 2018-12-17 16:29:55 PST
Created attachment 357496 [details]
patch
Comment 11 Tim Horton 2018-12-17 17:42:29 PST
Created attachment 357508 [details]
Patch
Comment 12 Simon Fraser (smfr) 2018-12-17 17:43:33 PST
Comment on attachment 357508 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=357508&action=review

> Source/WebKit/Platform/spi/ios/AccessibilitySupportSPI.h:58
> +#endif

Is this // USE(APPLE_INTERNAL_SDK) ?
Comment 13 WebKit Commit Bot 2018-12-17 18:25:34 PST
Comment on attachment 357508 [details]
Patch

Clearing flags on attachment: 357508

Committed r239311: <https://trac.webkit.org/changeset/239311>
Comment 14 WebKit Commit Bot 2018-12-17 18:25:36 PST
All reviewed patches have been landed.  Closing bug.
Comment 15 Radar WebKit Bug Importer 2018-12-17 18:26:25 PST
<rdar://problem/46798180>