diff --git a/dom/interfaces/events/nsIDOMEventTarget.idl b/dom/interfaces/events/nsIDOMEventTarget.idl index 817824cb7c6..38d564aaa15 100644 --- a/dom/interfaces/events/nsIDOMEventTarget.idl +++ b/dom/interfaces/events/nsIDOMEventTarget.idl @@ -77,7 +77,7 @@ interface nsIDOMEventTarget : nsISupports * through the tree will not trigger an * EventListener designated to use capture. */ - void addEventListener(in DOMString type, + [noscript] void addEventListener(in DOMString type, in nsIDOMEventListener listener, in boolean useCapture); diff --git a/js/src/xpconnect/src/dom_quickstubs.qsconf b/js/src/xpconnect/src/dom_quickstubs.qsconf index 374379996f4..c8667ebce4a 100644 --- a/js/src/xpconnect/src/dom_quickstubs.qsconf +++ b/js/src/xpconnect/src/dom_quickstubs.qsconf @@ -243,10 +243,7 @@ members = [ # dom/interfaces/events 'nsIDOMEventTarget.dispatchEvent', 'nsIDOMEventTarget.removeEventListener', - # Conflicts with nsIDOMNSEventTarget.addEventListener; - # the conflict is specially resolved in nsDOMClassInfo.cpp. - # (See bug 453331.) - #'nsIDOMEventTarget.addEventListener', + 'nsIDOMNSEventTarget.addEventListener', 'nsIDOMDocumentEvent.createEvent', 'nsIDOMEvent.*',