summaryrefslogtreecommitdiffstats
path: root/toolkit/components/translations/content/translations-engine.html
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/components/translations/content/translations-engine.html')
-rw-r--r--toolkit/components/translations/content/translations-engine.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/toolkit/components/translations/content/translations-engine.html b/toolkit/components/translations/content/translations-engine.html
new file mode 100644
index 0000000000..866a4d7f47
--- /dev/null
+++ b/toolkit/components/translations/content/translations-engine.html
@@ -0,0 +1,20 @@
+<!-- This Source Code Form is subject to the terms of the Mozilla Public
+ - License, v. 2.0. If a copy of the MPL was not distributed with this
+ - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
+
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta charset="utf-8" />
+ <meta
+ http-equiv="Content-Security-Policy"
+ content="default-src chrome: resource:; object-src 'none'"
+ />
+ <!-- Run the translations engine in its own singleton unprivileged content process. -->
+ <script
+ type="module"
+ src="chrome://global/content/translations/translations-engine.sys.mjs"
+ ></script>
+ </head>
+ <body></body>
+</html>