Tapping on an HTML validation bubble should dismiss it. It currently does nothing.
Created attachment 295656 [details] WIP Patch
<rdar://problem/29429372>
Created attachment 295741 [details] Patch
Comment on attachment 295741 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=295741&action=review > Source/WebCore/platform/ios/ValidationBubbleIOS.mm:52 > +- (WebValidationBubbleTapRecognizer *)initWithPopoverController:(UIViewController*)popoverController withPopoverView:(UIView *)popoverView UIViewController star's on the wrong side. Also, do you really need to pass both? isn't popoverController.view popoverView?
(In reply to comment #4) > Comment on attachment 295741 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=295741&action=review > > > Source/WebCore/platform/ios/ValidationBubbleIOS.mm:52 > > +- (WebValidationBubbleTapRecognizer *)initWithPopoverController:(UIViewController*)popoverController withPopoverView:(UIView *)popoverView > > UIViewController star's on the wrong side. Also, do you really need to pass > both? isn't popoverController.view popoverView? Good point. I'll fix.
Created attachment 295761 [details] Patch
(In reply to comment #5) > (In reply to comment #4) > > Comment on attachment 295741 [details] > > Patch > > > > View in context: > > https://bugs.webkit.org/attachment.cgi?id=295741&action=review > > > > > Source/WebCore/platform/ios/ValidationBubbleIOS.mm:52 > > > +- (WebValidationBubbleTapRecognizer *)initWithPopoverController:(UIViewController*)popoverController withPopoverView:(UIView *)popoverView > > > > UIViewController star's on the wrong side. Also, do you really need to pass > > both? isn't popoverController.view popoverView? > > Good point. I'll fix. Fixed.
Comment on attachment 295761 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=295761&action=review > Source/WebCore/platform/ios/ValidationBubbleIOS.mm:58 > + _tapGestureRecognizer = adoptNS([[getUITapGestureRecognizerClass() alloc] initWithTarget:self action:@selector(dismissPopover)]); Are you sure this doesn't create a ref cycle?
Comment on attachment 295761 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=295761&action=review >> Source/WebCore/platform/ios/ValidationBubbleIOS.mm:58 >> + _tapGestureRecognizer = adoptNS([[getUITapGestureRecognizerClass() alloc] initWithTarget:self action:@selector(dismissPopover)]); > > Are you sure this doesn't create a ref cycle? I see WebValidationBubbleTapRecognizer's dealloc getting called so it seems fine.
Created attachment 295892 [details] Patch
Comment on attachment 295892 [details] Patch Clearing flags on attachment: 295892 Committed r209253: <http://trac.webkit.org/changeset/209253>
All reviewed patches have been landed. Closing bug.