Closed Bug 367519 Opened 18 years ago Closed 17 years ago

Add XUL MIME Type support to Mozilla Control

Categories

(Core Graveyard :: Embedding: ActiveX Wrapper, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mfinkle, Assigned: mfinkle)

Details

Attachments

(1 file, 1 obsolete file)

When Internet Explorer is trying to handle a resource of type "application/vnd.mozilla.xul+xml", the Mozilla ActiveX control should be used to display the resource. Similar to the way Adobe Reader is used to view PDF resources.
This patch does 3 things: 1. Adds support for making the activex control a XUL MIME viewer by adding propertybag support, a "src" property needed for IE to pass URL, and required registry entries. 2. Enables "safe for init" and "safe for scripting" so the control is usable without a large amount of manual user tweaking. 3. Changes some old ATL macros to newer versions (only in files I edited anyway)
Mark, are you going to request review for this patch? http://www.mozilla.org/owners.html#embedding
Assignee: adamlock → mark.finkle
This patch is the same as the previous one, with the addition of SVG mime type (image/svg+xml) handling. With this patch and the ActiveX control registered, Internet Explorer will open XUL and SVG resources in fullpage mode (if navigated to directly) or embedded into an HTML page using <object> tag.
Attachment #252229 - Attachment is obsolete: true
Attachment #264582 - Flags: review?
Attachment #264582 - Flags: review? → review?(benjamin)
Comment on attachment 264582 [details] [diff] [review] updated patch to add xul and svg mime type support to activex control I don't think you meant to leave NS_BREAK() in this patch ;-)
Attachment #264582 - Flags: review?(benjamin) → review+
removed NS_BREAK() /cvsroot/mozilla/embedding/browser/activex/src/control/MozillaBrowser.cpp,v <-- MozillaBrowser.cpp new revision: 1.116; previous revision: 1.115 /cvsroot/mozilla/embedding/browser/activex/src/control/MozillaBrowser.h,v <-- MozillaBrowser.h new revision: 1.36; previous revision: 1.35 /cvsroot/mozilla/embedding/browser/activex/src/control/MozillaBrowser.rgs,v <-- MozillaBrowser.rgs new revision: 1.2; previous revision: 1.1
this has been in the tree for a while
Status: NEW → RESOLVED
Closed: 17 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: