[Webkit-unassigned] [Bug 19758] New: ajax request timeout in 60 second

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 24 16:50:23 PDT 2008


https://bugs.webkit.org/show_bug.cgi?id=19758

           Summary: ajax request timeout in 60 second
           Product: WebKit
           Version: 526+ (Nightly build)
          Platform: Macintosh
               URL: http://devel.charmm-gui.org/test2.html
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Page Loading
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: sunhwanj at gmail.com


ajax request time out in 60 second.
the attached url calls a php script that sleeps 60 seconds. It works fine
(display alert window and say 'done') in firefox, and will not work in Safari
(blank alert window).

Below is the slightly modified script.
test.php?duration=59 will be fine
test.php?duration=60 will be failed.

test.php
------
  <script src="javascripts/prototype.js" type="text/javascript"></script>
<script>
  var myAjax = new Ajax.Request(
    'http://devel.charmm-gui.org/sleep.php',
    {
      method: 'get',
      parameters: 'duration=<?=$_GET['duration']?>',
      onComplete: showResponse
    });

  function showResponse(oReq) {
    alert(oReq.responseText);
  }
</script>
----

sleep.php
----
<?
sleep($_GET['duration']);
echo 'done';
----


-- 
Configure bugmail: https://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