Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Issue 5020125841326080: Issue 1669 - Report blocked object subrequests as failed, not as empty HTML (Closed)

Created:
Dec. 7, 2014, 11:55 p.m. by Oleksandr
Modified:
Dec. 9, 2014, 10:53 a.m.
Reviewers:
sergei
CC:
Felix Dahlke
Visibility:
Public.

Description

Issue 1669 - Report blocked object subrequests as failed, not as empty HTML

Patch Set 1 #

Patch Set 2 : Moved to WBPassthruSink::BeginningTransaction. Renamed the m_blockedInTransaction. #

Patch Set 3 : Added comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -6 lines) Patch
M src/plugin/PluginWbPassThrough.h View 1 1 chunk +1 line, -1 line 0 comments Download
M src/plugin/PluginWbPassThrough.cpp View 1 2 3 chunks +8 lines, -4 lines 0 comments Download
M src/plugin/SinkPolicy.inl View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 5
Oleksandr
Dec. 7, 2014, 11:56 p.m. (2014-12-07 23:56:36 UTC) #1
sergei
I would say we also need to set `m_blockedInTransaction` to `false` to avoid our calls ...
Dec. 8, 2014, 10:13 a.m. (2014-12-08 10:13:54 UTC) #2
sergei
BTW, may be we will improve it by checking the expected request type, so even ...
Dec. 8, 2014, 10:22 a.m. (2014-12-08 10:22:08 UTC) #3
Oleksandr
On 2014/12/08 10:22:08, sergei wrote: > BTW, may be we will improve it by checking ...
Dec. 9, 2014, 10:17 a.m. (2014-12-09 10:17:44 UTC) #4
sergei
Dec. 9, 2014, 10:25 a.m. (2014-12-09 10:25:06 UTC) #5
LGTM,

I would like to keep your comment
// NOTE: Feeding custom HTML to Flash, instead of original object subrequest
// doesn't have much sense. It also can manifest in unwanted result	
// like video being blocked (See https://issues.adblockplus.org/ticket/1669)	
// So we report blocked object subrequests as failed, not just empty HTML.

before
m_isCustomResponse = m_contentType != CFilter::contentTypeObjectSubrequest;

Powered by Google App Engine
This is Rietveld