Closed Bug 197084 Opened 21 years ago Closed 21 years ago

[AxPlugin] Install activex.js default prefs

Categories

(Core Graveyard :: Embedding: APIs, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: adamlock, Assigned: adamlock)

References

Details

Attachments

(1 file, 2 obsolete files)

COM connect / ActiveX work needs a default set of prefs defining the blacklist /
whitelist mode and hosting flags. These should go into an activex.js file which
is installed into mozilla/defaults/pref

By default it should probably operate in blacklist mode with a resonably
security set of flags, and otherwise be blank anticipating that embedders will
probably wish to write their own version anyway.

Inline documentation would also help embedders customize this file.
Attached patch Work in progress (obsolete) — Splinter Review
This patch adds activex.js and is complete except for the default caps prefs.
Attached patch Patch (obsolete) — Splinter Review
Patch adds the pref file activex.js to the files exported by the plugin. The
pref file puts caps into blacklist mode and contains comments demonstrating how
embedders might change these settings. The expectation is that embedders will
override this file with their own if they are interested in this functionality,
much as they already do with other settings such as user agent etc.
Attachment #117001 - Attachment is obsolete: true
Attached patch Patch 2Splinter Review
Second patch adds more comments.
Attachment #117750 - Attachment is obsolete: true
David & Arun. Are you satisfied with the default behaviour that this patch
implements in activex.js?
Comment on attachment 118040 [details] [diff] [review]
Patch 2

Assuming that the silence means people are happy with this being the default
behaviour at least for now, can I have an r/sr on this please?
Attachment #118040 - Flags: superreview?(alecf)
Attachment #118040 - Flags: review?(dbradley)
Comment on attachment 118040 [details] [diff] [review]
Patch 2

sr=alecf
Attachment #118040 - Flags: superreview?(alecf) → superreview+
Comment on attachment 118040 [details] [diff] [review]
Patch 2

though I tell you what - normally I'm all about the comments, but in prefs
files, we really prefer to keep comments to a minimum because reading of prefs
files is really bloaty, plus these files are stored uncompressed in a given
installation. Can you take out these comments and put them in documentation on
mozilla.org somewhere? 

You can still check in of course before the docs go up on the website..

(let me know if I can help you get them on mozilla.org)
I'll leave the comments in for the time being until our activex story and we
have a page of documentation on mozilla.org we can put a link to instead.
Comment on attachment 118040 [details] [diff] [review]
Patch 2

r=dbradley
Attachment #118040 - Flags: review?(dbradley) → review+
Comment on attachment 118040 [details] [diff] [review]
Patch 2

Requesting 1.4a approval. Specific to activex work, patch adds the default
settings file.
Attachment #118040 - Flags: approval1.4a?
Comment on attachment 118040 [details] [diff] [review]
Patch 2

a=asa (on behalf of drivers) for checkin to 1.4a
Attachment #118040 - Flags: approval1.4a? → approval1.4a+
Fix is checked in
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
QA Contact: carosendahl → ashishbhatt
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: