[whatwg/dom] Undefined variable in the "add an event listener" algorithm (Issue #1203)

https://dom.spec.whatwg.org/commit-snapshots/86022424b865fa50ade8a90825b47a0012a16ae0/#add-an-event-listener

> If _listener_’s passive is null, then set it to the default passive value given _type_ and _eventTarget_.

This is a very minor issue, but it also looks very easy to fix. Step 4 of the algorithm to add an event listener refers to a variable called _type_, but that variable doesn't exist. Unless I've missed something, this is supposed to say "_listener_'s type".

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/1203
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/dom/issues/1203@github.com>

Received on Saturday, 27 May 2023 18:23:26 UTC