Closed Bug 208834 Opened 21 years ago Closed 21 years ago

[ActiveX] control complains in in embedding dist that data: url is not supported

Categories

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

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: adamlock, Assigned: adamlock)

Details

Attachments

(1 file)

The Mozilla control uses a data: url to display a simple page in design mode in
the likes of VB. In the embedding dist, the data: protocol is not supported so
an error message is reported when the page is loaded.

The control should check first to see if the data protocol is supported before
loading it.
Attached patch PatchSplinter Review
Patch checks there is a "data" protocol handler available before loading the
design mode URL
Comment on attachment 125349 [details] [diff] [review]
Patch

Can I have an r/sr on this patch to the ActiveX control?

It tests whether the data: protocol is supported before loading a url of that
type. This is necessary because the data: protocol does not exist in GRE or
embedding dists.

This url is used to show a simple page when the control is set to design mode
(e.g. in the VB form designer)
Attachment #125349 - Flags: superreview?(blizzard)
Attachment #125349 - Flags: review?(darin)
Comment on attachment 125349 [details] [diff] [review]
Patch

r=darin

ah, the joys of the unknown protocol handler :-/
Attachment #125349 - Flags: review?(darin) → review+
Comment on attachment 125349 [details] [diff] [review]
Patch

sr=blizzard

(Boy does this give me the willies.)
Attachment #125349 - Flags: superreview?(blizzard) → superreview+
Fix is checked in
Status: NEW → RESOLVED
Closed: 21 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

Creator:
Created:
Updated:
Size: