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

open remote url , loaded event do not fired! #4808

Closed
denvor opened this issue May 4, 2016 · 3 comments
Closed

open remote url , loaded event do not fired! #4808

denvor opened this issue May 4, 2016 · 3 comments

Comments

@denvor
Copy link

denvor commented May 4, 2016

Hi, I am using nwjs 0.14.3 -win32 sdk version , when I using
window.open to open a local fire , the loaded event is OK
but when open an remote url , the loaded event do not fired.
code as below:

        nw.Window.open(
            "test.html",
            {},
            function(win) {

                win.on('loaded',
                    function () {
                        alert("loaded!");
                    }
                )   
            }
        )

if url is localfile as test.html , the event is ok.
if I replace "test.html " as "http://www.google.com" , the event won't fired.

@RohitSharma27
Copy link

Use "https". I guess.

@rogerwang
Copy link
Member

Merge with #4788 ; This is just 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

3 participants