Closed Bug 88956 Opened 23 years ago Closed 22 years ago

Need to disable plugins in Composer (embedding)

Categories

(Core :: DOM: Editor, defect, P3)

defect

Tracking

()

VERIFIED FIXED
mozilla1.3beta

People

(Reporter: sfraser_bugs, Assigned: Brade)

References

Details

(Keywords: topembed+)

We need to disable plugins in pages that you load in composer. Corrently, plugins 
load, and respond to click just like they do in a browser window, which is bad.
cc: shrir.
Aren't plugins disabled at the dochshell level?
1.0
Priority: -- → P3
Target Milestone: --- → mozilla1.0
Bugs targeted at mozilla1.0 without the mozilla1.0 keyword moved to mozilla1.0.1 
(you can query for this string to delete spam or retrieve the list of bugs I've 
moved)
Target Milestone: mozilla1.0 → mozilla1.0.1
Depends on: 125168
I think you really want to use ShouldLoad, and disable the loading of
<object>/<applet>/<embed> elements for that window.  Disabling the load of the
plugin itself seems very much like the wrong thing.

There was a time when <object> and whatnot were all wired up for the content
policy hooks, though that may no longer be the case.  I know that at least
<style> rotted.
Pre-sabbatical bug triage.
Target Milestone: mozilla1.0.1 → mozilla1.2alpha
Not my bag baby.
Assignee: sfraser → kin
OS: Mac System 8.5 → All
*** Bug 159596 has been marked as a duplicate of this bug. ***
Syd: Can someone on the composer team take a look at this one. Kin is
overloaded. Thanks.
Assignee: kin → syd
Keywords: nsbeta1, topembed
Summary: Need to disable plugins in Composer → Need to disable plugins in Composer (embedding)
Target Milestone: mozilla1.2alpha → mozilla1.2final
*** Bug 174378 has been marked as a duplicate of this bug. ***
Plussing as per Topembed triage.
Keywords: topembedtopembed+
-->akkana
Assignee: syd → akkana
Target Milestone: mozilla1.2final → mozilla1.3beta
Thought I had a clever way of doing this through a few lines in editor.css, but
it didn't work out.  If I get some time I'll try again, but meanwhile since this
is topembed+ it had better go to someone who's still on the project.
Assignee: akkana → jfrancis
There's a docshell API that can be used to do this. Look at nsIWebBrowserSetup.
Mail/news calls nsIDocShell::SetAllowPlugins.



You'll disable documents and images with the OBJECT tag, but maybe you could do
something like this w/CSS:

<style>
  applet, embed, object {
    display: none;
  }
</style>

Note that this will not work when bug 90268 is fixed.
-->brade
Assignee: jfrancis → brade
Resolving this as fixed to get some QA cycles (partial if not complete fix was
checked in as part of bug 186054).

I need to know what the remaining issues are so we can enumerate them or file
new bugs if that is preferable.

Sujay--please test this on all platforms and with a variety of plugins (flash,
quicktime, java, etc)
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
vrfy'd fixed with 2003.02.19 --plugin content isn't loaded in composer.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.