[Webkit-unassigned] [Bug 14828] New: All Javascript that should run after a form has been submitted does not run

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 31 10:38:40 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=14828

           Summary: All Javascript that should run after a form has been
                    submitted does not run
           Product: WebKit
           Version: 522+ (nightly)
          Platform: Macintosh Intel
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: Major
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: teevio at gmail.com


Once the initial onSubmit JS has been executed, any JS after that will not run
(works fine in Firefox, IE6, IE7).  This is specifically more crippling with
the introduction of PHP 5.2 and its ability to return fileupload progress
information via XMLHTTP Requests.

Steps to reproduce:
1)  Attach an onSubmit function to a form.
2)  In that function set an interval that will run a chunk of code.
3)  The code in the set interval will not execute.

Code example:
<form enctype="multipart/form-data" onsubmit="myFunction()">

function myFunction()
{
  alert('this works');

  myFunctionInterval = setInterval(function()
  {
    alert('this does not work');
  }, 200);
}


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list