-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
nw version 23.5 -load-extension :ERR_BLOCKED_BY_CLIENT #6004
Comments
I can reproduce this issue on Linux with nwjs-sdk-0.23.5. The custom panel doesn't appear in the devtools page of the app window. |
Related issue: #4878 |
Here is another simple example to demonstrate the issue: https://github.com/frankhale/nwjs-react-devtools-webview-example |
This is fixed in git and will be available in the next nightly build. |
Thank you @rogerwang !!! |
OP's sample is working with this build: https://dl.nwjs.io/live-build/07-24-2017/nw23-890b720-3f64365-bdcc2a7-93e37d9/v0.23.7/ |
PS: the "webview" section in package.json should be added into the "manifest.json" file of the extension. |
reopening due to regression. |
Thanks @rogerwang!! I just tested react-devtools in 0.27.4 to see if the regression is in there but it's still working as intended. |
This is fixed in git and will be available in the next nightly build. |
This was a regression since 0.25.0 and just fixed in https://dl.nwjs.io/live-build/01-12-2018/nw27-2b7d2db-2f0eedb-a3ef615-547fb57/v0.27.5/ |
This copes with upstream change in site-per-process. CDT extension should be loaded in webview guest process and site instance in this use case.
The last commits fix regression. It will be available in the next nightly build and will be shipped with 0.34.0. |
package.json
index.html
index.js
core.js
in extension folder create 3 files: devtools.html、manifest.json、custom.html
devtools.html
manifest.json
custom.html
if i use nw version 22.3 to run the project
devtools will add the custom pannel
but when using nw version 23.5
the custom pannel doesn't appear
use
to show the inspect window
i see the following error tips
is there any mistake ?
The text was updated successfully, but these errors were encountered: