WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
167608
Don't migrate WebKit DOM headers in MigrateHeaders.make
https://bugs.webkit.org/show_bug.cgi?id=167608
Summary
Don't migrate WebKit DOM headers in MigrateHeaders.make
Aakash Jain
Reported
2017-01-30 15:08:58 PST
Source/WebKit/mac/MigrateHeaders.make copies the headers from WebCore to WebKit. However the file is out of date. As part of
https://bugs.webkit.org/show_bug.cgi?id=160654
, many DOM headers were moved from WebCore to WebKit. We should cleanup these files from MigrateHeaders.make as well.
Attachments
Proposed patch
(7.97 KB, patch)
2017-01-30 15:35 PST
,
Aakash Jain
ap
: review-
ap
: commit-queue-
Details
Formatted Diff
Diff
proposed patch
(152.87 KB, patch)
2017-02-07 17:16 PST
,
Alexey Proskuryakov
no flags
Details
Formatted Diff
Diff
proposed patch
(154.23 KB, patch)
2017-02-08 00:05 PST
,
Alexey Proskuryakov
darin
: review+
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Aakash Jain
Comment 1
2017-01-30 15:35:32 PST
Created
attachment 300152
[details]
Proposed patch
Alexey Proskuryakov
Comment 2
2017-01-30 16:57:29 PST
The current version of this patch this breaks the build.
Alexey Proskuryakov
Comment 3
2017-02-07 17:14:07 PST
More changes are needed here, taking this.
Alexey Proskuryakov
Comment 4
2017-02-07 17:16:10 PST
Created
attachment 300863
[details]
proposed patch
WebKit Commit Bot
Comment 5
2017-02-07 17:18:58 PST
Attachment 300863
[details]
did not pass style-queue: ERROR: Source/WebKit/mac/DOM/DOMTokenList.mm:28: Alphabetical sorting problem. [build/include_order] [4] ERROR: Source/WebKit/mac/DOM/DOMTokenList.mm:32: Bad include order. Mixing system and custom headers. [build/include_order] [4] ERROR: Source/WebKit/mac/DOM/DOMImplementation.mm:27: Alphabetical sorting problem. [build/include_order] [4] Total errors found: 3 in 19 files If any of these errors are false positives, please file a bug against check-webkit-style.
Alexey Proskuryakov
Comment 6
2017-02-07 17:55:20 PST
Forgot to make deleting iOS headers conditional. Will fix.
mitz
Comment 7
2017-02-07 20:29:50 PST
Comment on
attachment 300863
[details]
proposed patch View in context:
https://bugs.webkit.org/attachment.cgi?id=300863&action=review
> Source/WebKit/mac/ChangeLog:45 > + * postprocess-headers.sh: There are two SPI headers that are only exposed on iOS. > + This is the cleanest way I found to avoid exposing them on Mac (we don't migrate > + them, so it would be wrong to keep the logic in MigrateHeaders.make).
Have you considered naming the two headers in the EXCLUDED_SOURCE_FILES build setting when targeting macOS? If it works, then it’s somewhat cleaner in that the files do not get copied, then deleted, in each incremental build of the framework.
Alexey Proskuryakov
Comment 8
2017-02-08 00:05:38 PST
Created
attachment 300882
[details]
proposed patch It works, thank you Dan!
WebKit Commit Bot
Comment 9
2017-02-08 00:07:47 PST
Attachment 300882
[details]
did not pass style-queue: ERROR: Source/WebKit/mac/DOM/DOMTokenList.mm:28: Alphabetical sorting problem. [build/include_order] [4] ERROR: Source/WebKit/mac/DOM/DOMTokenList.mm:32: Bad include order. Mixing system and custom headers. [build/include_order] [4] ERROR: Source/WebKit/mac/DOM/DOMImplementation.mm:27: Alphabetical sorting problem. [build/include_order] [4] Total errors found: 3 in 19 files If any of these errors are false positives, please file a bug against check-webkit-style.
Alexey Proskuryakov
Comment 10
2017-02-08 22:09:04 PST
Committed
http://trac.webkit.org/r211931
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