Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(363)

Unified Diff: ios/web/web_state/ui/crw_web_controller.mm

Issue 2763173002: Form submission with blank target is broken. (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 c15eb0c28b87b3c90437e3146c956e359006209b..040d9fed2bc936a7b23b623fe3ec91bc1785d933 100644
--- a/ios/web/web_state/ui/crw_web_controller.mm
+++ b/ios/web/web_state/ui/crw_web_controller.mm
@@ -4215,7 +4215,7 @@ const NSTimeInterval kSnapshotOverlayTransition = 0.5;
referrer.length ? GURL(base::SysNSStringToUTF8(referrer)) : _documentURL;
WebState* childWebState = _webStateImpl->CreateNewWebState(
- requestURL, openerURL, [self userIsInteracting]);
+ requestURL, openerURL, [self userClickedRecently]);
Eugene But (OOO till 7-30) 2017/03/22 00:59:38 This will allow more popups from malicious pages,
if (!childWebState)
return nil;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698