javaScriptCanOpenWindowsAutomatically feature not avaialble with WKWebpagePreferences

javaScriptCanOpenWindowsAutomatically feature is available with WKPreferences

As WKPreferences.javaScriptEnabled got deprecated, it is recommended to migrate with WKWebpagePreferences .

But as the dependent javaScriptCanOpenWindowsAutomatically is not available in WKWebpagePreferences blocking our functionality.

WKPreferences.javaScriptCanOpenWindowsAutomatically still not deprecated .

As WKPreferences.javaScriptEnabled by default it its true , I can able to skip setting javaScriptEnabled explicitly and proceed further.

Can anybody guide here, what is the impact in future OS if I still uses WKPreferences without javaScriptEnabled?

Or whether I need to have both WKPreferences and WKWebpagePreferences user options set and assigned to WKWebViewConfiguration's preferences and defaultWebpagePreferences respectively

javaScriptCanOpenWindowsAutomatically feature not avaialble with WKWebpagePreferences
 
 
Q