зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
b415f7652c
Коммит
d2abd7c95a
|
@ -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 =
|
||||
|
|
Загрузка…
Ссылка в новой задаче