New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.
Starred by 15 users

Issue metadata

Status: Fixed
Owner:
Closed: Aug 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Launch-OWP
Launch-Accessibility: ----
Launch-Legal: ----
Launch-M-Approved: ----
Launch-M-Target: ----
Launch-Privacy: ----
Launch-Security: ----
Launch-Status: ----
Launch-Test: ----
Launch-UI: ----
Product-Review: ----



Sign in to add a comment

Support "once" event listener option

Reported by christop...@gmx.com, May 27 2016 Back to list

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.54 Safari/537.36 Vivaldi/1.2.493.2

Steps to reproduce the problem:
Add an event listener with option "once" set to true

What is the expected behavior?
https://dom.spec.whatwg.org/#dom-addeventlisteneroptions-once

What went wrong?
Multiple execution

Did this work before? No 

Chrome version: 51.0.2704.54  Channel: stable
OS Version: 10.0
Flash Version:
 
Components: -Blink Blink>DOM
Labels: -Type-Bug -Pri-2 Pri-3 Type-Feature
Status: Available

Comment 2 by rbyers@chromium.org, Jun 23 2016

Cc: tkent@chromium.org dtapu...@chromium.org
Labels: -OS-Windows -Via-Wizard -Arch-x86_64 OS-All
Hi guys, I could have a look if it is not taken already.
we don't have an implementation yet. But it should be fairly straight forward. Webkit has implemented it and they had a couple of crashes around the lifecyle of the RegisteredEventListener that you'd need to watch out for.
Thanks, will start working on it.
Hi guys,

I've done the first version of the patch, was delayed by my holidays.

Plz check 
https://codereview.chromium.org/2245723002

Comment 7 by rbyers@chromium.org, Aug 22 2016

Cc: a.obzhirov@samsung.com
Labels: -Type-Feature OWP-Standards-OfficialSpec OWP-Type-NewAPI OWP-Design-Yes Type-Launch-OWP
Owner: dtapu...@chromium.org
Status: Started
Assigning to reviewer since owner isn't yet a project member.

Comment 9 by tkent@chromium.org, Aug 30 2016

Labels: M-55
Status: Fixed
Labels: Hotlist-Input-Dev

Sign in to add a comment