Resolves "New Tab" bug after web content process jettison
This commit is contained in:
@@ -33,6 +33,10 @@ class TabController
|
||||
tabs.first { $0.identifier == identifier }
|
||||
}
|
||||
|
||||
func tab(forWebView webView: WKWebView) -> Tab? {
|
||||
tabs.first { $0.webView == webView }
|
||||
}
|
||||
|
||||
func createNewTab(url: URL?) -> Tab {
|
||||
return self.createNewTab(url: url, webViewConfiguration: nil)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user