Skip to content
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

webview.showDevtools(show, container) does not work on v0.35.2 #6903

Closed
hhhoney opened this issue Dec 18, 2018 · 2 comments
Closed

webview.showDevtools(show, container) does not work on v0.35.2 #6903

hhhoney opened this issue Dec 18, 2018 · 2 comments

Comments

@hhhoney
Copy link

hhhoney commented Dec 18, 2018

on v0.35.2 (SDK, macOS Mojave, node 11.4.0), webview.showDevtools(show) works, but webview.showDevtools(show, container) throws an error:

Uncaught TypeError: container.getGuestId is not a function
    at ChromeWebViewImpl.WebViewImpl.showDevTools (extensions::webView:229)
    at HTMLElement.showDevTools (extensions::guestViewContainerElement:141)

Reproduce Demo:
webview.zip

Debug screenshot [extensions::webview]:
getguestid

@hhhoney hhhoney changed the title 【bu g webview.showDevtools(show, container) does not work on v0.35.2 Dec 18, 2018
@rogerwang
Copy link
Member

This is fixed in git and will be available in the next nightly build.

@rogerwang
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants