Closed Bug 527058 Opened 15 years ago Closed 15 years ago

nsHelperAppDlg.js shouldn't do delayed registration

Categories

(Toolkit :: Downloads API, defect)

1.9.2 Branch
defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla1.9.3a1
Tracking Status
status1.9.2 --- beta3-fixed

People

(Reporter: benjamin, Assigned: benjamin)

References

Details

(Keywords: verified1.9.2)

Attachments

(1 file)

I think nsHelperAppDlg.js copied and pasted some code from somewhere which implements delayed registration. I can't see any reason for this, and appears to help solve the leaks and crashes of bug 519357 on the branch (which is really weird, but hey, I'm not going to complain to loudly).
Attachment #410821 - Flags: review?(sdwilsh)
Comment on attachment 410821 [details] [diff] [review] Don't delay registration of nsHelperAppDlg.js, rev. 1 r=sdwilsh
Attachment #410821 - Flags: review?(sdwilsh) → review+
Tested that the helper application dialog works as expected when trying to save/open an unknown file type right after Firefox has been started with recent builds on trunk and 1.9.2 for all platforms. Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.3a1pre) Gecko/20091111 Minefield/3.7a1pre (.NET CLR 3.5.30729) ID:20091111045251 Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2b3pre) Gecko/20091111 Namoroka/3.6b3pre (.NET CLR 3.5.30729) ID:20091111045315
Status: RESOLVED → VERIFIED
Keywords: verified1.9.2
OS: Linux → All
Hardware: x86 → All
Target Milestone: --- → mozilla1.9.3a1
Version: unspecified → 1.9.2 Branch
(In reply to comment #0) > I think nsHelperAppDlg.js copied and pasted some code from somewhere which > implements delayed registration. Possibly because the sample JS component does. (The embedding version has the same delayed registration.)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: