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)
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.
Assignee | ||
Comment 1•24 years ago
|
||
Assignee | ||
Comment 2•24 years ago
|
||
Assignee | ||
Comment 3•24 years ago
|
||
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
Assignee | ||
Comment 5•24 years ago
|
||
This was fixed as part of Bug#66334.
Marking FIXED
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Comment 6•24 years ago
|
||
Correction: Changing QA contact for the Embed API bugs to David Epstein.
QA Contact: mdunn → depstein
Comment 7•24 years ago
|
||
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
Updated•6 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•