electron/spec/fixtures/module/access-blink-apis.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
371 B
JavaScript
Raw Normal View History

window.delayed = true;
global.getGlobalNames = () => {
return Object.getOwnPropertyNames(global)
.filter(key => typeof global[key] === 'function')
.filter(key => key !== 'WebView')
.sort();
};
const atPreload = global.getGlobalNames();
window.addEventListener('load', () => {
window.test = {
atPreload,
atLoad: global.getGlobalNames()
};
});