| Index: ios/web/web_state/ui/crw_web_controller.mm
|
| diff --git a/ios/web/web_state/ui/crw_web_controller.mm b/ios/web/web_state/ui/crw_web_controller.mm
|
| index 2cc2e795d181e20c007abed5e5e52a90ad728bfc..c566bf0a7f59235fb7c81e01fb4790880a74323b 100644
|
| --- a/ios/web/web_state/ui/crw_web_controller.mm
|
| +++ b/ios/web/web_state/ui/crw_web_controller.mm
|
| @@ -2741,7 +2741,8 @@ const NSTimeInterval kSnapshotOverlayTransition = 0.5;
|
| // Record the URL so that errors reported following the 'NO' reply can be
|
| // safely ignored.
|
| [_openedApplicationURL addObject:request.URL];
|
| - return NO;
|
| + if ([self cancellable])
|
| + [_delegate webPageOrderedClose];
|
| }
|
| return NO;
|
| }
|
|
|