Closed Bug 860998 Opened 13 years ago Closed 7 years ago

Remove useless getSpecialFolderKey assignment

Categories

(Toolkit :: Downloads API, defect)

x86
All
defect
Not set
trivial

Tracking

()

RESOLVED WONTFIX

People

(Reporter: mconley, Assigned: manishkk)

Details

Attachments

(1 file)

Noticed this while triaging (bug 293187). getSpecialFolderKey (http://dxr.mozilla.org/search?tree=mozilla-central&q=getSpecialFolderKey&redirect=true) doesn't appear to be doing anything useful. It can probably be removed, unless I'm missing something.

Yep!

Flags: needinfo?(mconley)
Assignee: nobody → 1991manish.kumar

Bah, I just realized that comm-central uses this member. :(

https://dxr.mozilla.org/comm-central/rev/2a29ee0adb310b54a6a2df72034953fed8f2b043/comm/mail/components/preferences/downloads.js#79

See my review. I don't think we should review it unless we need to, to avoid screwing over comm-central needlessly.

Status: NEW → RESOLVED
Closed: 7 years ago
Flags: needinfo?(mconley)
Resolution: --- → WONTFIX

(In reply to Manish [:manishkk] from comment #4)

this line should exist?
https://searchfox.org/mozilla-central/source/toolkit/components/url-classifier/tests/unit/head_urlclassifier.js#44

Hey, :dimi, do you know if we can get rid of the references to this file?

Flags: needinfo?(dlee)

(In reply to Mike Conley (:mconley) (:⚙️) from comment #6)

(In reply to Manish [:manishkk] from comment #4)

this line should exist?
https://searchfox.org/mozilla-central/source/toolkit/components/url-classifier/tests/unit/head_urlclassifier.js#44

Hey, :dimi, do you know if we can get rid of the references to this file?
yes.
This looks like a duplicate comment of Bug 723153 Comment 16

Flags: needinfo?(dlee)

yes, Sorry!
It's a duplicate comment, mistakenly happened.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: