简体   繁体   English

主要浏览器中缺少ECMAScript / JavaScript支持的区域列表?

[英]List of areas missing support for ECMAScript/JavaScript in major browsers?

Is anyone aware of a definitive list of areas of missing support for ECMAScript/JavaScript in the major browsers (I'm talking IE7+, Firefox, Chrome, Safari and Opera). 是否有人知道主要浏览器中ECMAScript / JavaScript缺少支持的确切列表(我说的是IE7 +,Firefox,Chrome,Safari和Opera)。

Obviously we do feature detection in our code, but I'd like a list of features that we need to perform detection on ideally. 显然我们在代码中进行了特征检测,但是我想要一个理想情况下需要执行检测的功能列表。

Some commonly referenced sources are 一些常用的来源是

You might find Thomas Lahn's ECMAScript support matrix useful. 您可能会发现Thomas Lahn的ECMAScript支持矩阵很有用。

I doubt very much that there is a definitive list of all the bugs, non-conformities or inconsistencies of browsers, even if restricted to some (undefined) set of "major browsers". 我非常怀疑有一个关于浏览器的所有错误,不符合或不一致的明确列表,即使仅限于某些(未定义的)“主要浏览器”集。 The usual strategy is to program for standards and use feature detection and documented alternatives to work around known inconsistencies. 通常的策略是为标准编程并使用特征检测和记录的替代方法来解决已知的不一致问题。 Then test as widely as reasonable to discover the unknowns. 然后测试尽可能广泛地发现未知数。

While browsers frequently introduce new features, they rarely remove old ones without a very long period of deprecation. 虽然浏览器经常引入新功能,但它们很少会在没有很长时间的弃用的情况下删除旧功能。 So well written code should continue to work in new browsers even if if contains feature tests to work around inconsistencies in browsers that are no longer in use. 所以编写良好的代码应该继续在新的浏览器中工作,即使包含功能测试来解决不再使用的浏览器中的不一致问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM