On Thu, Sep 10, 2009 at 5:40 PM, Mike Morearty <m...@morearty.com> wrote:

> Then let's say the Flash app hits the line where the breakpoint is.
> The Flash player notifies Flash Builder of the breakpoint, and then
> blocks, waiting on a socket until Flash Builder tells it what to do
> next (e.g. resume, single-step, etc.).
>
> The problem is that 30 seconds later, Chrome detects this as a hang
> (which it is, but it's a deliberate one), and puts up the usual
> message:
>
>    The following plug-in is unresponsive: Shockwave Flash
>    Would you like to stop it?
>
> Even if I say No, the message keeps reappearing every 30 seconds or
> so.
>
> I'd like to disable the message during debugging.  It's easy to launch
> chrome with --disable-hang-monitor, and that does work, but only if
> Chrome wasn't already running before I began my debugging session.  If
> Chrome *was* already running, then that flag has no effect.  (I
> suspect probably the new instance of chrome.exe just passed control
> over to the existing instance, or something like that, and did not
> tell Chrome to use this flag.)
>
> I realize this is somewhat tricky to do.  Ideally, that flag would
> apply to just the one tab or window that I tried to open, but not to
> all the other already-existing windows.  I have not yet looked at the
> Chrome/Chromium source code, but I wouldn't be surprised if this is
> currently implemented as a global setting.
>
> Is this feasible?  Is there some other way to do what I want?  Should
> I log an enhancement request?
>

I have the same problem in the GWT Development Mode plugin.  You could set a
breakpoint in your Java code in Eclipse, and as far as the browser sees the
NPAPI plugin is just hanging until the server lets it continue.
It seems like this might be a feature that a number of plugins would like to
control, yet you want to make sure it isn't abused by malicious plugins.
 What about an API call to disable/re-enable it, and control access to that
API with permissions in the manifest?

-- 
John A. Tamplin
Software Engineer (GWT), Google

--~--~---------~--~----~------------~-------~--~----~
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
    http://groups.google.com/group/chromium-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to