Closed Bug 161138 Opened 22 years ago Closed 20 years ago

Default/null plugin downloads embedded content anyway.

Categories

(Core Graveyard :: Plug-ins, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.4beta

People

(Reporter: adam, Assigned: pkwarren)

References

()

Details

(Whiteboard: [PL:BRANCH] [Plug-in mgr])

Attachments

(1 file, 1 obsolete file)

When visiting a page with embedded content without the appropriate
plugin, the default plugin puts up its 'you don't have the right
plugin to view blah/blah data' dialog.  Which is fine.  I hit 'cancel'.
But the embedded content itself keeps coming down the pipe as long
as I have the offending page open somewhere, like in another tab.
Big fat content.  Saturating my little pipe with data I can't see,
and prob'ly evicting some useful stuff from my cache for all I know.

Maybe the default/null plugin just needs to explicitly kill the
incoming stream's connection when I hit 'cancel' (or as soon as it
is invoked, since the odds are probably against a user really
going and bothering to get the plugin, coming back to the page
and having the content all toasty-warm in the cache, since I suspect
that most times the default/null plugin hits someone's eyes is if
they're a recalcitrant embedded-content-ignorer like me).

This is with Mozilla 1.0.  IIRC this happens with CVS-HEAD but
my trunk build hangs on startup at the moment so I can't verify
that right now.
this will be addressed with the plug-in manager work
Assignee: beppe → peterl
OS: Linux → All
Priority: -- → P3
Hardware: PC → All
Whiteboard: [PL2:P3] [Plug-in mgr]
Target Milestone: --- → mozilla1.2beta
FYI I've just verified that this does indeed occur on CVS HEAD.
> When visiting a page with embedded content without the appropriate
> plugin, the default plugin puts up its 'you don't have the right
> plugin to view blah/blah data' dialog.  Which is fine.  I hit 'cancel'.

Actually, I am looking for a way to disable this "Default plugin missing"
message completely. I removed the Flash plugin, I know I do not have it, it
would be GREAT if there was a way to suspend this message.It could be a (new)
config setting in Edit->Preferences. Thanks
Attached patch possible fix? (obsolete) — Splinter Review
That looks pretty good to me (haven't tried it though)!
Comment on attachment 106629 [details] [diff] [review]
possible fix?

that's exactly what we are doing on win32
http://lxr.mozilla.org/seamonkey/source/modules/plugin/samples/default/windows/
npshell.cpp#244
Attachment #106629 - Flags: review?(serge)
Attachment #106629 - Flags: review?(serge) → review+
moving to plug-in branch work
Whiteboard: [PL2:P3] [Plug-in mgr] → [PL:BRANCH] [Plug-in mgr]
Target Milestone: mozilla1.2beta → mozilla1.4beta
Attached patch UNIX patchSplinter Review
This is the same as the previous fix, but uses C comments instead of C++
comments. I left out the change to the Mac default plugin since someone who has
a Mac should test that change.
Assignee: peterl-bugs → pkw
Attachment #106629 - Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #141847 - Flags: superreview?(blizzard)
Attachment #141847 - Flags: review?(peterlubczynski-bugs)
Comment on attachment 141847 [details] [diff] [review]
UNIX patch

sr=blizzard Looks good from where I'm sitting.
Attachment #141847 - Flags: superreview?(blizzard) → superreview+
Attachment #141847 - Flags: review?(peterlubczynski-bugs) → review+
Fixed.

Checking in npshell.c;
/cvsroot/mozilla/modules/plugin/samples/default/unix/npshell.c,v  <--  npshell.c
new revision: 1.17; previous revision: 1.16
done
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: