Closed Bug 72836 Opened 24 years ago Closed 24 years ago

MfcEmbed should not use nsIDocShell to do ViewSource

Categories

(Core Graveyard :: Embedding: APIs, defect)

x86
Windows NT
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
mozilla0.9

People

(Reporter: chak, Assigned: chak)

References

Details

Attachments

(2 files)

MfcEmbed currently gets the nsIDocShell and then uses its SetViewMode() method to handle the "View Source" command. Since the idea is to not expose nsIDocShell to embeddors we need an alternative scheme to do the same. I think the easiest way to do this is via the nsIWebBrowserSetup - similar to what we're doing now with the ALLOW_PLUGINS attribute.
We're not going to take the approach of setting the docshell into view-source mode etc. to fix this bug. So the patches above are invalid. Putting a dependency on 66334 which is to write a view-source protocol handler. Once that is in place mfcembed can use the view-source protocol handler.
Depends on: 66334
updating target milestone
Target Milestone: --- → mozilla0.9
This was fixed as part of Bug#66334. Marking FIXED
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Correction: Changing QA contact for the Embed API bugs to David Epstein.
QA Contact: mdunn → depstein
fixed. Doesn't use nsIDocShell for ViewSource. It uses a method called OnViewSource() which gets the URI off the channel and uses some string methods to get the page source.
Status: RESOLVED → VERIFIED
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: