superreview granted: [Bug 284364] Plugins don't work in window where midas has been enabled. : [Attachment 175986] Turn on plugins when we're done editing.

Boris Zbarsky <bzbarsky@mit.edu> has granted Johnny Stenback
<jst@mozilla.org>'s request for superreview:
Bug 284364: Plugins don't work in window where midas has been enabled.
https://bugzilla.mozilla.org/show_bug.cgi?id=284364

Attachment 175986: Turn on plugins when we're done editing.
https://bugzilla.mozilla.org/attachment.cgi?id=175986&action=edit

------- Additional Comments from Boris Zbarsky <bzbarsky@mit.edu>
>Index: editor/composer/src/nsEditingSession.cpp
>+  // Disable plugins in this document:
>+  rv = docShell->GetAllowPlugins(&tmp);
>+  NS_ENSURE_SUCCESS(rv, rv);
>+
>+  mPluginsEnabled = tmp;
>+
>+  rv = docShell->SetAllowJavascript(PR_FALSE);
>+  NS_ENSURE_SUCCESS(rv, rv);

s/Javascript/Plugins/ here, no?

r+sr=bzbarsky with that.
0
bugzilla
3/2/2005 1:28:42 AM
netscape.mozilla.reviewers 29156 articles. 0 followers. Follow

0 Replies
715 Views

Similar Articles

[PageSpeed] 17
Get it on Google Play
Get it on Apple App Store

Reply: