[Webkit-unassigned] [Bug 19444] New: form submit stops javascript execution

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jun 8 21:47:43 PDT 2008


           Summary: form submit stops javascript execution
           Product: WebKit
           Version: 526+ (Nightly build)
          Platform: Macintosh
               URL: http://www.charmm-gui.org/test.html
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Forms
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: sunhwanj at gmail.com


When a form is submitted, javascript execution is stopped.
I'm using a javascript to periodically update a textarea, and 
when I submit the form, this update is stopped. 
This page works okay with safari 2, firefox 2&3, ie 6&7.

# test.html
<script src="javascripts/prototype.js" type="text/javascript"></script>
function updateMonitorComplete(request) {
    //new Insertion.Top('monitor', request.responseText);
    $('monitor').value = request.responseText;

function updateMonitorCall() {
    new Ajax.Request('/monitor_test.php',
          onComplete: updateMonitorComplete

new PeriodicalExecuter(updateMonitorCall, 1);

<form action='monitor_test_form.php'>
<textarea id='monitor' name='monitor'>
<input type=submit>

# monitor_form_test.php
<? sleep(10); ?>

# monitor_test.php
<? echo time(); ?>

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