Closed Bug 1665099 Opened 4 years ago Closed 4 years ago

Unable to open about:processes when Tree Style Tab sidebar is enabled

Categories

(Core :: DOM: Content Processes, defect)

Firefox 82
defect

Tracking

()

RESOLVED FIXED
82 Branch
Fission Milestone M7
Tracking Status
firefox-esr78 --- unaffected
firefox80 --- unaffected
firefox81 --- unaffected
firefox82 --- fixed

People

(Reporter: Fanolian+BMO, Assigned: Yoric)

References

(Regression)

Details

(Keywords: nightly-community, regression, reproducible)

Attachments

(2 files)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:82.0) Gecko/20100101 Firefox/82.0
Build ID: 20200915092930

Steps to reproduce

  1. Install extension Tree Style Tab 3.5.27 (TST) in a new profile.
  2. Make sure TST sidebar is shown. (You can press F1 to toggle the TST sidebar)
  3. Navigate to about:processes.

Actual result

No information is shown. In Browser Console there is an error message after a short pause:

Uncaught (in promise)
Exception { name: "NS_ERROR_FAILURE", message: "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIURI.host]", result: 2147500037, filename: "chrome://global/content/aboutProcesses.js", lineNumber: 208, columnNumber: 0, data: null, stack: "_getDOMWindows/windows<@chrome://global/content/aboutProcesses.js:208:1\n_getDOMWindows@chrome://global/content/aboutProcesses.js:204:35\n_getProcessDelta@chrome://global/content/aboutProcesses.js:280:21\ngetCounters@chrome://global/content/aboutProcesses.js:348:22\n_updateDisplay@chrome://global/content/aboutProcesses.js:904:26\nupdate@chrome://global/content/aboutProcesses.js:891:16\n", location: XPCWrappedNative_NoHelper }

aboutProcesses.js:208

Expected result

After a short pause, about:processes should show CPU, memory, etc. information about various Nightly processes.

Notes

  1. The issues only occurs when TST sidebar is shown. Bookmark, History sidebars are not affected.
  2. about:processes works when TST sidebar is hidden, even if TST is still enabled.
  3. I tried some older versions of TST (3.3.6+) and they all have the same issue.

It was originally reported at TST's github. Its author thinks this is a Nightly issue rather than the extension's.

From Mozregression:

Last good Nightly: 2020-09-06
First bad Nightly: 2020-09-07
pushlog: https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=5a77c0b857048d46fe4bced46b2234b49dcc84a2&tochange=ca131344e7fcf46f50e09bea63141d2578f18b7b

Further bisecting autoland builds:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=0a3de0138b450f7ed71d2ef371c2e8e602a2acaf&tochange=b8af21c6e6780dbca280115d97aa3ae91e7614f4

This is regressed by bug 1652785.

Marking the tracking status for Firefox 80, 81 as disabled since about:processes is a Nightly-only feature.

Has Regression Range: --- → yes
Has STR: --- → yes
Regressed by: 1652785

Oh, not good.
Does the same problem show up with about:performance?

Flags: needinfo?(Fanolian+BMO)

(In reply to David Teller [:Yoric] (please use "needinfo") from comment #2)

Oh, not good.
Does the same problem show up with about:performance?

No. about:performance works completely fine.

Flags: needinfo?(Fanolian+BMO) → needinfo?(dteller)

So, the error seems to be in the getter nsIURI.host, here.

Using WebExtensionPolicy.getByURI should hopefully solve the issue.

Flags: needinfo?(dteller)
Assignee: nobody → dteller

Tracking about:processes bug for Fission M7 Beta

Fission Milestone: --- → M7
Pushed by dteller@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/16af156a29a4
Use WebExtensionsPolicy.getByURI instead of WebExtensionsPolicy.getByHost;r=florian,rpl
Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: