The legacy WebKit availability macros are verbose, confusing, and provide no benefit over using the system availability macros directly. The original vision was that they'd serve a cross-platform purpose but that never came to be.
Created attachment 220390 [details] Patch
Attachment 220390 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCore/WebCore.xcodeproj/project.pbxproj', u'Source/WebCore/bindings/objc/WebKitAvailability.h', u'Source/WebKit/ChangeLog', u'Source/WebKit/WebKit.xcodeproj/project.pbxproj', u'Source/WebKit/mac/Carbon/CarbonUtils.h', u'Source/WebKit/mac/Carbon/HIWebView.h', u'Source/WebKit/mac/ChangeLog', u'Source/WebKit/mac/MigrateHeaders.make', u'Source/WebKit/mac/Plugins/WebPlugin.h', u'Source/WebKit/mac/Plugins/WebPluginViewFactory.h', u'Source/WebKit/mac/WebView/WebFrameLoadDelegate.h', u'Source/WebKit/mac/WebView/WebResourceLoadDelegatePrivate.h', u'Source/WebKit/mac/WebView/WebUIDelegate.h', u'Source/WebKit/mac/postprocess-headers.sh', '--commit-queue']" exit_code: 1 ERROR: Source/WebCore/bindings/objc/WebKitAvailability.h:26: #ifndef header guard has wrong style, please use: WebKitAvailability_h [build/header_guard] [5] Total errors found: 1 in 15 files If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 220391 [details] Patch
Attachment 220391 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCore/WebCore.xcodeproj/project.pbxproj', u'Source/WebCore/bindings/objc/WebKitAvailability.h', u'Source/WebKit/ChangeLog', u'Source/WebKit/WebKit.xcodeproj/project.pbxproj', u'Source/WebKit/mac/Carbon/CarbonUtils.h', u'Source/WebKit/mac/Carbon/HIWebView.h', u'Source/WebKit/mac/ChangeLog', u'Source/WebKit/mac/MigrateHeaders.make', u'Source/WebKit/mac/Plugins/WebPlugin.h', u'Source/WebKit/mac/Plugins/WebPluginViewFactory.h', u'Source/WebKit/mac/WebView/WebFrameLoadDelegate.h', u'Source/WebKit/mac/WebView/WebResourceLoadDelegatePrivate.h', u'Source/WebKit/mac/WebView/WebUIDelegate.h', u'Source/WebKit/mac/postprocess-headers.sh', '--commit-queue']" exit_code: 1 ERROR: Source/WebCore/bindings/objc/WebKitAvailability.h:26: #ifndef header guard has wrong style, please use: WebKitAvailability_h [build/header_guard] [5] Total errors found: 1 in 15 files If any of these errors are false positives, please file a bug against check-webkit-style.
(In reply to comment #4) > Attachment 220391 [details] did not pass style-queue: > > ERROR: Source/WebCore/bindings/objc/WebKitAvailability.h:26: #ifndef header guard has wrong style, please use: WebKitAvailability_h [build/header_guard] [5] This is intentional since WebKitAvailability_h is used by JavaScriptCore/WebKitAvailability.h already.
Comment on attachment 220391 [details] Patch Attachment 220391 [details] did not pass efl-wk2-ews (efl-wk2): Output: http://webkit-queues.appspot.com/results/5176170165305344
(In reply to comment #6) > (From update of attachment 220391 [details]) > Attachment 220391 [details] did not pass efl-wk2-ews (efl-wk2): > Output: http://webkit-queues.appspot.com/results/5176170165305344 This doesn't appear to be related to this patch.
Comment on attachment 220391 [details] Patch Clearing flags on attachment: 220391 Committed r161332: <http://trac.webkit.org/changeset/161332>
All reviewed patches have been landed. Closing bug.