Bug 218268 reports that some *.txt files got included in WebKitLegacy. To help protect against this happening in the future, extend check-for-inappropriate-files-in-framework to check for *.txt files, and apply the script to WebKitLegacy and JavaScriptCore in addition to WebCore and WebKit.
<rdar://problem/70748116>
The patch is done, but I can't upload it until the bots are cleaned of the *.txt files that this patch is supposed to detect.
Added a suggestion from David to manually remove those files so that check-for-inappropriate-files-in-framework won't complain about them.
Created attachment 413010 [details] Patch
Committed r269310: <https://trac.webkit.org/changeset/269310> All reviewed patches have been landed. Closing bug and clearing flags on attachment 413010 [details].