Bug 84297 - FrameLoaderClient::dispatchWillSendSubmitEvent() should be given more information about the form being submitted
Summary: FrameLoaderClient::dispatchWillSendSubmitEvent() should be given more informa...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Jon Honeycutt
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-18 16:06 PDT by Jon Honeycutt
Modified: 2012-05-02 19:54 PDT (History)
7 users (show)

See Also:


Attachments
Patch (24.73 KB, patch)
2012-04-20 23:19 PDT, Jon Honeycutt
buildbot: commit-queue-
Details | Formatted Diff | Diff
Patch v2 (26.27 KB, patch)
2012-04-24 17:30 PDT, Jon Honeycutt
buildbot: commit-queue-
Details | Formatted Diff | Diff
Patch v3 (26.82 KB, patch)
2012-04-24 19:50 PDT, Jon Honeycutt
buildbot: commit-queue-
Details | Formatted Diff | Diff
Patch v4 (27.92 KB, patch)
2012-04-24 20:28 PDT, Jon Honeycutt
aestes: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jon Honeycutt 2012-04-18 16:06:01 PDT
FrameLoaderClient::dispatchWillSendSubmitEvent() should be given more information about the form being submitted.
Comment 1 Jon Honeycutt 2012-04-20 23:19:21 PDT
Created attachment 138222 [details]
Patch
Comment 2 Build Bot 2012-04-20 23:43:40 PDT
Comment on attachment 138222 [details]
Patch

Attachment 138222 [details] did not pass win-ews (win):
Output: http://queues.webkit.org/results/12476386
Comment 3 Jon Honeycutt 2012-04-24 17:30:47 PDT
Created attachment 138700 [details]
Patch v2
Comment 4 Build Bot 2012-04-24 18:45:50 PDT
Comment on attachment 138700 [details]
Patch v2

Attachment 138700 [details] did not pass win-ews (win):
Output: http://queues.webkit.org/results/12521360
Comment 5 Jon Honeycutt 2012-04-24 19:50:04 PDT
Created attachment 138721 [details]
Patch v3
Comment 6 Build Bot 2012-04-24 20:14:01 PDT
Comment on attachment 138721 [details]
Patch v3

Attachment 138721 [details] did not pass win-ews (win):
Output: http://queues.webkit.org/results/12523449
Comment 7 Jon Honeycutt 2012-04-24 20:28:36 PDT
Created attachment 138728 [details]
Patch v4
Comment 8 Andy Estes 2012-04-30 15:32:53 PDT
Comment on attachment 138728 [details]
Patch v4

View in context: https://bugs.webkit.org/attachment.cgi?id=138728&action=review

> Source/WebCore/html/HTMLFormElement.h:114
> +    void getTextFieldData(StringPairVector& fieldNamesAndValues) const;

FormState calls what this function collects 'textFieldValues', which I think is somewhat more descriptive than 'textFieldData'. Perhaps you should call this 'getTextFieldValues'. Also, since the StyleBot wants you to give an argument name here, you should use the same name you used in the function's definition.
Comment 9 Jon Honeycutt 2012-05-02 19:54:35 PDT
(In reply to comment #8)
> (From update of attachment 138728 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=138728&action=review
> 
> > Source/WebCore/html/HTMLFormElement.h:114
> > +    void getTextFieldData(StringPairVector& fieldNamesAndValues) const;
> 
> FormState calls what this function collects 'textFieldValues', which I think is somewhat more descriptive than 'textFieldData'. Perhaps you should call this 'getTextFieldValues'. Also, since the StyleBot wants you to give an argument name here, you should use the same name you used in the function's definition.

Landed with this change in <http://trac.webkit.org/changeset/115926>.