Script origins control inline policy, all scripts allowed for tab
This commit is contained in:
@@ -7,9 +7,18 @@
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
static inline NSString* SBRGetAllowedOriginsKey() {
|
||||
return @"allowedOrigins";
|
||||
}
|
||||
|
||||
static inline NSString* SBRGetAllScriptsAllowedKey() {
|
||||
return @"allScriptsAllowed";
|
||||
}
|
||||
|
||||
@protocol SBRWebProcessProxy <NSObject>
|
||||
|
||||
- (void)hello;
|
||||
- (void)syncAllowedResourceOrigins:(NSArray<NSString *> *)allowedOrigins;
|
||||
- (void)setAllScriptsAllowed:(BOOL)allowed;
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user