Why window.close() javaScript API Does Not Close The Current Browser's Tab/Window In ADF Pages?
(Doc ID 2897843.1)
Last updated on SEPTEMBER 22, 2022
Applies to:
Oracle JDeveloper - Version 1.0 and laterInformation in this document applies to any platform.
Goal
An ADF page has a page in which JavaScript code using window.close() API is added in order to close the current browser's tab/window.
However, when the JavaScript code is executed the tab is not closed and in some browsers the following message is seen in JavaScript console
Scripts may close only the windows that were opened by them.
Why is this happening and how to implement the requirement?
Solution
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Goal |
Solution |
References |