Closed Bug 414306 Opened 17 years ago Closed 17 years ago

exthandler should set STATE_IS_(REQUEST|NETWORK) to conform with nsIWebProgressListener

Categories

(Core Graveyard :: File Handling, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.9beta3

People

(Reporter: Mardak, Assigned: Mardak)

Details

Attachments

(1 file)

exthandler right now only sends a STATE_START and STATE_STOP by itself. According to the nsIWebProgressListener interface, REQUEST should be set for requests and NETWORK for a the "nsIWebProgress group". We don't really have a nsIWebProgress here..

<bz> since it's faking a loadgroup for the whole thing
<bz> like I said earlier, without an nsIWebProgress the whole thing is sorta underdefined...
Attached patch v1Splinter Review
Set the additional flags. :( indenting
Assignee: nobody → edilee
Status: NEW → ASSIGNED
Attachment #299688 - Flags: superreview?(bzbarsky)
Attachment #299688 - Flags: review?(cbiesinger)
Comment on attachment 299688 [details] [diff] [review]
v1

Sure
Attachment #299688 - Flags: superreview?(bzbarsky) → superreview+
Attachment #299688 - Flags: review?(cbiesinger) → review+
Comment on attachment 299688 [details] [diff] [review]
v1

Conform! ;)
Attachment #299688 - Flags: approval1.9?
Landed as part of the fix for bug 405107.

Shawn: In addition to the "save page as" potential testcase, it would be neat if we could simulate dialog actions to save "open with" downloads.

Checking in uriloader/exthandler/nsExternalHelperAppService.cpp;
/cvsroot/mozilla/uriloader/exthandler/nsExternalHelperAppService.cpp,v  <--  nsExternalHelperAppService.cpp
new revision: 1.362; previous revision: 1.361
done
Flags: in-testsuite?
Target Milestone: --- → mozilla1.9 M11
Attachment #299688 - Flags: approval1.9?
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
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: