Commit 7053e292 authored by Jun Kokatsu's avatar Jun Kokatsu Committed by Commit Bot

Removed unused scripts from WebUIs

This change removes scripts from WebUI pages that aren't used anymore.

Bug: 41905
Change-Id: I9b7843e1de6402e9e1e21c7846f227d1feafb277
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2224603Reviewed-by: default avatarEric Roman <eroman@chromium.org>
Reviewed-by: default avatardpapad <dpapad@chromium.org>
Commit-Queue: Jun Kokatsu <Jun.Kokatsu@microsoft.com>
Cr-Commit-Position: refs/heads/master@{#774737}
parent fc424345
......@@ -4,7 +4,6 @@
<meta charset="utf-8">
<title>Invalidations</title>
<script src="chrome://resources/js/cr.js"></script>
<script src="chrome://resources/js/parse_html_subset.js"></script>
<script src="chrome://resources/js/util.js"></script>
<script src="chrome://invalidations/about_invalidations.js"></script>
<link rel="stylesheet" href="chrome://resources/css/text_defaults.css">
......
......@@ -30,6 +30,5 @@ found in the LICENSE file.
<include src="chromeos_view.html">
</div>
<script src="chrome://resources/js/jstemplate_compiled.js"></script>
</body>
</html>
......@@ -406,3 +406,10 @@ IN_PROC_BROWSER_TEST_F(
NoTrustedTypesViolationInWebrtcInternals) {
CheckTrustedTypesViolation("chrome://webrtc-internals");
}
// Verify that there's no Trusted Types violation in chrome://crashes
IN_PROC_BROWSER_TEST_F(
ChromeURLDataManagerTestWithWebUIReportOnlyTrustedTypesEnabled,
NoTrustedTypesViolationInCrashes) {
CheckTrustedTypesViolation("chrome://crashes");
}
......@@ -80,6 +80,5 @@
<p id="noCrashes" hidden>$i18n{noCrashesMessage}</p>
</div>
<script src="chrome://resources/js/jstemplate_compiled.js"></script>
</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