Open GoogleCodeExporter opened 8 years ago
Now compiler reports more warnings.
========
JSC_TYPE_MISMATCH: actual parameter 2 of goog.string.html.HtmlSanitizer does
not match formal parameter
found : (function (string): string|undefined)
required: (function (string): string|null) at line 75 character 20 in
htmlsanitizer.js
stringBuffer, opt_urlPolicy, opt_nmTokenPolicy);
^
JSC_TYPE_MISMATCH: actual parameter 3 of goog.string.html.HtmlSanitizer does
not match formal parameter
found : (function (string): string|undefined)
required: (function (string): string|null) at line 75 character 35 in
htmlsanitizer.js
stringBuffer, opt_urlPolicy, opt_nmTokenPolicy);
^
JSC_BAD_PRIVATE_PROPERTY_ACCESS: Access to private property AMP_RE_ of
goog.string.html.HtmlParser not allowed here. at line 539 character 19 in
htmlsanitizer.js
return s.replace(goog.string.html.HtmlParser.AMP_RE_, '&').
^
JSC_BAD_PRIVATE_PROPERTY_ACCESS: Access to private property LT_RE_ of
goog.string.html.HtmlParser not allowed here. at line 540 character 14 in
htmlsanitizer.js
replace(goog.string.html.HtmlParser.LT_RE_, '<').
^
JSC_BAD_PRIVATE_PROPERTY_ACCESS: Access to private property GT_RE_ of
goog.string.html.HtmlParser not allowed here. at line 541 character 14 in
htmlsanitizer.js
replace(goog.string.html.HtmlParser.GT_RE_, '>').
^
JSC_BAD_PRIVATE_PROPERTY_ACCESS: Access to private property QUOTE_RE_ of
goog.string.html.HtmlParser not allowed here. at line 542 character 14 in
htmlsanitizer.js
replace(goog.string.html.HtmlParser.QUOTE_RE_, '"').
^
JSC_BAD_PRIVATE_PROPERTY_ACCESS: Access to private property EQUALS_RE_ of
goog.string.html.HtmlParser not allowed here. at line 543 character 14 in
htmlsanitizer.js
replace(goog.string.html.HtmlParser.EQUALS_RE_, '=');
^
Original comment by lv.wh...@gmail.com
on 21 Jan 2014 at 8:12
Original issue reported on code.google.com by
pablo.platt@gmail.com
on 28 Sep 2013 at 11:11