| Index: third_party/WebKit/Source/core/html/HTMLFormElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLFormElement.cpp b/third_party/WebKit/Source/core/html/HTMLFormElement.cpp
|
| index 9e6301d43ce004b95781e6b481fea81d7f86b37b..a724456d02787f7d508965172f20a20ac2de7bc2 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLFormElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLFormElement.cpp
|
| @@ -25,6 +25,7 @@
|
|
|
| #include "core/html/HTMLFormElement.h"
|
|
|
| +#include <limits>
|
| #include "bindings/core/v8/RadioNodeListOrElement.h"
|
| #include "bindings/core/v8/ScriptController.h"
|
| #include "bindings/core/v8/ScriptEventListener.h"
|
| @@ -59,7 +60,6 @@
|
| #include "public/platform/WebInsecureRequestPolicy.h"
|
| #include "wtf/AutoReset.h"
|
| #include "wtf/text/AtomicString.h"
|
| -#include <limits>
|
|
|
| namespace blink {
|
|
|
| @@ -302,9 +302,12 @@ void HTMLFormElement::prepareForSubmission(
|
| document().addConsoleMessage(ConsoleMessage::create(
|
| SecurityMessageSource, ErrorMessageLevel,
|
| "Form submission failed, as the <" + tagName + "> element named "
|
| - "'" + element->name() + "' was implicitly closed by reaching "
|
| + "'" +
|
| + element->name() +
|
| + "' was implicitly closed by reaching "
|
| "the end of the file. Please add an explicit end tag "
|
| - "('</" + tagName + ">')"));
|
| + "('</" +
|
| + tagName + ">')"));
|
| dispatchEvent(Event::create(EventTypeNames::error));
|
| return;
|
| }
|
|
|