nwjc protect javascript and crash when devtools open
See original GitHub issueHello,
Compile in nwjc.exe --future index.js index.bin
then index.html:
<script>nw.Window.get().evalNWBin(null, 'index.bin');</script>
run in nw --js-flags='--future' V:\Desktop\app_release .
index.js:
alert("XXX")
-->works well!
it crash and figure out.
index.js:
function test(){}
--> CRASH!
cool its run but if I open in devtool then crash and log says debug.log from nw:
[0701/185819.647:WARNING:chrome_main_delegate.cc(569)] final extension: [0701/185825.361:ERROR:http_transport_win.cc(170)] WinHttpCrackUrl: The URL does not use a recognized protocol. (0x2ee6)
what does mean?
in nwjc sdk from 18.3 works very good in protect snapshot.
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Protect JavaScript Source Code - NW.js Documentation
The JavaScript source code of your application can be protected by compiling to native code and loaded by NW. js. You only have...
Read more >Window - NW.js Documentation - Read the Docs
Emitted when a new window is requested from this window or a child iframe. You can call policy.* methods in the callback to...
Read more >Disable DevTools on nwjs 13 - Stack Overflow
I'm really new into Javascript coding so probably some of my attempts aren't right or close to be right. Is there any way...
Read more >Dev Tools crash when opening big source files - Google Groups
Thanks. Though I find a way to reopen the Dev tool. open another site and Dev tool; disable JavaScript and switch to the...
Read more >What are browser developer tools? - MDN Web Docs - Mozilla
What are browser developer tools? · How to open the devtools in your browser · The Inspector: DOM explorer and CSS editor ·...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This is fixed in git and will be available in the next nightly build.
looks like this crash i have in my project with logs [0818/112232.505:WARNING:chrome_main_delegate.cc(586)] final extension: [0818/112254.137:ERROR:http_transport_win.cc(170)] WinHttpCrackUrl: The URL does not use a recognized protocol. (0x2ee6)
But its not about devtools. Its crash when i clicked some buttons, wich have onclick handlers, one of those have this: nw.Window.get().reloadIgnoringCache(); nwjs - v0.24.0