Re: [sensors] Properly specify the constructor algorithm and internal slots for SensorErrorEvent (#426)

Yeah, good question. Events are an unfortunate and confusing exception to the usual rules; we generally fudge them, even in recent specs, as @rakuco points out. So I think your current draft for `SensorErrorEvent` is reasonable; I would even delete the separate 7.2.1. SensorErrorEvent.error section and do it like other specs.

(Although, separately, it looks like a mistake to have `SensorErrorEvent` different from `ErrorEvent`. For app history, we just reuse `ErrorEvent`.)

-- 
GitHub Notification of comment by domenic
Please view or discuss this issue at https://github.com/w3c/sensors/issues/426#issuecomment-993793153 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 14 December 2021 17:08:36 UTC