Quantcast
Channel: Internet Explorer Web Development forum
Viewing all articles
Browse latest Browse all 3527

window.open() returns null

$
0
0

Greetings,

I have encountered a bug in the Edge browser's Javascript implementation of window.open().  When the 'open' function is called, there should be an object returned that is the newly opened window, but returns null.  

The window opens, but the whole screen, and the window.opener parameter in it is null.

 openNewWin: function (url, onCloseHandler) {
            var wnd = window.open(url, "new", "width=800,height=600,resizable=yes,toolbar=no,location=no,menubar=no,status=no,directories");
        },

    loginSocial: function (pLoginType) {
APP.openNewWin('https://accounts.google.com/o/oauth2/auth?redirect_uri=' + CONFIG.url + '/auth_google.html&response_type=code&client_id=' + CONFIG.googleClientId + '&scope=https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/userinfo.profile');
        },


You can check here:

https://littlebigsnake.com/ 

Do you have any information about this bug, and when or if a fix for it might be available?


Viewing all articles
Browse latest Browse all 3527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>