IE Mode javascript window.close() is not working

%3CLINGO-SUB%20id%3D%22lingo-sub-858175%22%20slang%3D%22en-US%22%3EIE%20Mode%20javascript%20window.close()%20is%20not%20working%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-858175%22%20slang%3D%22en-US%22%3E%3CP%3EOn%20intranet%20applications%20window.close()%20is%20not%20working%20when%20in%20IE%20Mode.%20It%20simply%20does%20nothing%2C%20I%20can't%20debug%20browser%20in%20IE%20Mode%20as%20F12%20doesn't%20works%2C%20so%20don't%20know%20actual%20reason.%20Page%20is%20being%20opened%20via%20script%20using%20window.open(%22xxxx%22%2C%22_blank%22)%2C%20and%20inside%20that%20page%20is%20button%20that%20calls%20javascript%20function%20with%20window.close().%20Pressing%20button%20doesn't%20works%20in%20IE%20Mode.%20It%20works%20in%20IE%20and%20even%20in%20Chrome%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-861365%22%20slang%3D%22en-US%22%3ERe%3A%20IE%20Mode%20javascript%20window.close()%20is%20not%20working%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-861365%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F398987%22%20target%3D%22_blank%22%3E%40mindst%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks%20for%20trying%20IE%20mode!%3C%2FP%3E%0A%3CP%3ECan%20you%20please%20let%20us%20know%20the%20Edge%20and%20OS%20versions%20you%20are%20using%3F%20If%20you%20type%20in%20edge%3A%2F%2Fversion%20in%20the%20address%20bar%20and%20send%20us%20the%20details%2C%20that%20will%20help.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-861744%22%20slang%3D%22en-US%22%3ERe%3A%20IE%20Mode%20javascript%20window.close()%20is%20not%20working%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-861744%22%20slang%3D%22en-US%22%3EThat%20was%20on%20Windows%207%2C%20Edge%20dev%2C%20I%20think%20that%20was%2078.0.268.3%20version.%20IE%20mode%20crashes%20on%20last%20dev%20version%20%2C%20so%20can't%20check%20if%20that%20works%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-887960%22%20slang%3D%22en-US%22%3ERe%3A%20IE%20Mode%20javascript%20window.close()%20is%20not%20working%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-887960%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F398987%22%20target%3D%22_blank%22%3E%40mindst%3C%2FA%3E%26nbsp%3BSorry%20for%20the%20delayed%20response.%20The%20fix%20for%20this%20issue%20should%20be%20released%20in%20the%20Win%207%20OS%20update%20this%20month.%20I'll%20update%20this%20thread%20when%20we%20have%20the%20KB%20information.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Contributor

On intranet applications window.close() is not working when in IE Mode. It simply does nothing, I can't debug browser in IE Mode as F12 doesn't works, so don't know actual reason. Page is being opened via script using window.open("xxxx","_blank"), and inside that page is button that calls javascript function with window.close(). Pressing button doesn't works in IE Mode. It works in IE and even in Chrome

3 Replies

@mindst 

Thanks for trying IE mode!

Can you please let us know the Edge and OS versions you are using? If you type in edge://version in the address bar and send us the details, that will help.

That was on Windows 7, Edge dev, I think that was 78.0.268.3 version. IE mode crashes on last dev version , so can't check if that works

@mindst Sorry for the delayed response. The fix for this issue should be released in the Win 7 OS update this month. I'll update this thread when we have the KB information.