WKWebView target blank blob:

Hi,

In my WKWebView I can't open blob links if there is target blank.

a href="https://..." --> ok

<a href="https://..." target="_blank" --> ok

a href="blob:..." --> ok

a href="blob:..." target="_blank" --> NOK!!!

I've implemented this method :

func webView(_ webView: WKWebView, createWebViewWith configuration: WKWebViewConfiguration, for navigationAction: WKNavigationAction, windowFeatures: WKWindowFeatures) -> WKWebView? {

print("\n=================\nTARGET BLANK\n")

...

}

In case of a href="blob:..." target="_blank" I don't have any print in the console.

Could you help me ? Julien

WKWebView target blank blob:
 
 
Q