Closed
Bug 1076901
Opened 10 years ago
Closed 10 years ago
Add nsSecurityCheckingWrapperChannel that allows call forwarding for addons
Categories
(Core :: DOM: Security, defect)
Core
DOM: Security
Tracking
()
RESOLVED
DUPLICATE
of bug 1120487
People
(Reporter: ckerschb, Unassigned)
References
(Blocks 1 open bug)
Details
Addonds might implement newChannel() from nsIProtocolHandler. Since we are adding newChannel2 to nsIProtocolHandler, addons probably have no implemented that function. Hence we have to provide a shim (nsSecurityCheckingWrapperChannel) which allos to call newChannel in case newChannel2 is not implemented.
> The constructor for this class would take an nsIChannel instance and forward all calls to that nsIChannel.
Later, once we move security checks into asyncOpen, we can also reuse that shim functionality in case asyncOpen2 (which does security checks) is not implemented by the addon.
Reporter | ||
Updated•10 years ago
|
Summary: Add nsSecurityCheckingWrapperChannel that allows → Add nsSecurityCheckingWrapperChannel that allows call forwarding for addons
Reporter | ||
Comment 1•10 years ago
|
||
Marking this as a duplicate of: 1120487
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Blocks: 1143922
No longer blocks: 1143922
You need to log in
before you can comment on or make changes to this bug.
Description
•