mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
chore: add smoke test for devtools-open-url (#38302)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user