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

VERIFIED INVALID

Status

()

Core
Embedding: APIs
VERIFIED INVALID
17 years ago
17 years ago

People

(Reporter: Marek Z. Jeziorek, Assigned: Adam Lock)

Tracking

Trunk
x86
Windows 98
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

17 years ago
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
(Reporter)

Updated

17 years ago
Blocks: 64833

Comment 1

17 years ago
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
Last Resolved: 17 years ago
Resolution: --- → INVALID
(Reporter)

Updated

17 years ago
No longer blocks: 64833

Comment 2

17 years ago
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

Comment 3

17 years ago
Correction: Changing QA contact for the Embed API bugs to David Epstein.
QA Contact: mdunn → depstein

Comment 4

17 years ago
marking as invalid. nsIwebBrowserSetup has support for JS scripting, plugins, 
redirects and subframes.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.