From 4ecd45b1599f238eb6ee017a08efb729eb237b5c Mon Sep 17 00:00:00 2001 From: Alexey Martemyanov Date: Wed, 10 Apr 2024 14:34:54 +0600 Subject: [PATCH] update comment --- DuckDuckGo/Tab/Model/Tab.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DuckDuckGo/Tab/Model/Tab.swift b/DuckDuckGo/Tab/Model/Tab.swift index aa1b43f307..bac1e48b47 100644 --- a/DuckDuckGo/Tab/Model/Tab.swift +++ b/DuckDuckGo/Tab/Model/Tab.swift @@ -1063,8 +1063,8 @@ protocol NewWindowPolicyDecisionMaker { let source = content.source if url.isFileURL { - // WebKit won‘t load local page‘s external resouces even with `allowingReadAccessTo` is passed - // this could be fixed using a custom scheme handler loading local resources + // WebKit won‘t load local page‘s external resouces even with `allowingReadAccessTo` provided + // this could be fixed using a custom scheme handler loading local resources in future. let readAccessScopeURL = url return webView.navigator(distributedNavigationDelegate: navigationDelegate) .loadFileURL(url, allowingReadAccessTo: readAccessScopeURL, withExpectedNavigationType: source.navigationType)