Re: [whatwg/dom] Simple EventListenerOptions feature detection (#491)

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