<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>8156</bug_id>
          
          <creation_ts>2006-04-03 09:27:14 -0700</creation_ts>
          <short_desc>FrameMac::submitForm is busted after Vector changes</short_desc>
          <delta_ts>2006-04-12 18:49:49 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Forms</component>
          <version>420+</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Regression</keywords>
          <priority>P1</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Eric Seidel (no email)">eric</reporter>
          <assigned_to name="Adele Peterson">adele</assigned_to>
          <cc>sullivan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>38396</commentid>
    <comment_count>0</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2006-04-03 09:27:14 -0700</bug_when>
    <thetext>I made some changes a while back to how form submission worked, and I busted FrameMac::submitForm.  Strangely enough, no one has seemed to notice.  However, WebKit is no longer seeing any form submission data, like it used to.

This call:

    if (!request.doPost()) {
        [_bridge loadURL:request.url().getNSURL()
                referrer:[_bridge referrer] 
                  reload:request.reload
             userGesture:true
                  target:request.frameName
         triggeringEvent:_currentEvent
                    form:_formAboutToBeSubmitted
              formValues:_formValuesAboutToBeSubmitted];

_formAboutToBeSubmitted
and
_formValuesAboutToBeSubmitted
are always nil.

Those values are now held down on Frame, and just need to be converted from WebCore types into NS types and sent up to WebKit.  It&apos;s simple to fix.  I&apos;m filing this bug so I don&apos;t forget.

Maybe somone who knows more about that code path can comment as to why no one has noticed this being broken.  Maybe WebKit no longer needs to know about form submission data (unless it&apos;s for autofill?)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38463</commentid>
    <comment_count>1</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2006-04-03 21:10:59 -0700</bug_when>
    <thetext>Yes, it&apos;s primarily for auto-fill.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39030</commentid>
    <comment_count>2</comment_count>
    <who name="Adele Peterson">adele</who>
    <bug_when>2006-04-12 10:50:16 -0700</bug_when>
    <thetext>I have a patch to fix this.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>