projects
/
platform
/
framework
/
web
/
crosswalk-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
345eeef
)
Show error log when a url is blocked by WARP
24/255824/2
tizen_5.0
author
Gajendra N
<gajendra.n@samsung.com>
Wed, 24 Mar 2021 05:34:56 +0000
(11:04 +0530)
committer
Gajendra N
<gajendra.n@samsung.com>
Wed, 24 Mar 2021 06:13:48 +0000
(11:43 +0530)
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 <gajendra.n@samsung.com>
runtime/renderer/injected_bundle.cc
patch
|
blob
|
history
diff --git
a/runtime/renderer/injected_bundle.cc
b/runtime/renderer/injected_bundle.cc
index f0243e2dcd0ad38ee1d19dc5a261685e84a85143..38fbc9793e5b165553494e94d90f0f7ad6283f00 100755
(executable)
--- 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