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

Issue 2181953003: Improved security of Quick View by rendering videos and audios inside webview. (Closed)

Created:
4 years, 4 months ago by oka
Modified:
4 years, 4 months ago
Reviewers:
fukino
CC:
chromium-reviews, posciak+watch_chromium.org, rginda+watch_chromium.org, mtomasz+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Improved security of Quick View by rendering videos and audios inside webview. Added files-safe-media tag which generalizes and replaces files-safe-img, and used them in Quick View. This addresses security concern raised on https://bugs.chromium.org/p/chromium/issues/detail?id=614228#c21. BUG=614228, 627698 TEST=manually third_party/closure_compiler/run_compiler Committed: https://crrev.com/efc63a360e385ffc9f7c72d47e0aef618b594e6c Cr-Commit-Position: refs/heads/master@{#411004}

Patch Set 1 #

Patch Set 2 : set up stream to https://codereview.chromium.org/2140113003/ #

Patch Set 3 : nit #

Patch Set 4 : rebase. #

Patch Set 5 : nit #

Patch Set 6 : nit #

Patch Set 7 : nit #

Total comments: 4

Patch Set 8 : rebase. #

Patch Set 9 : Address comments. #

Patch Set 10 : Add files-safe-media element which unifies files-safe-{img,video,audio}. #

Patch Set 11 : nit #

Patch Set 12 : nit #

Total comments: 6

Patch Set 13 : Address comments. #

Patch Set 14 : Rebase. #

Patch Set 15 : Fix test failure. #

Patch Set 16 : Nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+128 lines, -56 lines) Patch
M ui/file_manager/file_manager/foreground/elements/files_quick_view.css View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +0 lines, -10 lines 0 comments Download
M ui/file_manager/file_manager/foreground/elements/files_quick_view.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +12 lines, -14 lines 0 comments Download
M ui/file_manager/file_manager/foreground/elements/files_quick_view.js View 1 2 3 4 5 6 7 8 3 chunks +23 lines, -1 line 0 comments Download
A + ui/file_manager/file_manager/foreground/elements/files_safe_audio_webview_content.css View 1 2 3 4 8 9 10 11 2 chunks +5 lines, -1 line 0 comments Download
A + ui/file_manager/file_manager/foreground/elements/files_safe_audio_webview_content.html View 1 2 3 4 8 9 10 11 1 chunk +3 lines, -3 lines 0 comments Download
A + ui/file_manager/file_manager/foreground/elements/files_safe_audio_webview_content.js View 1 2 3 4 5 8 9 10 0 chunks +-1 lines, --1 lines 0 comments Download
A + ui/file_manager/file_manager/foreground/elements/files_safe_media.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +6 lines, -3 lines 0 comments Download
A + ui/file_manager/file_manager/foreground/elements/files_safe_media.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 4 chunks +30 lines, -9 lines 0 comments Download
A + ui/file_manager/file_manager/foreground/elements/files_safe_video_webview_content.css View 1 2 3 2 chunks +6 lines, -0 lines 0 comments Download
A + ui/file_manager/file_manager/foreground/elements/files_safe_video_webview_content.html View 1 2 3 4 8 9 10 11 1 chunk +3 lines, -3 lines 0 comments Download
A + ui/file_manager/file_manager/foreground/elements/files_safe_video_webview_content.js View 1 2 3 4 5 8 9 10 0 chunks +-1 lines, --1 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/quick_view_controller.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +28 lines, -10 lines 0 comments Download
M ui/file_manager/file_manager/manifest.json View 1 2 3 1 chunk +5 lines, -1 line 0 comments Download
M ui/file_manager/file_manager_resources.grd View 1 2 3 4 5 6 7 8 1 chunk +9 lines, -3 lines 0 comments Download

Messages

