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

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

Issue 2340213002: submit() in submit event handler should not contains a value of a submit button. (Closed)
Patch Set: Created 4 years, 3 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: third_party/WebKit/Source/core/html/HTMLFormElement.h
diff --git a/third_party/WebKit/Source/core/html/HTMLFormElement.h b/third_party/WebKit/Source/core/html/HTMLFormElement.h
index 0a4c213abf98c3619a8c92b6ce069cf489da57ac..d5db2576aa919d49b087f623a15cf7475201e499 100644
--- a/third_party/WebKit/Source/core/html/HTMLFormElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLFormElement.h
@@ -66,7 +66,7 @@ public:
void disassociate(HTMLImageElement&);
void didAssociateByParser();
- void prepareForSubmission(Event*);
+ void prepareForSubmission(Event*, HTMLFormControlElement* submitButton);
void submitFromJavaScript();
void reset();
@@ -119,7 +119,7 @@ private:
void copyNonAttributePropertiesFromElement(const Element&) override;
void submitDialog(FormSubmission*);
- void submit(Event*, bool activateSubmitButton);
+ void submit(Event*, HTMLFormControlElement* submitButton);
void scheduleFormSubmission(FormSubmission*);
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLButtonElement.cpp ('k') | third_party/WebKit/Source/core/html/HTMLFormElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698