Re: [heycam/webidl] Define WebIDL Global to host targeted APIs targeted for testing #1534 (#896)

I think `[TestOnly, Exposed=Window]` is probably better than a new global (i.e. better than `[Exposed=TestOnly]`). Because you want to have worker-only test-only interfaces, or window-only test-only interfaces.

Otherwise this seems pretty reasonable.

https://wicg.github.io/webusb/test/#availability has some text we might want to copy into an extended attribute definition. And the normative prose would probably be similar to https://heycam.github.io/webidl/#SecureContext. (Note that that is amenable to being refactored and deduplicated; see #883.)

-- 
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/896#issuecomment-645495932

Received on Wednesday, 17 June 2020 16:56:57 UTC