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.
Post History
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...
#3: Post edited
- #### 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`. Similarly, `resource://pdf.js/web/viewer.html` exists.- #### 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`][1], that it's `crashes.html`.
- [1]: https://github.com/mozilla-firefox/firefox/blob/4b63e8e14125558cd75be1a53b6fc40b48cc2560/toolkit/crashreporter/content/crashes.html#L22
- #### Diagnosis
- I've confirmed that ECMAScript's `window.location.href` and `document.URL` merely return the `about:` URI.
- #### 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`.
- Similarly, `resource://pdf.js/web/viewer.html` exists, and I am utterly unfamiliar with that the distinction is, nor how one might resolve that to the aforementioned URI structure.
- #### 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`][1], that it's `crashes.html`.
- [1]: https://github.com/mozilla-firefox/firefox/blob/4b63e8e14125558cd75be1a53b6fc40b48cc2560/toolkit/crashreporter/content/crashes.html#L22
- #### Diagnosis
- I've confirmed that ECMAScript's `window.location.href` and `document.URL` merely return the `about:` URI.
#2: Post edited
- #### 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`][1], that it's `crashes.html`.
- [1]: https://github.com/mozilla-firefox/firefox/blob/4b63e8e14125558cd75be1a53b6fc40b48cc2560/toolkit/crashreporter/content/crashes.html#L22
- #### Diagnosis
- I've confirmed that ECMAScript's `window.location.href` and `document.URL` merely return the `about:` URI.
- #### 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`. Similarly, `resource://pdf.js/web/viewer.html` exists.
- #### 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`][1], that it's `crashes.html`.
- [1]: https://github.com/mozilla-firefox/firefox/blob/4b63e8e14125558cd75be1a53b6fc40b48cc2560/toolkit/crashreporter/content/crashes.html#L22
- #### Diagnosis
- I've confirmed that ECMAScript's `window.location.href` and `document.URL` merely return the `about:` URI.
#1: Initial revision
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`][1], that it's `crashes.html`. [1]: https://github.com/mozilla-firefox/firefox/blob/4b63e8e14125558cd75be1a53b6fc40b48cc2560/toolkit/crashreporter/content/crashes.html#L22 #### Diagnosis I've confirmed that ECMAScript's `window.location.href` and `document.URL` merely return the `about:` URI.
