Closed Bug 69452 Opened 24 years ago Closed 24 years ago

API disable certain content types, as well as control certain behaviors, on a per window basis

Categories

(Core Graveyard :: Embedding: APIs, defect)

x86
Windows 98
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED INVALID

People

(Reporter: bugz, Assigned: adamlock)

Details

We need to be able to disable certain content types, as well as control certain 
behaviors, on a per window basis. These settings cannot affect the gecko based 
web browser windows within a client application, which should allow most content 
types. Also, for security and for per window support, we need all of these 
settings and behaviors exposed via API calls, and not via the preferences file. 
Rick Potts suggested most of these settings could be added to the 
nsIWebBrowserSupport interface. 
HTML mail windows, via API calls and without affecting web browser windows, must 
disable 
* Scripting (javascript, VBScript, etc.) 
* Plugins (java, ActiveX, etc.) 
* Video 
* Sound 
* Frames 
* Caching 
* History 
* Images
Blocks: 64833
invlidating.

- video/audio are synonymous w/ plugins in this context.
- scripting is being discussed w/ mstoltz and can already be disabled using
prefs here: http://www.mozilla.org/projects/embedding/prefs.html

- 69455 - frames
- 69453 - images
- caching - we only use the memory cache for mail msgs.
- history - the embeddor defines what get's put into history.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
No longer blocks: 64833
From today's discussion in the API review meeting, it sounds like these 
capabilities will be accessed via the nsIwebBrowserSetup interface (on a per 
WebBrowser instance)

-- rick
Correction: Changing QA contact for the Embed API bugs to David Epstein.
QA Contact: mdunn → depstein
marking as invalid. nsIwebBrowserSetup has support for JS scripting, plugins, 
redirects and subframes.
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.