Closed Bug 1076901 Opened 10 years ago Closed 10 years ago

Add nsSecurityCheckingWrapperChannel that allows call forwarding for addons

Categories

(Core :: DOM: Security, defect)

defect
Not set
normal

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.
Summary: Add nsSecurityCheckingWrapperChannel that allows → Add nsSecurityCheckingWrapperChannel that allows call forwarding for addons
Blocks: 1006868
Blocks: 1077201
Marking this as a duplicate of: 1120487
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.