summaryrefslogtreecommitdiffstats
path: root/image/test/browser/browser_mozicon_file.js
diff options
context:
space:
mode:
Diffstat (limited to 'image/test/browser/browser_mozicon_file.js')
-rw-r--r--image/test/browser/browser_mozicon_file.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/image/test/browser/browser_mozicon_file.js b/image/test/browser/browser_mozicon_file.js
new file mode 100644
index 0000000000..8e01e0484d
--- /dev/null
+++ b/image/test/browser/browser_mozicon_file.js
@@ -0,0 +1,12 @@
+/* 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/. */
+
+"use strict";
+
+add_task(async function test_mozicon_file_no_sandbox() {
+ assertFileProcess();
+ await createMozIconInFile("txt");
+ await createMozIconInFile("exe");
+ await createMozIconInFile("non-existent-bidule");
+});