| Index: third_party/WebKit/Source/core/html/HTMLFormControlElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLFormControlElement.cpp b/third_party/WebKit/Source/core/html/HTMLFormControlElement.cpp
|
| index c30ad8b23aec88f26e836c784223b0b29ef4f54f..f0e9aa5aa7362eb0112d1dce3518832663939ab4 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLFormControlElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLFormControlElement.cpp
|
| @@ -461,7 +461,7 @@ void HTMLFormControlElement::findCustomValidationMessageTextDirection(
|
|
|
| void HTMLFormControlElement::updateVisibleValidationMessage() {
|
| Page* page = document().page();
|
| - if (!page || !page->isPageVisible())
|
| + if (!page || !page->isPageVisible() || document().unloadStarted())
|
| return;
|
| String message;
|
| if (layoutObject() && willValidate())
|
|
|