
In Microsoft Edge, window.close() is not working in child windows after closing a print dialog.
nagireddy jonnala
1
Reputation point
function home_Done(src){
// No need to do anything with src. Just display index.html again
window.open(homeRootPath + "index.html", "", "width=0,height=0,top=0,left=0,menubar=no,status=yes,toolbar=no,resizable=yes");
window.close(); - it shows warning in Edge console that “Scripts may close only the windows that were opened by them”.
}
Microsoft Edge | Microsoft Edge development

2,660 questions
Sign in to answer