chore: add smoke test for devtools-open-url
(#38302)
This commit is contained in:
parent
fa81f77f40
commit
c7ca29e80f
1 changed files with 4 additions and 0 deletions
|
@ -1226,6 +1226,10 @@ win4.webContents.on('paint', (event, dirty, _image) => {
|
||||||
console.log(dirty, _image.getBitmap());
|
console.log(dirty, _image.getBitmap());
|
||||||
});
|
});
|
||||||
|
|
||||||
|
win4.webContents.on('devtools-open-url', (event, url) => {
|
||||||
|
console.log(url);
|
||||||
|
});
|
||||||
|
|
||||||
win4.loadURL('http://github.com');
|
win4.loadURL('http://github.com');
|
||||||
|
|
||||||
// TouchBar
|
// TouchBar
|
||||||
|
|
Loading…
Reference in a new issue