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

Issue 27694002: Ability to block <audio> and <video> media. (Closed)

Created:
7 years, 2 months ago by pwnall-personal
Modified:
6 years, 6 months ago
CC:
abarth-chromium, adamk+blink_chromium.org, blink-reviews, dglazkov+blink, feature-media-reviews_chromium.org, gavinp+loader_chromium.org, jamesr, Nate Chapin, nessy, vcarbune.chromium
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

This is the Blink-side code for a content privacy preference that blocks HTML5 media elements <audio> and <video>. This is intended to work just like the current setting for blocking images. The LayoutTests in this CL rely on the Content Shell change in the CL referenced below. https://codereview.chromium.org/312103004/ BUG=50132 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=177015

Patch Set 1 : Rename "video" to "media". #

Total comments: 8

Patch Set 2 : Addressed feedback. #

Patch Set 3 : Eliminated the new binary file in LayoutTests/http #

Patch Set 4 : Rebased against master. #

Patch Set 5 : Rebased. #

Patch Set 6 : Better rebase. #

Total comments: 12

Patch Set 7 : Addressed feedback. #

Patch Set 8 : Rebased. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+246 lines, -0 lines) Patch
A LayoutTests/http/tests/permissionclient/video-permissions.html View 1 2 3 4 5 6 1 chunk +47 lines, -0 lines 0 comments Download
A LayoutTests/http/tests/permissionclient/video-permissions-expected.txt View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
A LayoutTests/permissionclient/audio-permissions.html View 1 2 3 4 1 chunk +50 lines, -0 lines 0 comments Download
A LayoutTests/permissionclient/audio-permissions-expected.txt View 1 1 chunk +7 lines, -0 lines 0 comments Download
A LayoutTests/permissionclient/resources/audio.html View 1 2 3 4 5 6 1 chunk +28 lines, -0 lines 0 comments Download
A LayoutTests/permissionclient/resources/video.html View 1 1 chunk +28 lines, -0 lines 0 comments Download
A LayoutTests/permissionclient/video-permissions.html View 1 2 3 4 1 chunk +50 lines, -0 lines 0 comments Download
A LayoutTests/permissionclient/video-permissions-expected.txt View 1 1 chunk +7 lines, -0 lines 0 comments Download
M Source/core/fetch/ResourceFetcher.cpp View 1 2 3 4 5 6 7 1 chunk +5 lines, -0 lines 0 comments Download
M Source/core/html/MediaDocument.cpp View 1 2 3 4 5 6 7 2 chunks +5 lines, -0 lines 0 comments Download
M Source/core/loader/FrameLoaderClient.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M Source/web/FrameLoaderClientImpl.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M Source/web/FrameLoaderClientImpl.cpp View 1 2 3 4 5 6 7 1 chunk +8 lines, -0 lines 0 comments Download
M public/web/WebPermissionClient.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (0 generated)
pwnall-personal
Can you please take a look? This works in a Chromium build, when used together ...
7 years, 2 months ago (2013-10-17 23:57:02 UTC) #1
jochen (gone - plz use gerrit)
can you please first reach consensus on the bug? comment #11 seems to imply that ...
7 years, 2 months ago (2013-10-18 00:45:35 UTC) #2
pwnall-personal
On 2013/10/18 00:45:35, jochen wrote: > can you please first reach consensus on the bug? ...
7 years, 2 months ago (2013-10-18 00:52:40 UTC) #3
jochen (gone - plz use gerrit)
I'm not saying we can't have this, we just should reach consensus first :)
7 years, 2 months ago (2013-10-18 01:08:38 UTC) #4
Bernhard Bauer
On 2013/10/18 00:45:35, jochen wrote: > can you please first reach consensus on the bug? ...
7 years, 2 months ago (2013-10-18 08:38:24 UTC) #5
jochen (gone - plz use gerrit)
On 2013/10/18 08:38:24, Bernhard Bauer wrote: > On 2013/10/18 00:45:35, jochen wrote: > > can ...
7 years, 2 months ago (2013-10-18 22:53:55 UTC) #6
pwnall-personal
On 2013/10/18 22:53:55, jochen wrote: > On 2013/10/18 08:38:24, Bernhard Bauer wrote: > > On ...
7 years, 2 months ago (2013-10-19 00:13:25 UTC) #7
jochen (gone - plz use gerrit)
can you just reference existing media files in the layout tests instead of copying them ...
7 years, 2 months ago (2013-10-22 08:25:30 UTC) #8
pwnall-personal
https://codereview.chromium.org/27694002/diff/20001/LayoutTests/http/tests/permissionclient/audio-permissions.html File LayoutTests/http/tests/permissionclient/audio-permissions.html (right): https://codereview.chromium.org/27694002/diff/20001/LayoutTests/http/tests/permissionclient/audio-permissions.html#newcode1 LayoutTests/http/tests/permissionclient/audio-permissions.html:1: <html> On 2013/10/22 08:25:31, jochen wrote: > <!DOCTYPE html> ...
7 years, 2 months ago (2013-10-22 11:56:17 UTC) #9
pwnall-personal
Thank you very much for taking a look, jochen! On 2013/10/22 08:25:30, jochen wrote: > ...
7 years, 2 months ago (2013-10-22 12:25:59 UTC) #10
jochen (gone - plz use gerrit)
ok basically waiting for a decision what to do before we can continue here
7 years, 2 months ago (2013-10-24 12:46:56 UTC) #11
jochen (gone - plz use gerrit)
On 2013/10/24 12:46:56, jochen wrote: > ok > > basically waiting for a decision what ...
7 years, 2 months ago (2013-10-24 13:55:48 UTC) #12
eseidel
Jochen: Was there a decision? It's been 5 months. :/
6 years, 8 months ago (2014-04-10 05:32:21 UTC) #13
jochen (gone - plz use gerrit)
On 2014/04/10 05:32:21, eseidel wrote: > Jochen: Was there a decision? It's been 5 months. ...
6 years, 8 months ago (2014-04-10 07:30:29 UTC) #14
pwnall-personal
On 2014/04/10 07:30:29, jochen traveling until Jun 23 wrote: > On 2014/04/10 05:32:21, eseidel wrote: ...
6 years, 6 months ago (2014-06-11 03:13:12 UTC) #15
jochen (gone - plz use gerrit)
any reason you take the URL into account for the permission client (for plugins, e.g., ...
6 years, 6 months ago (2014-06-12 14:44:53 UTC) #16
pwnall-personal
Thank you for the feedback! Can you please take another look? The main reason for ...
6 years, 6 months ago (2014-06-13 02:54:48 UTC) #17
pwnall-personal
jochen@: can you please take another look at this CL?
6 years, 6 months ago (2014-06-25 14:02:56 UTC) #18
jochen (gone - plz use gerrit)
lgtm
6 years, 6 months ago (2014-06-26 15:01:33 UTC) #19
pwnall-personal
The CQ bit was checked by costan@gmail.com
6 years, 6 months ago (2014-06-26 15:19:17 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/costan@gmail.com/27694002/614001
6 years, 6 months ago (2014-06-26 15:21:06 UTC) #21
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-26 15:21:15 UTC) #22
commit-bot: I haz the power
Failed to apply patch for Source/core/html/HTMLMediaElement.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 6 months ago (2014-06-26 15:21:16 UTC) #23
pwnall-personal
The CQ bit was checked by costan@gmail.com
6 years, 6 months ago (2014-06-26 15:54:02 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/costan@gmail.com/27694002/634001
6 years, 6 months ago (2014-06-26 15:55:47 UTC) #25
commit-bot: I haz the power
Change committed as 177015
6 years, 6 months ago (2014-06-26 18:42:19 UTC) #26
pwnall-personal
6 years, 6 months ago (2014-06-26 19:21:26 UTC) #27
Message was sent while issue was closed.
On 2014/06/26 15:01:33, jochen wrote:
> lgtm

Thank you for bearing with me through this long journey! :)

Powered by Google App Engine
This is Rietveld 408576698