Closed Bug 792214 Opened 12 years ago Closed 10 years ago

update ScanRequestData in CSP to accept non-http channels

Categories

(Core :: DOM: Core & HTML, defect, P3)

defect

Tracking

()

RESOLVED DUPLICATE of bug 949549

People

(Reporter: geekboy, Unassigned)

References

(Blocks 1 open bug)

Details

Right now, nsIContentSecurityPolicy->scanRequestData() can only be called on nsIHttpChannels; we should support it for non-http channels too, since some protected documents may not have an HTTP channel.
This pertains to apps with a CSP in their manifest
Priority: -- → P3
The bug is about getting metadata for the violation report when we don't have an HTTP channel, as in the case when the violation is for an app
I think this was fixed in bug 949549 (http://hg.mozilla.org/mozilla-central/rev/fc0d812a1856).  Ian, do you agree?  If so, can we dup this over?
Flags: needinfo?(ian.melven)
(In reply to Sid Stamm [:geekboy or :sstamm] from comment #3)
> I think this was fixed in bug 949549
> (http://hg.mozilla.org/mozilla-central/rev/fc0d812a1856).  Ian, do you
> agree?  If so, can we dup this over?

Yes, I agree. Sorry it took me ages to get to this !
Status: NEW → RESOLVED
Closed: 10 years ago
Flags: needinfo?(ian.melven)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.