Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MingGeJs1.9.6.2016超强正式版, jsonp 设置超时时间无效, 接着打脸 #230

Open
xqin opened this issue Mar 21, 2016 · 3 comments

Comments

@xqin
Copy link

xqin commented Mar 21, 2016

指定的jsonp超时时间为 2 秒, 后端处理时间为5秒,在请求发出超过2秒之后,没有触发 error,
而是在5秒钟的时候(即后端返回的时候)触发了 success.

测试代码如下:

<script src="MingGe_1.9.6.js"></script>
<script>
    console.log('load:', new Date());
    $.ajax({
        dataType: 'jsonp',
        url: 'http://127.0.0.1:8088/22.php?cb=?',
        timeout: 2000,
        error: function(){
            console.log('error');
        },
        success: function(v){
            console.log('succ:', new Date());
        }
    });

</script>
<?php

sleep(5);

echo $_GET['cb'], '(', time(), ')';

运行截图:
image

另外关于你的艰难决定, 是在为你的能力不足找借口吧?

@mingge8888
Copy link

qq 20160321125711

看图!

这里是有问题,是我测试时遗忘的,绝对就不是我技术问题
你来提交BUG,我很欢迎,但是你要带着耻笑的目的,来提BUG,你就首先要问下自己比我强吗?

,我另外我再告诉你,我现在的JS能力,绝对在JQ团队之上

再告诉你,山寨NG我都已经写出来了

@xqin
Copy link
Author

xqin commented Mar 21, 2016

自己把new bee tree到天上, 不打你脸, 你怎么会醒?

还吹嘘自己的能力在JQ团队之上, 他们怎么不漏写一个参数呢?

另外,你以为把那个 timeout 传进去它就正确了? 你确定?

@xqin
Copy link
Author

xqin commented Mar 21, 2016

自己再去看看我以前给你提的issue, 里面有多少个和JSON/jsonp 有关的bug.
看你改了多少次了, 还一堆bug, 居然还不知道谦虚.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants