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

Issue 2060353004: Blacklist once.unicornmedia.com from Spitzer playback on Android. (Closed)

Created:
4 years, 6 months ago by DaleCurtis
Modified:
4 years, 6 months ago
Reviewers:
ncarter (slow)
CC:
chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, jam, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, nasko+codewatch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Blacklist once.unicornmedia.com from Spitzer playback on Android. This domain uses HLS but does not have any identifiers within the pre-redirect url to indicate that it is HLS. The easiest solution is to blacklist this domain until we support HLS in WMPI; per UMA the pre-redirect approach is accurate 99.89%, so it seems prudent to avoid cruftier workarounds like http://crrev.com/2046253002. The only other alternative would be building a WebMediaPlayer shim that can dynamically switch between WMPI and WMPA, such an effort would have a lot of rough edges since it would need to save and propogate all state which occurs between when load() starts and the actual WebMediaPlayer is selected. BUG=618109, 619729 TEST=manual, http://espn.go.com/ plays on mobile.

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -0 lines) Patch
M content/renderer/render_frame_impl.cc View 1 chunk +6 lines, -0 lines 2 comments Download

Messages

Total messages: 5 (2 generated)
DaleCurtis
This is not ideal, but the alternatives are cruftier. WDYT?
4 years, 6 months ago (2016-06-13 22:36:54 UTC) #2
ncarter (slow)
https://codereview.chromium.org/2060353004/diff/1/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://codereview.chromium.org/2060353004/diff/1/content/renderer/render_frame_impl.cc#newcode836 content/renderer/render_frame_impl.cc:836: if (url.DomainIs("once.unicornmedia.com")) My gut reaction is that this is ...
4 years, 6 months ago (2016-06-13 23:19:04 UTC) #4
DaleCurtis
4 years, 6 months ago (2016-06-13 23:25:47 UTC) #5
I agree it's terrible, I'll get philipj@'s opinion on the blink version.

https://codereview.chromium.org/2060353004/diff/1/content/renderer/render_fra...
File content/renderer/render_frame_impl.cc (right):

https://codereview.chromium.org/2060353004/diff/1/content/renderer/render_fra...
content/renderer/render_frame_impl.cc:836: if
(url.DomainIs("once.unicornmedia.com"))
On 2016/06/13 at 23:19:04, ncarter (at blinkon til 20JUN) wrote:
> My gut reaction is that this is too hacky to approve. A web browser shouldn't
have any hardcoded references to particular sites like this.

Does your opinion change if you think of this more as an experimental opt-out
for the new path?

Powered by Google App Engine
This is Rietveld 408576698