The define button and action should only be available if not explicitly disabled via profile.
Created attachment 243449 [details]
Attachment 243449 [details] did not pass style-queue:
ERROR: Source/WebKit2/UIProcess/ios/WKContentViewInteraction.mm:51: Alphabetical sorting problem. [build/include_order] 
ERROR: Source/WebKit2/UIProcess/ios/WKContentViewInteraction.mm:1342: Multi line control clauses should use braces. [whitespace/braces] 
Total errors found: 2 in 2 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 243449 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=243449&action=review
> +#import <ManagedConfiguration/MCProfileConnection.h>
> +#import <ManagedConfiguration/MCFeatures.h>
Nit: `sort` which you already noticed.
Are these SPI? In order for this to build with the public SDK do you have to do something special? dbates has been doing something like that, so there may be something you have to do here, or maybe not.
Committed revision 177463.