[Bug 28455] Add a method to add a one-time event listener

https://www.w3.org/Bugs/Public/show_bug.cgi?id=28455

Sebastian Zartner <sebastianzartner@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sebastianzartner@gmail.com

--- Comment #1 from Sebastian Zartner <sebastianzartner@gmail.com> ---
> Probably this method could be:
> 
> void listenForNextEvent(DOMString type, EventListener? callback, optional 
> boolean capture = false);

Or the existing method could be extended by a fourth parameter:

void addEventListener(DOMString type, EventListener? callback, optional boolean
capture = false, optional boolean once = false)

Sebastian

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Monday, 20 April 2015 07:26:54 UTC