Regarding the illustrations on the Felt Privacy error pages:
https://www.w3.org/WAI/tutorials/images/decision-tree/
>
> Does the image contribute meaning to the current page or context?
I'd argue it does, and in the "Yes" column there's: "it shows content that is redundant to real text nearby," which I think is also true. An empty alt attribute is called for in this case.
Differential Revision: https://phabricator.services.mozilla.com/D302386
Unregistered SSL errors that fall through to the nssFailure2 config in the
error registry now show their error code (e.g. SSL_ERROR_DECRYPT_ERROR_ALERT)
on the "Secure Connection Failed" error page, consistent with how registered
errors like SSL_ERROR_NO_CYPHER_OVERLAP already behave. Also removes a broken
third descriptionParts entry in the nssFailure2 config that referenced a
Fluent string that was never defined.
Differential Revision: https://phabricator.services.mozilla.com/D297577
Replace the generic network-error copy on the fileNotFound error card
with file-specific strings. The intro now shows the actual file path
instead of "local file", and the "What can you do?" section gives
file-oriented advice rather than website-oriented advice.
Differential Revision: https://phabricator.services.mozilla.com/D284735
Replace the generic network-error copy on the fileNotFound error card
with file-specific strings. The intro now shows the actual file path
instead of "local file", and the "What can you do?" section gives
file-oriented advice rather than website-oriented advice.
Differential Revision: https://phabricator.services.mozilla.com/D284735
Fix an incorrect assertion in test_unknown_error_returns_default that
passed only by loose-equality coincidence (undefined == null). Add tests
for previously untested exports: getAllErrorIds, getErrorCount,
initializeRegistry, resolveDescriptionParts, resolveAdvancedConfig,
resolveManyL10nArgs, and l10n id/arg configurations defined as
functions.
Differential Revision: https://phabricator.services.mozilla.com/D286148
Replace the generic network-error copy on the fileNotFound error card
with file-specific strings. The intro now shows the actual file path
instead of "local file", and the "What can you do?" section gives
file-oriented advice rather than website-oriented advice.
Differential Revision: https://phabricator.services.mozilla.com/D284735
Replace the generic network-error copy on the fileNotFound error card
with file-specific strings. The intro now shows the actual file path
instead of "local file", and the "What can you do?" section gives
file-oriented advice rather than website-oriented advice.
Differential Revision: https://phabricator.services.mozilla.com/D284735
Replace the generic network-error copy on the fileNotFound error card
with file-specific strings. The intro now shows the actual file path
instead of "local file", and the "What can you do?" section gives
file-oriented advice rather than website-oriented advice.
Differential Revision: https://phabricator.services.mozilla.com/D284735
**Advanced Content Resolver Refactoring**
- Replaced string-based resolver references with inline arrow functions directly in error configurations.
- Removed the `ADVANCED_RESOLVERS` lookup object from error-lookup.mjs.
- Updated expired certificate and not-yet-valid certificate configs to use inline `whyDangerousResolver` functions that dynamically determine date-based error messages.
**Array-Based Intro Content Support**
- Enhanced `resolveL10nArgs()` to handle arrays of l10n configurations.
- Updated SSL error configs (`SSL_ERROR_RX_MALFORMED_HANDSHAKE`, `SSL_ERROR_UNSUPPORTED_VERSION`, `SSL_ERROR_PROTOCOL_VERSION_ALERT`) to use array-based intro content.
- Modified NetErrorCard to render multiple localized spans when intro content is an array.
**Error Configuration Cleanup**
- Removed `pageTitleL10nId` field from all error configs across cert-errors.mjs, net-errors.mjs, pkix-errors.mjs, and ssl-errors.mjs.
- Added missing `whatCanYouDoL10nId` and `learnMoreL10nId` to `SEC_ERROR_CERT_SIGNATURE_ALGORITHM_DISABLED`.
- Added `SSL_ERROR_PROTOCOL_VERSION_ALERT` as a new supported error code.
**TLS Version Notice Support**
- Added showTlsNotice property and `tlsNoticeTemplate()` method to NetErrorCard.
- Updated `handleNSSFailure()` integration to detect version errors and show TLS notice.
- Added tlsNotice query selector for the notice element.
**Dynamic Title Resolution**
- Changed NetErrorCard to dynamically resolve bodyTitleL10nId from error config instead of hardcoding it.
- Added titleL10nId to default error config as fallback
Differential Revision: https://phabricator.services.mozilla.com/D279445
Adds three new error configurations to the error registry:
`SEC_ERROR_CERT_SIGNATURE_ALGORITHM_DISABLED`
`SSL_ERROR_RX_MALFORMED_HANDSHAKE`
`SSL_ERROR_UNSUPPORTED_VERSION`
Differential Revision: https://phabricator.services.mozilla.com/D279382