diff --git a/DuckDuckGo/Tab/TabExtensions/SpecialErrorPageTabExtension.swift b/DuckDuckGo/Tab/TabExtensions/SpecialErrorPageTabExtension.swift index 6e0007ac3b..013f4f6d90 100644 --- a/DuckDuckGo/Tab/TabExtensions/SpecialErrorPageTabExtension.swift +++ b/DuckDuckGo/Tab/TabExtensions/SpecialErrorPageTabExtension.swift @@ -182,7 +182,7 @@ extension SpecialErrorPageTabExtension: NavigationResponder { shouldBypassSSLError = false return .credential(credential) } - + @MainActor func generateErrorPageURL(_ url: URL) -> URL? { guard let urlString = url.absoluteString.data(using: .utf8) else { @@ -208,7 +208,7 @@ extension SpecialErrorPageTabExtension: SpecialErrorPageUserScriptDelegate { func visitSite() { if errorPageType == .phishing { if let url = webView?.url { - //PixelKit.fire(PhishingDetectionPixels.visitSite) + // PixelKit.fire(PhishingDetectionPixels.visitSite) phishingURLExemptions.insert(url) self.phishingStateManager.didBypassError = true self.phishingStateManager.isShowingPhishingError = false diff --git a/DuckDuckGo/YoutubePlayer/DuckURLSchemeHandler.swift b/DuckDuckGo/YoutubePlayer/DuckURLSchemeHandler.swift index b9c15df7c2..e169c255e5 100644 --- a/DuckDuckGo/YoutubePlayer/DuckURLSchemeHandler.swift +++ b/DuckDuckGo/YoutubePlayer/DuckURLSchemeHandler.swift @@ -236,7 +236,7 @@ extension URL { var isReleaseNotesScheme: Bool { return isDuckURLScheme && host == "release-notes" } - + var isErrorPage: Bool { isDuckURLScheme && self.host == "error" }