[Webkit-unassigned] [Bug 165897] New: XMLHttpRequest timeout in 60 second in Safari on iOS 10 and above

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 15 05:27:16 PST 2016


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

            Bug ID: 165897
           Summary: XMLHttpRequest timeout in 60 second in Safari on iOS
                    10 and above
    Classification: Unclassified
           Product: WebKit
           Version: Safari 10
          Hardware: iPhone / iPad
                OS: iOS 10
            Status: NEW
          Severity: Major
          Priority: P2
         Component: Page Loading
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: rahult001 at gmail.com
                CC: beidson at apple.com

ajax request time out in 60 second in Safari on iOS 10 and above.
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';
----

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20161215/0ca0915e/attachment-0001.html>


More information about the webkit-unassigned mailing list