summaryrefslogtreecommitdiff
path: root/chromium/components/neterror/resources
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/components/neterror/resources')
-rw-r--r--chromium/components/neterror/resources/BUILD.gn1
-rw-r--r--chromium/components/neterror/resources/neterror.html3
-rw-r--r--chromium/components/neterror/resources/neterror.js2
3 files changed, 3 insertions, 3 deletions
diff --git a/chromium/components/neterror/resources/BUILD.gn b/chromium/components/neterror/resources/BUILD.gn
index 467116536a9..34307cde6bc 100644
--- a/chromium/components/neterror/resources/BUILD.gn
+++ b/chromium/components/neterror/resources/BUILD.gn
@@ -8,7 +8,6 @@ js_type_check("closure_compile") {
deps = [
":neterror",
":offline",
- "//components/security_interstitials/core/common/resources:interstitial_common",
"//components/security_interstitials/core/common/resources:interstitial_mobile_nav",
"//ui/webui/resources/js:load_time_data",
]
diff --git a/chromium/components/neterror/resources/neterror.html b/chromium/components/neterror/resources/neterror.html
index 84129000591..80ba4b9d925 100644
--- a/chromium/components/neterror/resources/neterror.html
+++ b/chromium/components/neterror/resources/neterror.html
@@ -9,9 +9,8 @@
<link rel="stylesheet" href="../../../components/security_interstitials/core/common/resources/interstitial_core.css">
<link rel="stylesheet" href="../../../components/security_interstitials/core/common/resources/interstitial_common.css">
<link rel="stylesheet" href="neterror.css">
- <script src="../../../components/security_interstitials/core/common/resources/interstitial_common.js"></script>
- <script src="../../../components/security_interstitials/core/common/resources/interstitial_mobile_nav.js"></script>
<script src="neterror.js"></script>
+ <script src="../../../components/security_interstitials/core/common/resources/interstitial_mobile_nav.js"></script>
<script src="offline.js"></script>
</head>
<body id="t" style="font-family: $i18n{fontfamily}; font-size: $i18n{fontsize}">
diff --git a/chromium/components/neterror/resources/neterror.js b/chromium/components/neterror/resources/neterror.js
index f94a9fc5f4c..8fd0a476bb8 100644
--- a/chromium/components/neterror/resources/neterror.js
+++ b/chromium/components/neterror/resources/neterror.js
@@ -22,6 +22,8 @@
// eslint-disable-next-line no-var
var errorPageController;
+const HIDDEN_CLASS = 'hidden';
+
// Decodes a UTF16 string that is encoded as base64.
function decodeUTF16Base64ToString(encoded_text) {
const data = atob(encoded_text);