有任何浏览器实现了DOM3 EventListenerList? [英] Have any browsers implemented the DOM3 EventListenerList?

查看:114
本文介绍了有任何浏览器实现了DOM3 EventListenerList?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

答案不在2010年3月:

The answer was no back in March 2010:

浏览器EventListenerList实现

我想知道自那以后是否有任何进展。

I'm wondering if there has been any progress since then.

如果答案仍然没有...任何浏览器可能支持的任何指示?

If the answer's still no ... any indication of when any browser might support it?

推荐答案

EventListenerList在一些旧的草稿的DOM 3事件,并从规范中长期移除。据我所知,至少Gecko仍然没有像常规网页这样的东西,虽然现在有一个用于枚举听众的特权代码(扩展名)的API (请参阅 https://bugzilla.mozilla.org/show_bug.cgi?id=570678#c0 )。

EventListenerList was in some old draft of DOM 3 Events and was long removed from the spec. As far as I know, at least Gecko still doesn't have anything like this for regular web pages, although it now has an API for privileged code (extensions) to enumerate listeners (see https://bugzilla.mozilla.org/show_bug.cgi?id=570678#c0).

我浏览了W3C邮件列表,有几个关于这个话题的讨论,但显然没有找到任何用例来证明这个特征。这是我可以找到的最新消息:

I looked through the W3C mailing lists, and there were a few discussions on this topic, but apparently no use-cases were found to justify the feature. This is the most recent message I could find:


[...]添加此功能的动机是什么?以前,工作组决定删除相关但不太强大的
hasEventListenerNS方法,因为缺少用例,因为
是潜在的安全问题。

[...] what is the motivation for adding this functionality at all? Previously, the working group resolved to remove the related but less powerful hasEventListenerNS method for lack of a use case, and because there are potential security issues.

(2001) http://lists.w3.org/Archives/Public/w3c-wai-ua/2001OctDec/thread.html#msg89 在考虑EventListenerList时有一些讨论。

(2001) http://lists.w3.org/Archives/Public/w3c-wai-ua/2001OctDec/thread.html#msg89 has some discussion from way back when the EventListenerList was considered.

(2006) http ://lists.w3.org/Archives/Public/www-archive/2006Mar/0032.html 向作者提出了一个问题,该作者似乎对DOM3 EventListenerList对这种用例的使用情况负责一个特征档案没有列出答复。

(2006) http://lists.w3.org/Archives/Public/www-archive/2006Mar/0032.html asks a question to the author of quirksmode who seems to be responsible for the DOM3 EventListenerList myth about the use cases of such a feature; the archives do not list a reply.

(2008)另一个讨论: http://lists.w3.org/Archives/Public/public-webapi/2008Apr/thread.html#msg66

(2008) another discussion: http://lists.w3.org/Archives/Public/public-webapi/2008Apr/thread.html#msg66

这篇关于有任何浏览器实现了DOM3 EventListenerList?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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