chore: add smoke test for devtools-open-url (#38302)

This commit is contained in:
David Sanders 2023-05-16 13:42:24 -07:00 committed by GitHub
parent fa81f77f40
commit c7ca29e80f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1226,6 +1226,10 @@ win4.webContents.on('paint', (event, dirty, _image) => {
console.log(dirty, _image.getBitmap());
});
win4.webContents.on('devtools-open-url', (event, url) => {
console.log(url);
});
win4.loadURL('http://github.com');
// TouchBar