Bug 852315 - Add scary warning comment. r=bsmedberg

This commit is contained in:
John Schoenick 2013-03-18 17:34:43 -07:00
parent 711f3d8966
commit ed25570e69

View File

@ -904,6 +904,8 @@ nsObjectLoadingContent::InstantiatePluginInstance(bool aIsLoading)
void
nsObjectLoadingContent::NotifyOwnerDocumentActivityChanged()
{
// XXX(johns): We cannot touch plugins or run arbitrary script from this call,
// as nsDocument is in a non-reentrant state.
// If we have a plugin we want to queue an event to stop it unless we are
// moved into an active document before returning to the event loop.