Re: [wake-lock] Do not assign a default value to WakeLockRequestOptions.signal (#203)

> However, I'd still like clarity on what happens when `null` is set. Why have nullable at all?

You have a point, I don't think this needs to be nullable at all. Most other occurrences of `AbortSignal` in a dictionary aren't nullable either, module Fetch's `RequestInit.signal`, and only because one can [pass a `Request` to another `Request`'s constructor](https://github.com/whatwg/fetch/pull/523#discussion_r138897886).

I'll send a new PR making `signal` a regular member.

-- 
GitHub Notification of comment by rakuco
Please view or discuss this issue at https://github.com/w3c/wake-lock/pull/203#issuecomment-489558066 using your GitHub account

Received on Monday, 6 May 2019 09:18:09 UTC