Menu: "History-Clear Recent History..." / "Library-Clear Downloads" - throws an errors in the Error Console Topic is solved

This board is for discussions, bug reports, etc. for pre-releases of the v27 milestone codenamed "Tycho".

Since the beta phase is over, this board is closed for new posts/topics.
GMforker

Menu: "History-Clear Recent History..." / "Library-Clear Downloads" - throws an errors in the Error Console

Unread post by GMforker » 2016-07-17, 16:04

"History-Clear Recent History..."

1)

Code: Select all

Error: Exception during sanitize: [Exception... "Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIDownloadManager.canCleanUp]"  nsresult: "0x8000ffff 
(NS_ERROR_UNEXPECTED)"  location: "JS frame :: chrome://browser/content/sanitize.js :: Sanitizer.prototype.items.downloads.canClear :: line 333"  data: no]
Source File: chrome://browser/content/sanitizeDialog.js
Line: 125
2)

Code: Select all

Error: this._downloadToDataItemMap.remove is not a function
Source File: resource://app/modules/DownloadsCommon.jsm
Line: 687
See bug #1102131

"Library-Clear Downloads/Remove From History"

1)

Code: Select all

Error: An error occurred executing the downloadsCmd_clearDownloads command: [Exception... "Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIDownloadManager.cleanUp]"  nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)"  location: "JS frame :: chrome://browser/content/downloads/allDownloadsViewOverlay.js :: DPV_doCommand :: line 1463"  data: no]
Source File: chrome://global/content/globalOverlay.js
Line: 99

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35636
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: Menu: "History-Clear Recent History..." / "Library-Clear Downloads" - throws an errors in the Error Console

Unread post by Moonchild » 2016-07-17, 17:37

Thanks, a very useful report. Converting downloads to the JS-based version is kind of a work in progress. Downloads work but there's a few things in the UI that don't yet.

The BMO bug isn't really applicable. not sure why you linked it?
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

GMforker

Re: Menu: "History-Clear Recent History..." / "Library-Clear Downloads" - throws an errors in the Error Console

Unread post by GMforker » 2016-07-17, 18:05

Moonchild wrote:The BMO bug isn't really applicable. not sure why you linked it?
I'm sorry, it does not belong there.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35636
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: Menu: "History-Clear Recent History..." / "Library-Clear Downloads" - throws an errors in the Error Console

Unread post by Moonchild » 2016-07-17, 19:23

Anyway, this and several other broken things with downloads should be fixed with https://github.com/MoonchildProductions ... c1fbe0a497 and its follow-up commit.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

Locked