Bug 1453345 part 6. Mark nsIDOMEventListener builtinclass. r=smaug
authorBoris Zbarsky <bzbarsky@mit.edu>
Thu, 12 Apr 2018 00:03:45 -0400
changeset 412924 1c2716f85b46caf57f1a096d729508d4b289c15e
parent 412923 eb2cb334ba39ca557c7f6818cf4a86a872c30671
child 412925 a5d3181f3b27516389832323e67b600c91999839
push id33824
push userebalazs@mozilla.com
push dateThu, 12 Apr 2018 09:39:57 +0000
treeherdermozilla-central@246c614e1605 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssmaug
bugs1453345
milestone61.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1453345 part 6. Mark nsIDOMEventListener builtinclass. r=smaug We can't make it non-scriptable, becuse we have _one_ case in which we actually expose a C++ event listener to script: the return value of nsISessionStoreUtils.createDynamicFrameEventFilter. MozReview-Commit-ID: KTv2WsvGN52
dom/interfaces/events/nsIDOMEventListener.idl
--- a/dom/interfaces/events/nsIDOMEventListener.idl
+++ b/dom/interfaces/events/nsIDOMEventListener.idl
@@ -8,17 +8,17 @@
 /**
  * The nsIDOMEventListener interface is a callback interface for
  * listening to events in the Document Object Model.
  *
  * For more information on this interface please see 
  * http://www.w3.org/TR/DOM-Level-2-Events/
  */
 
-[scriptable, function, uuid(df31c120-ded6-11d1-bd85-00805f8ae3f4)]
+[scriptable, builtinclass, uuid(df31c120-ded6-11d1-bd85-00805f8ae3f4)]
 interface nsIDOMEventListener : nsISupports
 {
   /**
    * This method is called whenever an event occurs of the type for which 
    * the EventListener interface was registered.
    *
    * @param   evt The Event contains contextual information about the 
    *              event. It also contains the stopPropagation and