Commit 0d948142 authored by Gauthier Ambard's avatar Gauthier Ambard Committed by Commit Bot

[iOS] Cleanup error pages

This CL removes the content of the error pages to avoid flag when
loading it.

Bug: 991608
Change-Id: I7600d091705f930e6115246496f47e21a09e197b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2352870
Auto-Submit: Gauthier Ambard <gambard@chromium.org>
Commit-Queue: Ali Juma <ajuma@chromium.org>
Reviewed-by: default avatarAli Juma <ajuma@chromium.org>
Cr-Commit-Position: refs/heads/master@{#797307}
parent e4552535
......@@ -18,17 +18,8 @@
} else {
load();
}
// Display failed URL and error info.
window.addEventListener('load', () => {
document.getElementById('failedUrl').textContent = failedUrl;
let error = params.get('error');
document.getElementById('error').textContent = error;
});
</script>
</head>
<body>
<h1>Error page loaded by [WKWebview loadFileURL:allowingReadAccessToURL:]</h1>
<h2 id='failedUrl'></h2>
<h2 id='error'></h2>
</body>
</html>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment