- From: Malte Ubl <notifications@github.com>
- Date: Sun, 13 Aug 2017 04:36:04 +0000 (UTC)
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Sunday, 13 August 2017 04:36:26 UTC
You really think that this is reasonable?
```JS
let passiveSupported = false;
const options = Object.defineProperty({}, 'passive', {
get: function() {
passiveSupported = true;
},
});
self.addEventListener('test-passive', null, options);
```
I'm not asking for a new way of doing feature detection. Just making `EventTarget.EventListenerOptions` available would solve half the problem.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/491#issuecomment-322021431
Received on Sunday, 13 August 2017 04:36:26 UTC