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

Issue 14122: Handle HTTP 200 responses received in response to byte range requests issued... (Closed)

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

Description

Handle HTTP 200 responses received in response to byte range requests issued by the plugin. This means that the server does not support byte range requests. Firefox handles this by destroying the current plugin instance and creating a new instance to handle the response. The stream which is created to pass the data off to the plugin is not seekable.Fix is to emulate Firefox behavior. Will work on unit testing the NPN_RequestRead related code in a separate CB. This fixes http://code.google.com/p/chromium/issues/detail?id=5403 Bug=5403 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=7139

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 4

Patch Set 5 : '' #

Total comments: 1

Patch Set 6 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+234 lines, -49 lines) Patch
M chrome/common/plugin_messages.h View 2 3 4 5 4 chunks +6 lines, -1 line 0 comments Download
M chrome/plugin/webplugin_delegate_stub.cc View 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/webplugin_delegate_proxy.cc View 2 3 4 5 6 chunks +13 lines, -1 line 0 comments Download
M webkit/glue/plugins/plugin_instance.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M webkit/glue/plugins/plugin_stream.h View 1 2 3 4 5 1 chunk +4 lines, -1 line 0 comments Download
M webkit/glue/plugins/plugin_stream.cc View 1 2 3 4 5 2 chunks +3 lines, -2 lines 0 comments Download
M webkit/glue/plugins/plugin_stream_url.h View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M webkit/glue/plugins/plugin_stream_url.cc View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download
M webkit/glue/plugins/plugin_string_stream.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M webkit/glue/webframeloaderclient_impl.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M webkit/glue/webplugin.h View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M webkit/glue/webplugin_impl.h View 1 2 3 4 5 5 chunks +27 lines, -2 lines 0 comments Download
M webkit/glue/webplugin_impl.cc View 1 2 3 4 5 7 chunks +164 lines, -37 lines 0 comments Download
M webkit/glue/webplugin_impl_mac.mm View 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
ananta
12 years ago (2008-12-15 18:25:10 UTC) #1
jam
http://codereview.chromium.org/14122/diff/37/230 File webkit/glue/webplugin_impl.cc (right): http://codereview.chromium.org/14122/diff/37/230#newcode1403 Line 1403: char** values = new char*[values_vector.size() + 1]; no ...
12 years ago (2008-12-16 02:38:56 UTC) #2
ananta
On 2008/12/16 02:38:56, John Abd-El-Malek wrote: > http://codereview.chromium.org/14122/diff/37/230 > File webkit/glue/webplugin_impl.cc (right): > > http://codereview.chromium.org/14122/diff/37/230#newcode1403 ...
12 years ago (2008-12-16 17:56:17 UTC) #3
jam
12 years ago (2008-12-17 03:08:03 UTC) #4
lgtm

http://codereview.chromium.org/14122/diff/237/62
File webkit/glue/webplugin_impl.cc (right):

http://codereview.chromium.org/14122/diff/237/62#newcode1401
Line 1401: char** WebPluginImpl::VectorToArray(
perhaps there's no need for this function, it can be done inline just as how
WebPluginDelegateStub does it?

Powered by Google App Engine
This is Rietveld 408576698