Closed Bug 1541439 Opened 5 years ago Closed 5 years ago

JavaScript error: resource://gre/modules/ClearDataService.jsm, line 380: NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIURI.host]

Categories

(Toolkit :: Data Sanitization, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1535298

People

(Reporter: u636583, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

Steps to reproduce:

  1. about:preferences#privacy
  2. under the heading "Cookies and Site Data" click button [Manage Data],
    "Manage Cookies and Site Data" dialog(within the page) shows up
  3. Select any website from the list and click [Remove Selected], this removes it from the list
  4. click [Save Changes] button,
    now a dialog(gtk window this time, that persists even if other browser tabs are focused while it's open) shows up titled "Removing Cookies and Site Data" and it lists the removed websites from step 3 asking me if I'm sure that I want to remove them.
  5. click the [Remove] button on the dialog from step 4.

Actual results:

Immediately on step 5, that dialog/window(from step 4) closes and the console/terminal shows message:
JavaScript error: resource://gre/modules/ClearDataService.jsm, line 380: NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIURI.host]
and you're now left at the step 2 dialog where you can click [Save Changes] again to repeat the situation(from step 4) thus not being able to exit the dialog "Manage Cookies and Site Data" via that [Save Changes] button, only via [Cancel] button.

Refreshing* the page(from step 1), and checking step 2 shows that the website selected at step 3 was in fact removed.

*Refreshing the page(from step 1) is required, else you won't see the changes: ie. when you look again(after having pressed [Cancel]) using step 2, the removed website will still be in the list. So, refresh the whole page and you'll see it's actually gone.

Expected results:

The dialog from step 2. should've closed(after step 5 was completed, my guess) and the cookies for the selected websites(from step 3) should've been deleted so that it no longer shows in the step 2 list.

Meta:
I'm using Firefox firefox-hg r467616+.48ae682107da+-1 compiled locally from modilla-central repo, here's the specific line from the error:

https://hg.mozilla.org/mozilla-central/file/6188f3497057/toolkit/components/cleardata/ClearDataService.jsm#l380

OS: Unspecified → Linux
Hardware: Unspecified → x86_64
Component: Untriaged → Data Sanitization
Product: Firefox → Toolkit
Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.