gecko-dev/docshell/build
Jonathan Almeida ab18009057 Bug 1962312 - Make about:home load about:blank on GeckoView r=nalexander,gl,mconley
Today, if we try to load `about:home`, we get a load error because it is
not a valid about page.

For an embedder to have `about:home` in the back-forward history, we
need to allow the request to load successfully. That means that we need
to let it, at minimum, do nothing - for this, we just load
`about:blank`.

Should this be behind a pref or GeckoRuntimeSetting?
Our only prior art is `about:config` which controls Gecko functionality.
This is a feature that has valid use cases for controlling behind a
pref, whereas `about:home` does nothing similar to `about:blank` which
does not have a pref.

Differential Revision: https://phabricator.services.mozilla.com/D246543
2025-04-24 22:37:33 +00:00
..
components.conf
moz.build
nsDocShellCID.h
nsDocShellModule.cpp
nsDocShellModule.h