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-Exp-Leadership: ----
Launch-Leadership: ----
Launch-Legal: ----
Launch-M-Approved: ----
Launch-M-Target: ----
Launch-Privacy: ----
Launch-Security: ----
Launch-Test: ----
Launch-UI: ----



Sign in to add a comment
link

Issue 615384: Support "once" event listener option

Reported by christop...@gmx.com, May 27 2016

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:
 

Comment 1 by alancutter@chromium.org, May 30 2016

Components: -Blink Blink>DOM
Labels: -Type-Bug -Pri-2 Pri-3 Type-Feature
Status: Available (was: Unconfirmed)

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

Comment 3 by a.obzhirov@samsung.com, Jul 13 2016

Hi guys, I could have a look if it is not taken already.

Comment 4 by dtapu...@chromium.org, Jul 13 2016

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.

Comment 5 by a.obzhirov@samsung.com, Jul 19 2016

Thanks, will start working on it.

Comment 6 by a.obzhirov@samsung.com, Aug 12 2016

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 (was: Available)
Assigning to reviewer since owner isn't yet a project member.

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

Labels: M-55

Comment 10 by dtapu...@chromium.org, Aug 31 2016

Status: Fixed (was: Started)

Comment 11 by dtapu...@chromium.org, Sep 27 2016

Labels: Hotlist-Input-Dev

Sign in to add a comment