Update idlharness.js and webidl2.js.
[WebKit-https.git] / LayoutTests / imported / w3c / web-platform-tests / resources / webidl2 / test / syntax / idl / mixin.widl
1 // Extracted from https://heycam.github.io/webidl/#using-mixins-and-partials on 2017-11-02
2
3 interface mixin GlobalCrypto {
4   readonly attribute Crypto crypto;
5 };
6
7 Window includes GlobalCrypto;
8 WorkerGlobalScope includes GlobalCrypto;
9
10 partial interface mixin WindowOrWorkerGlobalScope {
11   readonly attribute Crypto crypto;
12 };