Refactor <webview> tag tests (#12886)

This commit is contained in:
Alexey Kuzmin 2018-05-15 01:00:49 +03:00 committed by Charles Kerr
parent cc2cd95ec5
commit fc34076c2b
7 changed files with 632 additions and 635 deletions

View file

@ -1,6 +1,12 @@
setImmediate(function () {
try {
console.log([typeof process, typeof setImmediate, typeof global, typeof Buffer].join(' '))
const types = {
process: typeof process,
setImmediate: typeof setImmediate,
global: typeof global,
Buffer: typeof Buffer
}
console.log(JSON.stringify(types))
} catch (e) {
console.log(e.message)
}