| Index: ui/webui/resources/js/parse_html_subset.js
|
| diff --git a/ui/webui/resources/js/parse_html_subset.js b/ui/webui/resources/js/parse_html_subset.js
|
| index 7262d0e9f9c9707654eaff189d27966967d7f515..a00c7828030f7a13704dd27aa168c6510417fda1 100644
|
| --- a/ui/webui/resources/js/parse_html_subset.js
|
| +++ b/ui/webui/resources/js/parse_html_subset.js
|
| @@ -6,8 +6,8 @@
|
| * Parse a very small subset of HTML. This ensures that insecure HTML /
|
| * javascript cannot be injected into the new tab page.
|
| * @param {string} s The string to parse.
|
| - * @param {Array.<string>=} opt_extraTags Optional extra allowed tags.
|
| - * @param {Object.<string, function(Node, string):boolean>=} opt_extraAttrs
|
| + * @param {Array<string>=} opt_extraTags Optional extra allowed tags.
|
| + * @param {Object<string, function(Node, string):boolean>=} opt_extraAttrs
|
| * Optional extra allowed attributes (all tags are run through these).
|
| * @throws {Error} In case of non supported markup.
|
| * @return {DocumentFragment} A document fragment containing the DOM tree.
|
| @@ -32,7 +32,7 @@ var parseHtmlSubset = (function() {
|
|
|
| /**
|
| * Whitelist of tag names allowed in parseHtmlSubset.
|
| - * @type {!Array.<string>}
|
| + * @type {!Array<string>}
|
| * @const
|
| */
|
| var allowedTags = ['A', 'B', 'STRONG'];
|
|
|