From: Gajendra N Date: Wed, 24 Mar 2021 05:34:56 +0000 (+0530) Subject: Show error log when a url is blocked by WARP X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=aceab6cfa8040cd0683c63bfdd77ac1f0537db91;p=platform%2Fframework%2Fweb%2Fcrosswalk-tizen.git Show error log when a url is blocked by WARP If access origin doesn't allow a resource to load, then print an error log similar to 4.0. Change-Id: I9bd50da7d92b4d557f6f30e8dfe235fd697a5cd1 Signed-off-by: Gajendra N --- diff --git a/runtime/renderer/injected_bundle.cc b/runtime/renderer/injected_bundle.cc index f0243e2dc..38fbc9793 100755 --- a/runtime/renderer/injected_bundle.cc +++ b/runtime/renderer/injected_bundle.cc @@ -150,8 +150,8 @@ extern "C" void DynamicUrlParsing( } // Check Access control if (!res_manager->AllowedResource(*old_url)) { - // deined resource *new_url = "about:blank"; + LOGGER(ERROR) << "request was blocked by WARP"; return; } // convert to localized path