mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 05:15:45 +00:00
Bug 1485195 - Display array policies correctly in about:policies r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D9563 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
0c3884d2af
commit
6cbefd2a18
@ -266,6 +266,11 @@ function generateDocumentation() {
|
||||
column.colSpan = "2";
|
||||
schema_row.appendChild(column);
|
||||
sec_tbody.appendChild(schema_row);
|
||||
} else if (schema.properties[policyName].items) {
|
||||
let column = col(JSON.stringify(schema.properties[policyName], null, 1), "schema");
|
||||
column.colSpan = "2";
|
||||
schema_row.appendChild(column);
|
||||
sec_tbody.appendChild(schema_row);
|
||||
} else {
|
||||
let column = col("type: " + schema.properties[policyName].type, "schema");
|
||||
column.colSpan = "2";
|
||||
|
Loading…
Reference in New Issue
Block a user