Closed
Bug 123099
Opened 24 years ago
Closed 10 years ago
TRANSFER state not returned to nsIWebProgLstnr::OnStateChange() for several cases
Categories
(Core Graveyard :: Embedding: APIs, defect)
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: depman1, Unassigned)
References
()
Details
(Keywords: topembed+)
Attachments
(2 files)
Mozilla 0.9.7 gecko 20020122
1. Run testEmbed from bin folder (compile from /mozilla/embedding/qa/testEmbed
2. Add web progress listener from Tests menu.
3. Enter a url (I went to www.yahoo.com).
4. OK popup msgs.
5. Check TestOutput.txt logfile in C:/Temp
6. Track STATE_IS_TRANSFERRING entries.
Result: There is no transferring for image loads. Image lib isn't sending out
progress notifications. (e.g. for yahoo,
http://us.a1.yimg.com/us.yimg.com/a/1-/flash/compaq/ppc/redcompaq95x30.gif).
Note: This is happening for other protocols as well like ftp (which isn't
transfering for 'res:' entries).
| Reporter | ||
Comment 1•24 years ago
|
||
contains transition state entries for multiple requests at yahoo.com
| Reporter | ||
Comment 3•24 years ago
|
||
STATE_IS_NETWORK and ftp requests also aren't returning STATE_IS_TRANSFERRING.
Summary: image lib isn't sending out progress notifications (TFER state not returned to nsIWebProgLstnr::OnStateChange() ) → TRANSFER state not returned to nsIWebProgLstnr::OnStateChange() for several cases
| Reporter | ||
Comment 4•24 years ago
|
||
Rick landed a patch a couple of weeks ago which fixed some of these problems.
ftp sessions now include transfer states. Still broken are image loads and
STATE_IS_NETWORK.
| Reporter | ||
Comment 5•24 years ago
|
||
shows that web prog lstnr is firing of STATE_IS_TRANSFERRING for DOCUMENT and
accompanied REQUEST, but not for other requests. I noticed that for the REQUEST
case where STATE_IS_TRANSFERRING appears, the string pathway is in the Win
directory form (i.e. C:\temp\file.txt) as opposed to the file url form (i.e.
file:///C:/temp/file.txt). STATE_START, REQUEST is in the file url form.
| Reporter | ||
Comment 6•24 years ago
|
||
ccing kaie. Kai is there a security issue here with image loading? Web Progress
listener isn't firing off STATE_IS_TRANSFERRING notifications for image load
requests. The only transfer REQUEST it returns is the one which accompanies
DOCUMENT handling. But it doesn't notify for all other STATE_START (REQUEST)
instances.
Comment 7•24 years ago
|
||
Yes. It is known that we do not receive notifications that would enable us to
track the security state of images.
Please see bug 135007 and bug 135011.
Updated•23 years ago
|
Comment 9•23 years ago
|
||
Rick-can you comment on this - does it affect any user?
Updated•23 years ago
|
QA Contact: depstein → nobody
| Reporter | ||
Comment 11•21 years ago
|
||
this bug should be reassigned
Updated•16 years ago
|
QA Contact: nobody → apis
Comment 12•10 years ago
|
||
Marking a bunch of bugs in the "Embedding: APIs" component INCOMPLETE in preparation to archive that component. If I have done this incorrectly, please reopen the bugs and move them to a more correct component as we don't have "embedding" APIs any more.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → INCOMPLETE
Updated•7 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•