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

Issue 2541843002: Part 5.1: Is policy list subsumed under subsuming policy? (Closed)

Created:
4 years ago by amalika
Modified:
4 years ago
CC:
blink-reviews, chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Part 5.1: Is policy list subsumed under subsuming policy? In this CL we start considering subsumtpion on MediaListDirective level. The logic is straightforward: we required exact match for the specified plugin types. Two steps: - Normalize: find effective list of allowed plugin types - Check for subsumption. BUG=647588 Committed: https://crrev.com/7abaa81c2d0044a70d45fbadf0f00729a5647f5a Cr-Commit-Position: refs/heads/master@{#437066}

Patch Set 1 #

Total comments: 7

Patch Set 2 : More test cases #

Total comments: 1

Patch Set 3 : Adding a comment #

Patch Set 4 : Fixing c++ vector initialization in the test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+200 lines, -1 line) Patch
M third_party/WebKit/Source/core/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/csp/MediaListDirective.h View 2 chunks +12 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/frame/csp/MediaListDirective.cpp View 1 2 2 chunks +35 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/frame/csp/MediaListDirectiveTest.cpp View 1 2 3 1 chunk +152 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (20 generated)
amalika
Based on specifications and examples I found, it seems that: - Subtypes have to always ...
4 years ago (2016-11-30 15:07:11 UTC) #2
Mike West
LGTM % minor extensions to tests. Thanks! https://codereview.chromium.org/2541843002/diff/1/third_party/WebKit/Source/core/frame/csp/MediaListDirective.cpp File third_party/WebKit/Source/core/frame/csp/MediaListDirective.cpp (right): https://codereview.chromium.org/2541843002/diff/1/third_party/WebKit/Source/core/frame/csp/MediaListDirective.cpp#newcode91 third_party/WebKit/Source/core/frame/csp/MediaListDirective.cpp:91: for (uint32_t ...
4 years ago (2016-12-06 13:39:07 UTC) #3
amalika
https://codereview.chromium.org/2541843002/diff/1/third_party/WebKit/Source/core/frame/csp/MediaListDirectiveTest.cpp File third_party/WebKit/Source/core/frame/csp/MediaListDirectiveTest.cpp (right): https://codereview.chromium.org/2541843002/diff/1/third_party/WebKit/Source/core/frame/csp/MediaListDirectiveTest.cpp#newcode36 third_party/WebKit/Source/core/frame/csp/MediaListDirectiveTest.cpp:36: {"application/x-shockwave-flash", "application/pdf", "text/plain"}}, On 2016/12/06 at 13:39:07, Mike West ...
4 years ago (2016-12-06 13:54:19 UTC) #4
Mike West
On 2016/12/06 at 13:54:19, amalika wrote: > https://codereview.chromium.org/2541843002/diff/1/third_party/WebKit/Source/core/frame/csp/MediaListDirectiveTest.cpp > File third_party/WebKit/Source/core/frame/csp/MediaListDirectiveTest.cpp (right): > > https://codereview.chromium.org/2541843002/diff/1/third_party/WebKit/Source/core/frame/csp/MediaListDirectiveTest.cpp#newcode36 ...
4 years ago (2016-12-06 19:01:38 UTC) #5
amalika
Added more test cases https://codereview.chromium.org/2541843002/diff/20001/third_party/WebKit/Source/core/frame/csp/MediaListDirectiveTest.cpp File third_party/WebKit/Source/core/frame/csp/MediaListDirectiveTest.cpp (right): https://codereview.chromium.org/2541843002/diff/20001/third_party/WebKit/Source/core/frame/csp/MediaListDirectiveTest.cpp#newcode83 third_party/WebKit/Source/core/frame/csp/MediaListDirectiveTest.cpp:83: {{"application/*"}, false, false}, Parsing does ...
4 years ago (2016-12-07 10:13:08 UTC) #9
Mike West
On 2016/12/07 at 10:13:08, amalika wrote: > Added more test cases > > https://codereview.chromium.org/2541843002/diff/20001/third_party/WebKit/Source/core/frame/csp/MediaListDirectiveTest.cpp > ...
4 years ago (2016-12-07 14:52:43 UTC) #14
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/2541843002/80001
4 years ago (2016-12-07 19:06:59 UTC) #25
commit-bot: I haz the power
Committed patchset #4 (id:80001)
4 years ago (2016-12-07 21:29:59 UTC) #27
commit-bot: I haz the power
4 years ago (2016-12-07 21:32:22 UTC) #29
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/7abaa81c2d0044a70d45fbadf0f00729a5647f5a
Cr-Commit-Position: refs/heads/master@{#437066}

Powered by Google App Engine
This is Rietveld 408576698