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

Unified Diff: Source/core/html/HTMLFormElement.h

Issue 449823003: Form submitted from JS should not submit double values (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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
Index: Source/core/html/HTMLFormElement.h
diff --git a/Source/core/html/HTMLFormElement.h b/Source/core/html/HTMLFormElement.h
index 4eb9ff1e420735ee13d6907221a5389a04a23276..e4bf3838a1ea693dd1a5ed08136100ddf63eac96 100644
--- a/Source/core/html/HTMLFormElement.h
+++ b/Source/core/html/HTMLFormElement.h
@@ -178,6 +178,8 @@ private:
bool m_didFinishParsingChildren;
bool m_wasUserSubmitted;
+ bool m_isSubmittingOrInUserJSSubmitEvent;
+ bool m_shouldSubmit;
bool m_isInResetFunction;

Powered by Google App Engine
This is Rietveld 408576698