HTML form validation bubble should be dismissed on navigation.
<rdar://problem/29668086>
Created attachment 297338 [details] Patch
Comment on attachment 297338 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=297338&action=review > Source/WebKit2/UIProcess/WebPageProxy.cpp:3174 > + hideValidationMessage(); Is this the right place? This happens before the rest of the page changes (which is didCommitLoad or later). > LayoutTests/http/tests/navigation/navigation-dismisses-validation-bubbles.html:15 > + }, 100); 100ms is a pretty long test.
Comment on attachment 297338 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=297338&action=review >> Source/WebKit2/UIProcess/WebPageProxy.cpp:3174 >> + hideValidationMessage(); > > Is this the right place? This happens before the rest of the page changes (which is didCommitLoad or later). Yes, this happens early in the load but I figured that there is no point showing the bubble if a navigation has been triggered, even if that load has not been committed yet. >> LayoutTests/http/tests/navigation/navigation-dismisses-validation-bubbles.html:15 >> + }, 100); > > 100ms is a pretty long test. Ok, I can shorten this before landing.
Created attachment 297353 [details] Patch
Comment on attachment 297353 [details] Patch Clearing flags on attachment: 297353 Committed r209941: <http://trac.webkit.org/changeset/209941>
All reviewed patches have been landed. Closing bug.