Commit fa361ec8 authored by dpapad's avatar dpapad Committed by Commit Bot

WebUI cleanup: Remove i18n_template.js usage from serviceworker_internals.

Replace i18n-values with $i18n{} mechanism. Also remove unnecessary
tabs.css dependency.

Bug: 677338
Change-Id: I6dbddf8820b10d2c27441d51ab119bcbc7f04ec7
Reviewed-on: https://chromium-review.googlesource.com/c/1450019
Auto-Submit: Demetrios Papadopoulos <dpapad@chromium.org>
Reviewed-by: default avatarJoshua Bell <jsbell@chromium.org>
Reviewed-by: default avatarMatt Falkenhagen <falken@chromium.org>
Commit-Queue: Matt Falkenhagen <falken@chromium.org>
Cr-Commit-Position: refs/heads/master@{#628536}
parent c1b6edc0
<!doctype html> <!doctype html>
<html i18n-values="dir:textdirection;lang:language"> <html dir="$i18n{textdirection}" lang="$i18n{language}">
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>chrome://serviceworker-internals</title> <title>chrome://serviceworker-internals</title>
<link rel="stylesheet" href="chrome://resources/css/tabs.css"> <link rel="stylesheet" href="chrome://resources/css/text_defaults.css">
<link rel="stylesheet" href="chrome://resources/css/widgets.css"> <link rel="stylesheet" href="chrome://resources/css/widgets.css">
<link rel="stylesheet" href="serviceworker_internals.css"> <link rel="stylesheet" href="serviceworker_internals.css">
</head> </head>
<body i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize"> <body>
<!-- templates --> <!-- templates -->
<div style="display:none"> <div style="display:none">
<div id="serviceworker-version-template" class="serviceworker-version"> <div id="serviceworker-version-template" class="serviceworker-version">
...@@ -144,9 +144,6 @@ ...@@ -144,9 +144,6 @@
<script src="chrome://resources/js/util.js"></script> <script src="chrome://resources/js/util.js"></script>
<script src="chrome://resources/js/cr.js"></script> <script src="chrome://resources/js/cr.js"></script>
<script src="serviceworker_internals.js"></script> <script src="serviceworker_internals.js"></script>
<script src="chrome://resources/js/load_time_data.js"></script>
<script src="chrome://resources/js/jstemplate_compiled.js"></script> <script src="chrome://resources/js/jstemplate_compiled.js"></script>
<script src="strings.js"></script>
<script src="chrome://resources/js/i18n_template.js"></script>
</body> </body>
</html> </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