Add nsSecurityCheckingWrapperChannel that allows call forwarding for addons

RESOLVED DUPLICATE of bug 1120487

Status

()

Core
DOM: Security
RESOLVED DUPLICATE of bug 1120487
3 years ago
3 years ago

People

(Reporter: ckerschb, Unassigned)

Tracking

(Blocks: 2 bugs)

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

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

3 years ago
Summary: Add nsSecurityCheckingWrapperChannel that allows → Add nsSecurityCheckingWrapperChannel that allows call forwarding for addons
(Reporter)

Updated

3 years ago
Blocks: 1006868

Updated

3 years ago
Blocks: 1077201
(Reporter)

Comment 1

3 years ago
Marking this as a duplicate of: 1120487
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 1120487
Blocks: 1143922
No longer blocks: 1143922
You need to log in before you can comment on or make changes to this bug.