New issue
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
Impossible to open DevTools of webview #8096
Comments
We have test case guarding this feature and it works well: https://github.com/nwjs/nw.js/tree/nw78/test/sanity/webview-cdt |
@rogerwang , in your test you have
which means opening only one DevTools window (of webview with ID |
@rogerwang I've added video. https://youtu.be/O0wJpmhK6X8 |
Agreed, works great in 0.66.0 but not in 0.78.1 |
0.79 - the same bug. |
Despite it is impossible to open DevTools for specified webview and entire window, nevertheless this message also appears in console: |
Try this workaround: run nw with |
That works. It worth to mention this param in docs. |
close as fixed in 0.79.1 |
Current/Missing Behavior
It is completely impossible to open DevTools of a webview: neither by context menu neither by JavaScript API.
How to reproduce
package.json
main.html
And there is no way to open both DevTools simultaneously. Quite strange behaviour.
Video
https://youtu.be/O0wJpmhK6X8
Please note that DevTools is called on one webview and displayed for another.
Additional Info
The text was updated successfully, but these errors were encountered: