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

Issue 2895643002: [subresource_filter] Display dev tools console message for subresource blocking (Closed)

Created:
3 years, 7 months ago by shivanisha
Modified:
3 years, 7 months ago
CC:
blink-reviews, chromium-reviews, darin-cc_chromium.org, jam, jochen+watch_chromium.org, mlamouri+watch-content_chromium.org, Peter Beverloo, subresource-filter-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[subresource_filter] Display dev tools console message for subresource blocking This CL displays a dev tools message when a sub resource is blocked, subsequent CLs will include messages for subframes and main frame navigations. Note that the string being displayed in this CL is not the final string. This CL is to ensure that a place holder and tests are in place for the final string. BUG=724549 Review-Url: https://codereview.chromium.org/2895643002 Cr-Commit-Position: refs/heads/master@{#474670} Committed: https://chromium.googlesource.com/chromium/src/+/f6319b29cab58d45f95c0a8f2388cf5650732870

Patch Set 1 #

Total comments: 10

Patch Set 2 : feedback addressed #

Total comments: 7

Patch Set 3 : Feedback addressed. #

Total comments: 4

Patch Set 4 : Added comment #

Total comments: 2

Patch Set 5 : rbyers@ feedback. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -6 lines) Patch
M content/shell/test_runner/mock_web_document_subresource_filter.cc View 1 chunk +1 line, -1 line 0 comments Download
A third_party/WebKit/LayoutTests/http/tests/subresource_filter/resource-disallowed-expected.txt View 1 chunk +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/loader/SubresourceFilter.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/loader/SubresourceFilter.cpp View 1 2 3 4 3 chunks +35 lines, -4 lines 0 comments Download

Messages

Total messages: 59 (36 generated)
shivanisha
PTAL, Thanks!
3 years, 7 months ago (2017-05-19 16:29:47 UTC) #5
Charlie Harrison
Looks like you need to upload your layout test. Would you also update the description ...
3 years, 7 months ago (2017-05-19 17:56:44 UTC) #6
shivanisha
PTAL, Thanks! Latest patch addresses the feedback. The layout test is the existing one which ...
3 years, 7 months ago (2017-05-22 14:26:27 UTC) #13
Charlie Harrison
LGTM % nits! https://codereview.chromium.org/2895643002/diff/1/third_party/WebKit/Source/core/loader/SubresourceFilter.cpp File third_party/WebKit/Source/core/loader/SubresourceFilter.cpp (right): https://codereview.chromium.org/2895643002/diff/1/third_party/WebKit/Source/core/loader/SubresourceFilter.cpp#newcode21 third_party/WebKit/Source/core/loader/SubresourceFilter.cpp:21: void emitErrorForDisallowedLoads(const String& url, Document& document) ...
3 years, 7 months ago (2017-05-22 14:35:04 UTC) #14
shivanisha
https://codereview.chromium.org/2895643002/diff/1/third_party/WebKit/Source/core/loader/SubresourceFilter.cpp File third_party/WebKit/Source/core/loader/SubresourceFilter.cpp (right): https://codereview.chromium.org/2895643002/diff/1/third_party/WebKit/Source/core/loader/SubresourceFilter.cpp#newcode21 third_party/WebKit/Source/core/loader/SubresourceFilter.cpp:21: void emitErrorForDisallowedLoads(const String& url, Document& document) { On 2017/05/22 ...
3 years, 7 months ago (2017-05-23 18:54:00 UTC) #18
Charlie Harrison
https://codereview.chromium.org/2895643002/diff/40001/third_party/WebKit/Source/core/loader/SubresourceFilter.cpp File third_party/WebKit/Source/core/loader/SubresourceFilter.cpp (left): https://codereview.chromium.org/2895643002/diff/40001/third_party/WebKit/Source/core/loader/SubresourceFilter.cpp#oldcode70 third_party/WebKit/Source/core/loader/SubresourceFilter.cpp:70: // TODO(csharrison): log console errors here based on Shouldn't ...
3 years, 7 months ago (2017-05-23 20:35:51 UTC) #20
shivanisha
https://codereview.chromium.org/2895643002/diff/40001/third_party/WebKit/Source/core/loader/SubresourceFilter.cpp File third_party/WebKit/Source/core/loader/SubresourceFilter.cpp (left): https://codereview.chromium.org/2895643002/diff/40001/third_party/WebKit/Source/core/loader/SubresourceFilter.cpp#oldcode70 third_party/WebKit/Source/core/loader/SubresourceFilter.cpp:70: // TODO(csharrison): log console errors here based on On ...
3 years, 7 months ago (2017-05-23 20:40:01 UTC) #21
Charlie Harrison
still LGTM % one addition https://codereview.chromium.org/2895643002/diff/40001/third_party/WebKit/Source/core/loader/SubresourceFilter.cpp File third_party/WebKit/Source/core/loader/SubresourceFilter.cpp (left): https://codereview.chromium.org/2895643002/diff/40001/third_party/WebKit/Source/core/loader/SubresourceFilter.cpp#oldcode70 third_party/WebKit/Source/core/loader/SubresourceFilter.cpp:70: // TODO(csharrison): log console ...
3 years, 7 months ago (2017-05-23 20:42:04 UTC) #22
shivanisha
Thanks csharrison@.
3 years, 7 months ago (2017-05-24 16:39:19 UTC) #27
shivanisha
https://codereview.chromium.org/2895643002/diff/40001/third_party/WebKit/Source/core/loader/SubresourceFilter.cpp File third_party/WebKit/Source/core/loader/SubresourceFilter.cpp (left): https://codereview.chromium.org/2895643002/diff/40001/third_party/WebKit/Source/core/loader/SubresourceFilter.cpp#oldcode70 third_party/WebKit/Source/core/loader/SubresourceFilter.cpp:70: // TODO(csharrison): log console errors here based on On ...
3 years, 7 months ago (2017-05-24 16:39:54 UTC) #28
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/2895643002/60001
3 years, 7 months ago (2017-05-24 19:30:19 UTC) #33
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/446552)
3 years, 7 months ago (2017-05-24 19:38:21 UTC) #35
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/2895643002/60001
3 years, 7 months ago (2017-05-25 12:53:13 UTC) #37
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/447346)
3 years, 7 months ago (2017-05-25 13:01:06 UTC) #39
shivanisha
On 2017/05/25 at 13:01:06, commit-bot wrote: > Try jobs failed on following builders: > chromium_presubmit ...
3 years, 7 months ago (2017-05-25 13:13:21 UTC) #41
Charlie Harrison
On 2017/05/25 13:13:21, shivanisha wrote: > On 2017/05/25 at 13:01:06, commit-bot wrote: > > Try ...
3 years, 7 months ago (2017-05-25 13:26:58 UTC) #42
shivanisha
On 2017/05/25 at 13:26:58, csharrison wrote: > On 2017/05/25 13:13:21, shivanisha wrote: > > On ...
3 years, 7 months ago (2017-05-25 13:34:57 UTC) #45
Rick Byers
LGTM with possible nit (your call) https://codereview.chromium.org/2895643002/diff/60001/third_party/WebKit/Source/core/loader/SubresourceFilter.cpp File third_party/WebKit/Source/core/loader/SubresourceFilter.cpp (right): https://codereview.chromium.org/2895643002/diff/60001/third_party/WebKit/Source/core/loader/SubresourceFilter.cpp#newcode96 third_party/WebKit/Source/core/loader/SubresourceFilter.cpp:96: kJSMessageSource, kErrorMessageLevel, nit: ...
3 years, 7 months ago (2017-05-25 13:52:10 UTC) #46
shivanisha
https://codereview.chromium.org/2895643002/diff/60001/third_party/WebKit/Source/core/loader/SubresourceFilter.cpp File third_party/WebKit/Source/core/loader/SubresourceFilter.cpp (right): https://codereview.chromium.org/2895643002/diff/60001/third_party/WebKit/Source/core/loader/SubresourceFilter.cpp#newcode96 third_party/WebKit/Source/core/loader/SubresourceFilter.cpp:96: kJSMessageSource, kErrorMessageLevel, On 2017/05/25 at 13:52:10, Rick Byers wrote: ...
3 years, 7 months ago (2017-05-25 14:35:25 UTC) #49
Rick Byers
On 2017/05/25 14:35:25, shivanisha wrote: > https://codereview.chromium.org/2895643002/diff/60001/third_party/WebKit/Source/core/loader/SubresourceFilter.cpp > File third_party/WebKit/Source/core/loader/SubresourceFilter.cpp (right): > > https://codereview.chromium.org/2895643002/diff/60001/third_party/WebKit/Source/core/loader/SubresourceFilter.cpp#newcode96 > ...
3 years, 7 months ago (2017-05-25 14:58:31 UTC) #50
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/2895643002/80001
3 years, 7 months ago (2017-05-25 16:07:04 UTC) #55
shivanisha
Thanks rbyers@
3 years, 7 months ago (2017-05-25 16:07:05 UTC) #56
commit-bot: I haz the power
3 years, 7 months ago (2017-05-25 16:13:12 UTC) #59
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/f6319b29cab58d45f95c0a8f2388...

Powered by Google App Engine
This is Rietveld 408576698