- From: Rick Byers <notifications@github.com>
- Date: Wed, 24 May 2017 21:10:49 -0700
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 25 May 2017 04:11:23 UTC
I like it! In your `"imageOrientation","none"` example that's explicitly testing both that the dictionary member exists, and that the value is a valid member of the enum? Does `supports` also handle just checking enum members without any dictionary at all? Would passing a dictionary possibly work better than strings? Eg. ```javascript createImageBitmap.supports({imageOrientation: "none"}) ``` Then in some cases you may just use the same dictionary (or a subset of it) that you'd end up passing to the actual call. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/heycam/webidl/issues/107#issuecomment-303917449
Received on Thursday, 25 May 2017 04:11:23 UTC