Files
smayya 0d8b5ee3d4 Bug 2053432 - Surface OS-level Local Network Protection failures to GeckoView's onLoadError. r=dom-core-reviewers,smaug
NS_ERROR_OS_LOCAL_NETWORK_ACCESS_DENIED was silently rewritten to NS_OK
before reaching nsDocShell's error handling, so GeckoView's onLoadError
never fired for it.

Add it to FilterStatusForErrorPage's allowlist and to DisplayLoadError's
classification (temporarily grouped with NS_ERROR_NET_RESET, see TODO).
Bug 2057481 will intercept it in GeckoEngineSession.onLoadError()
(android-components) to prompt for the nearby devices permission and
reload on grant.

Differential Revision: https://phabricator.services.mozilla.com/D315954
2026-08-04 10:03:34 +00:00
..