Closed Bug 1550470 Opened 5 years ago Closed 5 years ago

[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMWindowUtils.removeSheetUsingURIString]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: resource://gre/modules/ExtensionCommon.jsm :: runSafeSyncWithou

Categories

(WebExtensions :: General, defect, P3)

defect

Tracking

(firefox71 verified)

VERIFIED FIXED
mozilla71
Tracking Status
firefox71 --- verified

People

(Reporter: mayhemer, Assigned: rpl)

References

Details

Attachments

(1 file)

[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMWindowUtils.removeSheetUsingURIString]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: resource://gre/modules/ExtensionCommon.jsm :: runSafeSyncWithoutClone :: line 65" data: no] ExtensionCommon.jsm:65:12
runSafeSyncWithoutClone resource://gre/modules/ExtensionCommon.jsm:65
cleanup resource://gre/modules/ExtensionContent.jsm:353
close resource://gre/modules/ExtensionContent.jsm:814
destroyed resource://gre/modules/ExtensionContent.jsm:889
observe resource://gre/modules/ExtensionContent.jsm:905

Nightly at https://hg.mozilla.org/mozilla-central/rev/6fd64908d113d7cdf085be1e2858e10dd69643e3

No STR at the moment.

Priority: -- → P3

I can reproduce this on the nightly with buildid 20190825213650

STR:

  1. install uBlock origin from https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/
  2. open a new tab, go to https://bugzilla.mozilla.org or https://github.com (happens on a lot of site, but not all)
  3. close the bmo/github tab
  4. the error listed below is shown in the console
[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMWindowUtils.removeSheet]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: resource://gre/modules/ExtensionCommon.jsm :: runSafeSyncWithoutClone :: line 75"  data: no] ExtensionCommon.jsm:75:12
    runSafeSyncWithoutClone resource://gre/modules/ExtensionCommon.jsm:75
    cleanup resource://gre/modules/ExtensionContent.jsm:413
Assignee: nobody → lgreco
Status: NEW → ASSIGNED
Pushed by luca.greco@alcacoop.it:
https://hg.mozilla.org/integration/autoland/rev/20b68b99a4d2
Prevent nsIDOMWindowUtils.removeSheet errors due to content scripts CSS cleanups on closed windows. r=zombie
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71

Hello,

Verified the fix using the latest Nightly (71.0a1/20191002214349) under Windows 10 Pro 64-bit and MacOS High Sierra 10.13.6.

Based on the STR provided in Comment 2, the error no longer appears in the console after closing the tab. Also tested the issue against Nightly buildID 20190825213650 where the issue occurred, for comparison.

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: