Welcome to the Power Users community on Codidact!
Power Users is a Q&A site for questions about the usage of computer software and hardware. We are still a small site and would like to grow, so please consider joining our community. We are looking forward to your questions and answers; they are the building blocks of a repository of knowledge we are building together.
How to resolve an abstracted internal URI in Firefox?
Premise
about:preferences resolves to chrome://browser/content/preferences/preferences.xhtml, which itself resolves to jar:file:///usr/lib64/firefox/browser/omni.ja!/chrome/browser/content/browser/preferences/preferences.xhtml.
Desire
How can I ascertain this in a deterministic manner (that is, without needing to search for it in chrome://browser/content/preferences//jar:file:///usr/lib64/firefox/browser/omni.ja!/)?
Rationale
I ask because, as of yet, I've been unable to ascertain what about:crashes resolves to, despite being quite confident, per github.com/mozilla-firefox/firefox/blob/4b63e8e14125558cd75be1a53b6fc40b48cc2560/toolkit/crashreporter/content/crashes.html, that it's crashes.html.
Diagnosis
I've confirmed that ECMAScript's window.location.href and document.URL merely return the about: URI.

0 comment threads