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

Issue 7871: This fixes http://code.google.com/p/chromium/issues/detail?id=3585, which is ... (Closed)

Created:
12 years, 2 months ago by ananta
Modified:
9 years, 6 months ago
Reviewers:
jam
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

This fixes http://code.google.com/p/chromium/issues/detail?id=3585, which is an issue with videos on sites like thedailyshow.com not showing up in Chrome. We recently made a change to send out the plugin SRC as the referrer in requests initiated by plugins.We also use the GetURLNotify codepath for requests which are initiated by us when the plugin is instantiated. It looks like the other browsers don't do the same, and only use the SRC as the referer for explicit plugin requests.Based on a reply on the PluginFutures list we emulate this behavior, which is to default to the containing frame URL as the referer for requests not initiated by plugins. R=jam Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=3862

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Patch Set 8 : '' #

Patch Set 9 : '' #

Patch Set 10 : '' #

Patch Set 11 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -49 lines) Patch
M webkit/glue/plugins/plugin_instance.h View 8 9 10 1 chunk +0 lines, -4 lines 0 comments Download
M webkit/glue/plugins/plugin_instance.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -11 lines 0 comments Download
M webkit/glue/plugins/webplugin_delegate_impl.h View 8 9 10 1 chunk +0 lines, -6 lines 0 comments Download
M webkit/glue/plugins/webplugin_delegate_impl.cc View 8 9 10 3 chunks +1 line, -14 lines 0 comments Download
M webkit/glue/webplugin_impl.h View 1 2 3 4 5 6 7 8 9 10 4 chunks +17 lines, -3 lines 0 comments Download
M webkit/glue/webplugin_impl.cc View 1 2 3 4 5 6 7 8 9 10 9 chunks +39 lines, -11 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
ananta
12 years, 2 months ago (2008-10-22 17:33:16 UTC) #1
jam
http://codereview.chromium.org/7871/diff/1/8 File chrome/common/plugin_messages.h (right): http://codereview.chromium.org/7871/diff/1/8#newcode51 Line 51: bool use_plugin_src_as_referer; referer-> referrer (and everywhere else) http://codereview.chromium.org/7871/diff/1/4 ...
12 years, 2 months ago (2008-10-22 20:00:28 UTC) #2
ananta
Hi John Please take another look. Thanks Ananta
12 years, 2 months ago (2008-10-22 22:12:01 UTC) #3
jam
It seems that the only time this new flag is false is from WebPluginDelegateImpl::UpdateGeometry, which ...
12 years, 2 months ago (2008-10-22 22:33:19 UTC) #4
jam
http://codereview.chromium.org/7871/diff/83/244 File webkit/glue/webplugin_impl.cc (right): http://codereview.chromium.org/7871/diff/83/244#newcode1164 Line 1164: bool use_plugin_src_as_referrer = (first_geometry_update_ == false); I don't ...
12 years, 2 months ago (2008-10-22 23:45:44 UTC) #5
jam
12 years, 2 months ago (2008-10-23 00:22:16 UTC) #6
lgtm

http://codereview.chromium.org/7871/diff/256/257
File webkit/glue/webplugin_impl.cc (right):

http://codereview.chromium.org/7871/diff/256/257#newcode1179
Line 1179: 
extra space here

Powered by Google App Engine
This is Rietveld 408576698