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

Issue 8364040: Revert 106677 (caused several PPAPI test timeouts, see http://crbug.com/101154) (Closed)

Created:
9 years, 2 months ago by Nico
Modified:
9 years, 2 months ago
Reviewers:
brettw
CC:
chromium-reviews
Visibility:
Public.

Description

Revert 106677 (caused several PPAPI test timeouts, see http://crbug.com/101154) - Remove the proxy callback tracker. This doesn't properly delete callbacks when the corresponding resource goes away. This can lead to leaks or crashes in the plugin when the callback is triggered unexpectedly. BUG=http://crbug.com/86279 Review URL: http://codereview.chromium.org/8226009 TBR=brettw@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=106717

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+191 lines, -432 lines) Patch
M ppapi/ppapi_proxy.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
A + ppapi/proxy/callback_tracker.h View 0 chunks +-1 lines, --1 lines 0 comments Download
A + ppapi/proxy/callback_tracker.cc View 0 chunks +-1 lines, --1 lines 0 comments Download
M ppapi/proxy/dispatcher.h View 3 chunks +7 lines, -0 lines 0 comments Download
M ppapi/proxy/dispatcher.cc View 2 chunks +13 lines, -1 line 0 comments Download
M ppapi/proxy/enter_proxy.h View 1 chunk +0 lines, -76 lines 0 comments Download
M ppapi/proxy/interface_proxy.h View 1 chunk +3 lines, -0 lines 0 comments Download
M ppapi/proxy/interface_proxy.cc View 1 chunk +9 lines, -0 lines 0 comments Download
M ppapi/proxy/plugin_dispatcher.h View 1 chunk +0 lines, -5 lines 0 comments Download
M ppapi/proxy/plugin_dispatcher.cc View 1 chunk +1 line, -9 lines 0 comments Download
M ppapi/proxy/ppapi_messages.h View 9 chunks +21 lines, -27 lines 0 comments Download
M ppapi/proxy/ppb_file_ref_proxy.h View 2 chunks +11 lines, -25 lines 0 comments Download
M ppapi/proxy/ppb_file_ref_proxy.cc View 5 chunks +43 lines, -129 lines 0 comments Download
M ppapi/proxy/ppb_instance_proxy.h View 4 chunks +3 lines, -17 lines 0 comments Download
M ppapi/proxy/ppb_instance_proxy.cc View 7 chunks +11 lines, -45 lines 0 comments Download
M ppapi/proxy/ppb_url_loader_proxy.h View 2 chunks +15 lines, -16 lines 0 comments Download
M ppapi/proxy/ppb_url_loader_proxy.cc View 14 chunks +54 lines, -79 lines 0 comments Download
M ppapi/thunk/ppb_instance_api.h View 1 chunk +0 lines, -5 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Nico
9 years, 2 months ago (2011-10-21 14:24:25 UTC) #1
Nico
It looks like the windows test greened up after FileIO was disabled on all platforms ...
9 years, 2 months ago (2011-10-21 16:16:39 UTC) #2
brettw
On Fri, Oct 21, 2011 at 9:16 AM, <thakis@chromium.org> wrote: > It looks like the ...
9 years, 2 months ago (2011-10-21 16:45:14 UTC) #3
Nico
On Fri, Oct 21, 2011 at 9:45 AM, Brett Wilson <brettw@chromium.org> wrote: > On Fri, ...
9 years, 2 months ago (2011-10-21 16:46:22 UTC) #4
brettw
On Fri, Oct 21, 2011 at 9:46 AM, Nico Weber <thakis@chromium.org> wrote: > On Fri, ...
9 years, 2 months ago (2011-10-21 16:50:15 UTC) #5
Nico
On Fri, Oct 21, 2011 at 9:50 AM, Brett Wilson <brettw@chromium.org> wrote: > On Fri, ...
9 years, 2 months ago (2011-10-21 17:01:47 UTC) #6
brettw
9 years, 2 months ago (2011-10-21 18:07:48 UTC) #7
On Fri, Oct 21, 2011 at 9:55 AM, Nico Weber <thakis@chromium.org> wrote:
> On Fri, Oct 21, 2011 at 9:50 AM, Brett Wilson <brettw@chromium.org> wrote:
>> On Fri, Oct 21, 2011 at 9:46 AM, Nico Weber <thakis@chromium.org> wrote:
>>> On Fri, Oct 21, 2011 at 9:45 AM, Brett Wilson <brettw@chromium.org> wrote:
>>>> On Fri, Oct 21, 2011 at 9:16 AM,  <thakis@chromium.org> wrote:
>>>>> It looks like the windows test greened up after FileIO was disabled on all
>>>>> platforms – so this revert can be reverted once the tree reopens.
>>>>>
>>>>> http://codereview.chromium.org/8364040/
>>>>
>>>> So FileIO was disabled for everything? I'm not sure I follow the timeline
here.
>>>
>>> Yes: http://src.chromium.org/viewvc/chrome?view=rev&revision=106716
>>
>> It looks like I checked in and according to your comment, the test
>> started failing when I checked in. Then my patch was reverted. Now it
>> seems like you're saying it's OK to reland since the test is disabled.
>> Am I missing something?
>
> The test was marked as FAILS_, and with your commit it started timing
> out instead.

Okay, that's the key thing I missed. Thanks.

> I thought that your commit impacted more than this one test.
>
> But yes, instead of checking this CL back in you could also flip the
> test back to FAILS_ and then investigate why your change made it time
> out.

Brett

Powered by Google App Engine
This is Rietveld 408576698