We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://github.com/electron/electron/blob/v7.0.0/docs/api/web-contents.md#event-login triggered
login event not triggered
run following code
const {app, BrowserWindow} = require('electron') app.once('ready', async () => { win = new BrowserWindow() app.on('login', console.log) win.webContents.on('login', console.log) win.webContents.once('did-finish-load', async () => { const html = await win.webContents.executeJavaScript('document.documentElement.innerHTML') console.log(html) app.quit() }) await win.webContents.loadURL('https://httpbin.org/basic-auth/user/passwd') })
The text was updated successfully, but these errors were encountered:
Yeah, unfortunately the 'login' event was a casualty of us refactoring on top of Chromium's new 'network service' code. It's currently just ... not attached at all. Whoops. https://github.com/electron/electron/blob/7-0-x/shell/browser/login_handler.cc#L37-L39
Sorry, something went wrong.
Any thoughts on when this will be implemented? This is holding me back from updating to 7.x. Is there anything I can do to help with the fix?
any movement on this getting fixed?
Successfully merging a pull request may close this issue.
Preflight Checklist
Issue Details
Expected Behavior
https://github.com/electron/electron/blob/v7.0.0/docs/api/web-contents.md#event-login triggered
Actual Behavior
login event not triggered
To Reproduce
run following code
The text was updated successfully, but these errors were encountered: