electron/spec-main/fixtures/crash-cases/webcontentsview-create-leak-exit/index.js
Cheng Zhao 80f89a3472
test: disable some tests under ASan which might receive SIGKILL because of OOM (#28156)
* test: running child app under ASan might receive SIGKILL

* test: renderer process of webview might receive SIGKILL under ASan

* test: increase timeout for asan build
2021-03-16 17:02:47 -04:00

6 lines
158 B
JavaScript

const { WebContentsView, app } = require('electron');
app.whenReady().then(function () {
new WebContentsView({}) // eslint-disable-line
app.quit();
});