On Wed, Sep 9, 2009 at 9:43 PM, Robert O'Callahan <[email protected]>wrote:

> On Thu, Sep 10, 2009 at 4:37 PM, Darin Fisher <[email protected]> wrote:
>
>>  Imagine if you script a plugin inside the transaction, and before
>> returning, the plugin scripts another window,
>>
>
> I'm curious, how common is that anyway? Can we just tell plugins not to do
> that, and abort any plugin that tries?
>
>
I don't know.  Are you saying that a plugin should not be able to invoke a
function that may trigger showModalDialog?  The code that calls
showModalDialog may be far removed / unrelated to the plugin script.  It may
just be an unfortunate side effect of invoking a method on a DOM window.

-Darin

Reply via email to