Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(273)

Unified Diff: ui/file_manager/file_manager/manifest.json

Issue 2181953003: Improved security of Quick View by rendering videos and audios inside webview. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nit Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/file_manager/file_manager/manifest.json
diff --git a/ui/file_manager/file_manager/manifest.json b/ui/file_manager/file_manager/manifest.json
index 5f89ee00bc62845ec5b30f8f1ad579ff6dcb303a..470f0ae95e3154bdbf039992671916e145561298 100644
--- a/ui/file_manager/file_manager/manifest.json
+++ b/ui/file_manager/file_manager/manifest.json
@@ -51,7 +51,11 @@
"webview": {
"partitions": [{
"name": "trusted",
- "accessible_resources": ["foreground/elements/files_safe_img_webview_content.*"]
+ "accessible_resources": [
+ "foreground/elements/files_safe_audio_webview_content.*",
+ "foreground/elements/files_safe_img_webview_content.*",
+ "foreground/elements/files_safe_video_webview_content.*"
+ ]
}]
},
"file_browser_handlers": [
« no previous file with comments | « ui/file_manager/file_manager/foreground/js/quick_view_controller.js ('k') | ui/file_manager/file_manager_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698