Closed Bug 1197693 Opened 9 years ago Closed 6 years ago

nsINavHistoryService - resultType: RESULTS_AS_VISIT does not return downloads

Categories

(Toolkit :: Places, defect, P5)

defect

Tracking

()

RESOLVED INACTIVE

People

(Reporter: chen.koifman, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36

Steps to reproduce:

I'm trying to get the count of downloads (not grouped by URI) using nsINavHistoryService with the following configuration: 

setTransitions: TRANSITION_DOWNLOAD
queryType: QUERY_TYPE_HISTORY
includeHidden: true
resultType: RESULTS_AS_VISIT




Actual results:

get no childCount (0)

* using RESULTS_AS_URI - I get correct result but not what i need.


Expected results:

get the number of downloads.
Priority: -- → P2
Component: Untriaged → Places
Priority: P2 → --
Product: Firefox → Toolkit
Summary: nsINavHistoryService - resultType: RESULTS_AS_VISIT → nsINavHistoryService - resultType: RESULTS_AS_VISIT does not return downloads
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P5
Per policy at https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Inactive_Bugs. If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.