Show error if web process never connects
This commit is contained in:
@@ -32,6 +32,8 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
@property (nonatomic, assign) BOOL allowAllScripts; // default is NO
|
||||
@property (nonatomic, assign) BOOL darkModeEnabled;
|
||||
|
||||
@property (nonatomic, readonly) BOOL webContentProcessConnected;
|
||||
|
||||
- (void)policyDataSourceDidChange;
|
||||
- (void)tearDown;
|
||||
|
||||
|
||||
@@ -105,6 +105,8 @@
|
||||
- (void)webProcessDidConnect
|
||||
{
|
||||
NSLog(@"SBRProcessBundleBridge: did connect. Saying hello, syncing allowlist");
|
||||
_webContentProcessConnected = YES;
|
||||
|
||||
[_webProcessProxy hello];
|
||||
[self policyDataSourceDidChange];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user