Closed Bug 257877 Opened 20 years ago Closed 20 years ago

replacement content isn't rendered if gkplugin.dll isn't present

Categories

(Core Graveyard :: Plug-ins, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: timeless, Assigned: timeless)

References

()

Details

(Keywords: fixed1.7.5)

Attachments

(2 files)

steps:
1. rename gkplugin.dll (gkplugin.dul)
2. run mozilla
3. load url
4. if you see 'hi' then your build is patched or you failed to rename
gkplugin.so/...

When I do it, I get nothing.
for various reasons I need to be able to not ship gkplugin.dll and still have a
fairly compliant web browser.
the main change is to nsObjectFrame::Reflow, the problem was that the code
returned early...

the change to nsObjectFrame::DidReflow is to avoid asserting in
mInstanceOwner->GetWindow when there's no plugin.

nsObjectFrame::GetPluginInstance/nsObjectFrame::GetInstance is just simplifying
code.
Attachment #157776 - Flags: superreview?(bzbarsky)
Attachment #157776 - Flags: review?(jst)
Comment on attachment 157776 [details] [diff] [review]
handle replacement content w/o gkplugin -uwp

r=jst, assuming this doesn't break loading normal plugins (which it really
looks like it shouldn't, but worth testing).
Attachment #157776 - Flags: review?(jst) → review+
Comment on attachment 157776 [details] [diff] [review]
handle replacement content w/o gkplugin -uwp

sr=bzbarsky
Attachment #157776 - Flags: superreview?(bzbarsky) → superreview+
mozilla/layout/html/base/src/nsObjectFrame.cpp 	1.468 	
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Comment on attachment 157776 [details] [diff] [review]
handle replacement content w/o gkplugin -uwp

the landing is:
http://bonsai.mozilla.org/cvslog.cgi?file=mozilla/layout/html/base/src/nsObject
Frame.cpp&rev=1.468

(there's one change, approved by jst, from the posted patch, to use an nsCOMPtr
and null check the result of GetPluginInstance).

we don't intend to ship gkplugin from our product when we move to 17x and
therefore need this change.
Attachment #157776 - Flags: approval1.7.x?
Comment on attachment 157776 [details] [diff] [review]
handle replacement content w/o gkplugin -uwp

a=mkaply for 1.7
Attachment #157776 - Flags: approval1.7.x? → approval1.7.x+
If this is checked into the 1.7 branch please add the fixed1.7.5 keyword
Keywords: fixed1.7.5
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: