Debian Codegraph @

testing/web-platform/tests/resources/test-only-api.m.js

raw
1 /* Whether the browser is Chromium-based with MojoJS enabled */
2 export const isChromiumBased = 'MojoInterfaceInterceptor' in self;
3
4 /* Whether the browser is WebKit-based with internal test-only API enabled */
5 export const isWebKitBased = !isChromiumBased && 'internals' in self;