Closed
Bug 135011
Opened 22 years ago
Closed 16 years ago
Web Progress Listeners should be able to retrieve images security state
Categories
(Core :: Graphics: ImageLib, defect)
Core
Graphics: ImageLib
Tracking
()
RESOLVED
FIXED
People
(Reporter: KaiE, Assigned: dougt)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
8.02 KB,
patch
|
Details | Diff | Splinter Review |
When OnStateChange gets called, while data is loaded from the network, the security code looks at the data transfered, and collects information, whether objects are transfered securely or not. It does this by QIing the given nsIRequest to nsIChannel, and extracting the security state info. This does not work for images. QIing thos nsIRequest objects to nsIChannel, that are received for loaded images, does not succeed. I don't know yet what class we are actually receiving, but peterv suspected it might be imgRequestProxy. Expected behaviour: Requests given to OnStateChange as images are loaded, should be QIable to nsIChannel. Stuart suspected, it might be tricky to do that, because the used channel is shared amongst multiple loaded images. Not sure if that's really a problem for us, I can't judge. All we want to do is extract the security information from the channel. I saw that imgRequest contains a nsIChannel member. If you don't want to support QIing imgRequestProxy to nsIChannel, I would like to request a way to retrieve the imgRequestProxy's security state from the nsIChannel which it is using internally, and make that publicly available.
Updated•22 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.1alpha
Updated•19 years ago
|
Assignee: kaie → dveditz
Flags: blocking-aviary1.1?
Target Milestone: Future → ---
Updated•19 years ago
|
Flags: blocking-aviary1.1? → blocking-aviary1.1-
Updated•18 years ago
|
Assignee: dveditz → kengert
Assignee | ||
Comment 6•18 years ago
|
||
This is somewhat of a workaround. this will allow you to get the network request via new interface: imgIRequest_MOZILLA_1_8_BRANCH. For the trunk, we might as well just add this new attribute to the imgIRequest.
Assignee | ||
Updated•18 years ago
|
Attachment #245026 -
Flags: review? → review?(pavlov)
Assignee | ||
Comment 7•17 years ago
|
||
mass reassigning to nobody.
Assignee: dougt → nobody
Status: ASSIGNED → NEW
Assignee | ||
Comment 8•17 years ago
|
||
Comment on attachment 245026 [details] [diff] [review] bandaide/workaround clearing review flag.
Attachment #245026 -
Flags: review?(pavlov)
Reporter | ||
Comment 10•16 years ago
|
||
I think the requested change has been implemented as part of bug 135007, marking fixed.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Updated•13 years ago
|
Assignee: nobody → doug.turner
You need to log in
before you can comment on or make changes to this bug.
Description
•