From cb118ebf1bb38ddb612a9ee8a71cd304d9b42da5 Mon Sep 17 00:00:00 2001 From: Jihoon Chung Date: Thu, 17 Oct 2013 13:45:47 +0900 Subject: [PATCH] Clean-up GlobalDAO (WhiteURIList) [Issue#] LINUXWRT-1029 [Problem] GlobalDAO has unnecessary API. [Cause] N/A [Solution] Remove "WhiteURIList" API - "WhiteURIList" stores uri to allow using plugin even uri is external uri.(http, https) - Moreover, tizen plugin doesn't have plan to support tizen web api to external uri. - Current usage case is checking "WhiteURIList" before load plugin object to JS engine. [Verification] Checking plugin object is available in external page [SCMRequest] N/A Change-Id: Ib35ec9a13babb31a50a9a8b8835d8ee8eebaee85 --- src/view/webkit/injected-bundle/injected_bundle_uri_handling.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/view/webkit/injected-bundle/injected_bundle_uri_handling.cpp b/src/view/webkit/injected-bundle/injected_bundle_uri_handling.cpp index 75741eb..6ed9810 100644 --- a/src/view/webkit/injected-bundle/injected_bundle_uri_handling.cpp +++ b/src/view/webkit/injected-bundle/injected_bundle_uri_handling.cpp @@ -39,8 +39,6 @@ // allow-navigation check #include #include -// WhiteList check -#include namespace { char const * const SCHEME_TYPE_FILE = "file"; @@ -134,8 +132,7 @@ bool checkWhitelist(const char *url) return true; } - WidgetAccessList whiteURIList(WrtDB::GlobalDAOReadOnly::GetWhiteURIList()); - return whiteURIList.isRequiredIRI(DPL::FromUTF8String(host)); + return false; } bool checkAllowNavigation(const char *url, const DPL::String& tizenId) -- 2.7.4