| Index: lib/contentPolicy.js |
| =================================================================== |
| --- a/lib/contentPolicy.js |
| +++ b/lib/contentPolicy.js |
| @@ -33,13 +33,13 @@ |
| /** |
| * List of explicitly supported content types |
| - * @type Array of String |
| + * @type string[] |
| */ |
| let contentTypes = ["OTHER", "SCRIPT", "IMAGE", "STYLESHEET", "OBJECT", "SUBDOCUMENT", "DOCUMENT", "XMLHTTPREQUEST", "OBJECT_SUBREQUEST", "FONT", "MEDIA"]; |
| /** |
| * List of content types that aren't associated with a visual document area |
| - * @type Array of String |
| + * @type string[] |
| */ |
| let nonVisualTypes = ["SCRIPT", "STYLESHEET", "XMLHTTPREQUEST", "OBJECT_SUBREQUEST", "FONT"]; |
| @@ -603,7 +603,7 @@ |
| /** |
| * Nodes scheduled for post-processing (might be null). |
| - * @type Array of Node |
| + * @type Node[] |
| */ |
| let scheduledNodes = null; |