WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
126499
[Mac] Move WebKit off the legacy WebKit availability macros
https://bugs.webkit.org/show_bug.cgi?id=126499
Summary
[Mac] Move WebKit off the legacy WebKit availability macros
Mark Rowe (bdash)
Reported
2014-01-05 00:29:03 PST
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.
Attachments
Patch
(26.37 KB, patch)
2014-01-05 00:56 PST
,
Mark Rowe (bdash)
no flags
Details
Formatted Diff
Diff
Patch
(26.50 KB, patch)
2014-01-05 00:59 PST
,
Mark Rowe (bdash)
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Mark Rowe (bdash)
Comment 1
2014-01-05 00:56:48 PST
Created
attachment 220390
[details]
Patch
WebKit Commit Bot
Comment 2
2014-01-05 00:58:08 PST
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.
Mark Rowe (bdash)
Comment 3
2014-01-05 00:59:43 PST
Created
attachment 220391
[details]
Patch
WebKit Commit Bot
Comment 4
2014-01-05 01:00:48 PST
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.
Mark Rowe (bdash)
Comment 5
2014-01-05 01:05:50 PST
(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.
EFL EWS Bot
Comment 6
2014-01-05 02:11:56 PST
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
Mark Rowe (bdash)
Comment 7
2014-01-05 02:16:29 PST
(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.
WebKit Commit Bot
Comment 8
2014-01-06 00:12:01 PST
Comment on
attachment 220391
[details]
Patch Clearing flags on attachment: 220391 Committed
r161332
: <
http://trac.webkit.org/changeset/161332
>
WebKit Commit Bot
Comment 9
2014-01-06 00:12:04 PST
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug