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

chrome.app.window.getAll() causes "No current window" error #7310

Closed
Sunvas opened this issue Jan 7, 2020 · 2 comments
Closed

chrome.app.window.getAll() causes "No current window" error #7310

Sunvas opened this issue Jan 7, 2020 · 2 comments

Comments

@Sunvas
Copy link

Sunvas commented Jan 7, 2020

NWJS Version : 0.43.4
Operating System : Windows 10

I've used calculator sample https://github.com/GoogleChrome/chrome-app-samples/tree/master/samples/calculator, but issue exists for all chrome apps.

If you open DevTools and type chrome.app.window.getAll() you will get en error

(unknown) Uncaught Error: No current window
    at extensions::nw.currentWindowInternal:4:24
    at new NWWindow (extensions::nw.Window:76:44)
    at extensions::nw.Window:653:23
    at extensions::app.window:227:31
    at Array.map (<anonymous>)
    at extensions::app.window:225:19
    at <anonymous>:1:19

https://yadi.sk/i/t1Q-L5kJINkH-A

@rogerwang
Copy link
Member

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

@rogerwang
Copy link
Member

The nightly build for this issue is available at https://dl.nwjs.io/live-build/nw43/20200108-082915/e10a3835d

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