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)

x86
Windows NT
defect
Not set
normal

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).
contains transition state entries for multiple requests at yahoo.com
changed qa contact to depstein
QA Contact: mdunn → depstein
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
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.
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.
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.
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.
nominating topembed.
Keywords: topembed
Keywords: topembedtopembed+
Rick-can you comment on this - does it affect any user?
QA Contact: depstein → nobody
.
Assignee: rpotts → nobody
this bug should be reassigned
QA Contact: nobody → apis
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
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: