50a4a8e9c3
This test should ensure we catch a regression of #13787
17 lines
365 B
JavaScript
17 lines
365 B
JavaScript
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()
|
|
}
|
|
})
|