将Chrome和其他浏览器放弃对同步XMLHtt prequest支持? [英] Will Chrome and other browsers drop support for Synchronous XMLHttpRequest?

查看:363
本文介绍了将Chrome和其他浏览器放弃对同步XMLHtt prequest支持?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

同步XMLHtt prequest正被德precated,这意味着支持它最终会被拆除,这里是我在Chrome中得到的消息:

Synchronous XMLHttpRequest is being deprecated, meaning support for it will be removed eventually, here is the message I get in Chrome:

在主线程同步XMLHtt prequest是因为其不利影响到最终用户的体验pcated德$ P $。如需更多帮助,请 http://xhr.spec.whatwg.org/

Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check http://xhr.spec.whatwg.org/.

所以,我的问题是,如果,并且,如果是的时候,主要的浏览器(尤其是镀铬)将下降为同步XMLHtt prequest支持?

So, my question is if, and, if yes, when, major browsers (esp. Chrome) will drop support for Synchronous XMLHttpRequest?

推荐答案

更新:铬正式公布其在54版,去除估计以10月中旬2016年<公布/ STRONG>

Update: Chrome officially announced its removal at version 54, estimated to be released around mid-October 2016.

我没有内幕信息,但这里是一些研究。

I have no insider information, but here is some research.

借助决定取消precate 在2014年二月被做了镀铬宣布它的德precated 同一个月,但没有的显示警告,直到2014年十一月火狐的德$ p $在2014年6月(火狐30)。pcated

The decision to deprecate was made in Feb 2014. Chrome declared it deprecated the same month but did not show a warning until Nov 2014. Firefox deprecated it in June 2014 (Firefox 30).

在为Web一般情况下,重要的特性需要时间来进行迁移。例如,Chrome的德precated在2013年九月NPAPI 支持它默认在2015年4月(42铬禁用),并定于彻底清除在2015年9月。

In general, important features for the web take time to migrate. For example, Chrome deprecated NPAPI support in Sep 2013. It is disabled by default in April 2015 (Chrome 42), and is scheduled for complete removal in Sep 2015.

在这种情况下, ExtJS的 still使用此功能模块加载。其他模块使用它的卸载事件中来ping服务器,但的 航标 替代技术还远远没有准备好黄金时间。有一些引人注目的使用案例。

In this case, ExtJS still uses this feature for module loading. Other modules use it inside an unload event to ping the server, but beacon replacement technology is far from ready for prime time. There are some more compelling use cases.

的仍在使用同步XMLHtt $ P网站2.5% $ pquest。它看起来并不像它的任何时间很快消失。

Roughly 2.5% of websites are still using synchronous XMLHttpRequest. It does not look like it will go away any time soon.

这篇关于将Chrome和其他浏览器放弃对同步XMLHtt prequest支持?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