Bug 1645234 - Add learn more link to storage access API warnings. r=nchevobbe

Depends on D79597

Differential Revision: https://phabricator.services.mozilla.com/D79788
This commit is contained in:
Johann Hofmann 2020-07-09 20:12:57 +00:00
Родитель b415f7652c
Коммит d2abd7c95a
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -114,6 +114,8 @@ const TLS_LEARN_MORE =
"https://blog.mozilla.org/security/2018/10/15/removing-old-versions-of-tls/";
const X_FRAME_OPTIONS_LEARN_MORE =
"https://developer.mozilla.org/docs/Web/HTTP/Headers/X-Frame-Options";
const REQUEST_STORAGE_ACCESS_LEARN_MORE =
"https://developer.mozilla.org/docs/Web/API/Document/requestStorageAccess";
const ErrorCategories = {
"X-Frame-Options": X_FRAME_OPTIONS_LEARN_MORE,
"Insecure Password Field": INSECURE_PASSWORDS_LEARN_MORE,
@ -126,6 +128,7 @@ const ErrorCategories = {
MIMEMISMATCH: MIME_TYPE_MISMATCH_LEARN_MORE,
"source map": SOURCE_MAP_LEARN_MORE,
TLS: TLS_LEARN_MORE,
requestStorageAccess: REQUEST_STORAGE_ACCESS_LEARN_MORE,
};
const baseCorsErrorUrl =