Total messages: 33 (11 generated)
oka
nit
4 years, 4 months ago (2016-07-26 12:06:11 UTC) #1
oka
nit
4 years, 4 months ago (2016-07-26 12:23:21 UTC) #2
oka
PTAL. This CL set upstream to https://codereview.chromium.org/2181953003/.
4 years, 4 months ago (2016-07-26 12:26:46 UTC) #4
oka
Correction: set upstream to https://codereview.chromium.org/2140113003/.
4 years, 4 months ago (2016-07-26 12:28:40 UTC) #5
fukino
Is it possible to combine the files for image, video, and audio? The implementation looks ...
4 years, 4 months ago (2016-07-27 07:36:06 UTC) #6
oka
rebase.
4 years, 4 months ago (2016-07-27 08:44:41 UTC) #7
oka
Address comments.
4 years, 4 months ago (2016-07-27 09:32:48 UTC) #8
oka
Add files-safe-media element which unifies files-safe-{img,video,audio}.
4 years, 4 months ago (2016-07-27 10:30:15 UTC) #9
oka
nit
4 years, 4 months ago (2016-07-27 10:41:47 UTC) #10
oka
nit
4 years, 4 months ago (2016-07-27 10:45:54 UTC) #12
oka
PTAL. https://codereview.chromium.org/2181953003/diff/120001/ui/file_manager/file_manager/foreground/js/quick_view_controller.js File ui/file_manager/file_manager/foreground/js/quick_view_controller.js (right): https://codereview.chromium.org/2181953003/diff/120001/ui/file_manager/file_manager/foreground/js/quick_view_controller.js#newcode234 ui/file_manager/file_manager/foreground/js/quick_view_controller.js:234: reject(); On 2016/07/27 07:36:06, fukino wrote: > It ...
4 years, 4 months ago (2016-07-27 10:46:18 UTC) #13
fukino
lgtm with nits. https://codereview.chromium.org/2181953003/diff/220001/ui/file_manager/file_manager/foreground/js/quick_view_controller.js File ui/file_manager/file_manager/foreground/js/quick_view_controller.js (right): https://codereview.chromium.org/2181953003/diff/220001/ui/file_manager/file_manager/foreground/js/quick_view_controller.js#newcode248 ui/file_manager/file_manager/foreground/js/quick_view_controller.js:248: params.contentUrl = URL.createObjectURL(file); nit: Should be ...
4 years, 4 months ago (2016-07-28 12:31:38 UTC) #14
oka
Address comments.
4 years, 4 months ago (2016-08-02 00:19:20 UTC) #15
oka
https://codereview.chromium.org/2181953003/diff/220001/ui/file_manager/file_manager/foreground/js/quick_view_controller.js File ui/file_manager/file_manager/foreground/js/quick_view_controller.js (right): https://codereview.chromium.org/2181953003/diff/220001/ui/file_manager/file_manager/foreground/js/quick_view_controller.js#newcode248 ui/file_manager/file_manager/foreground/js/quick_view_controller.js:248: params.contentUrl = URL.createObjectURL(file); On 2016/07/28 12:31:38, fukino wrote: > ...
4 years, 4 months ago (2016-08-02 00:24:00 UTC) #16
oka
Rebase.
4 years, 4 months ago (2016-08-04 07:15:08 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2181953003/260001
4 years, 4 months ago (2016-08-04 07:32:02 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/255189)
4 years, 4 months ago (2016-08-04 08:26:59 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2181953003/260001
4 years, 4 months ago (2016-08-04 09:34:17 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/255254)
4 years, 4 months ago (2016-08-04 10:31:22 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2181953003/300001
4 years, 4 months ago (2016-08-10 07:32:24 UTC) #29
commit-bot: I haz the power
Committed patchset #16 (id:300001)
4 years, 4 months ago (2016-08-10 08:27:33 UTC) #31
commit-bot: I haz the power
4 years, 4 months ago (2016-08-10 08:28:56 UTC) #33
Message was sent while issue was closed.
Patchset 16 (id:??) landed as
https://crrev.com/efc63a360e385ffc9f7c72d47e0aef618b594e6c
Cr-Commit-Position: refs/heads/master@{#411004}

Powered by Google App Engine
This is Rietveld 408576698