Bug 160454

Summary: Allow building with content filtering disabled
Product: WebKit Reporter: Enrica Casucci <enrica>
Component: WebKit Misc.Assignee: Enrica Casucci <enrica>
Status: RESOLVED FIXED    
Severity: Normal CC: aestes, commit-queue, keith_miller, mark.lam, msaboff, saam, thorton
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch2
none
Patch3 simon.fraser: review+

Enrica Casucci
Reported 2016-08-02 09:44:33 PDT
We need to fix the build if we want to disable content filtering.
Attachments
Patch (14.41 KB, patch)
2016-08-02 11:11 PDT, Enrica Casucci
no flags
Patch2 (13.89 KB, patch)
2016-08-02 12:11 PDT, Enrica Casucci
no flags
Patch3 (15.28 KB, patch)
2016-08-02 15:32 PDT, Enrica Casucci
simon.fraser: review+
Enrica Casucci
Comment 1 2016-08-02 11:11:39 PDT
WebKit Commit Bot
Comment 2 2016-08-02 11:12:27 PDT
Attachment 285121 [details] did not pass style-queue: ERROR: Source/WebKit/mac/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). [featuredefines/equality] [5] ERROR: Source/JavaScriptCore/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). [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 Tools/TestWebKitAPI/Configurations/FeatureDefines.xcconfig). [featuredefines/equality] [5] ERROR: Source/WebKit2/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). [featuredefines/equality] [5] Total errors found: 4 in 18 files If any of these errors are false positives, please file a bug against check-webkit-style.
Tim Horton
Comment 3 2016-08-02 11:25:12 PDT
Comment on attachment 285121 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=285121&action=review > Source/JavaScriptCore/Configurations/FeatureDefines.xcconfig:57 > +ENABLE_CONTENT_FILTERING[sdk=iphonesimulator*] = ENABLE_CONTENT_FILTERING; Looks like we usually just use the prefix, so these could be e.g. iphone* and only mentioned once (and the same above). > Source/WebCore/platform/PlatformContentFilter.h:63 > virtual String unblockRequestDeniedScript() const { return emptyString(); } This seems related, too, no? > Source/WebCore/testing/MockContentFilter.h:49 > String unblockRequestDeniedScript() const override; Ditto
Enrica Casucci
Comment 4 2016-08-02 11:31:48 PDT
Comment on attachment 285121 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=285121&action=review >> Source/WebCore/platform/PlatformContentFilter.h:63 >> virtual String unblockRequestDeniedScript() const { return emptyString(); } > > This seems related, too, no? It is relevant because ContentFilterUnblockHandler is only defined if ENABLED_CONTENT_FILTERING.
Enrica Casucci
Comment 5 2016-08-02 12:11:43 PDT
WebKit Commit Bot
Comment 6 2016-08-02 12:13:00 PDT
Attachment 285124 [details] did not pass style-queue: ERROR: Source/WebKit/mac/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). [featuredefines/equality] [5] ERROR: Source/JavaScriptCore/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). [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 Tools/TestWebKitAPI/Configurations/FeatureDefines.xcconfig). [featuredefines/equality] [5] ERROR: Source/WebKit2/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). [featuredefines/equality] [5] Total errors found: 4 in 18 files If any of these errors are false positives, please file a bug against check-webkit-style.
Enrica Casucci
Comment 7 2016-08-02 15:32:11 PDT
Enrica Casucci
Comment 8 2016-08-02 17:03:00 PDT
Committed revision 204053
Note You need to log in before you can comment on or make changes to this bug.