Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- Manifest: dom/manifest/test/mochitest.toml
<!DOCTYPE HTML>
<html>
<!--
-->
<head>
<meta charset="utf-8">
<script src="/tests/SimpleTest/SimpleTest.js"></script>
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
<script src="common.js"></script>
<script>
/**
* Manifest icons member
**/
"use strict";
typeTests.forEach((type) => {
var expected = `Expect non-array icons to be empty array: ${typeof type}.`;
data.jsonText = JSON.stringify({
icons: type,
});
var result = processor.process(data);
SpecialPowers.unwrap(result.icons);
is(result.icons.length, 0, expected);
});
</script>
</head>