Status: New
Owner: ----
Labels: Type-Defect Priority-Medium Component-Other
New issue 1894 by [email protected]: no log output for removed tags if
they are unrecognized
http://code.google.com/p/google-caja/issues/detail?id=1894
What revision of the cajoler exhibits the problem? On what browser and OS?
r5661, Chrome 34, OS X 10.9
What steps will reproduce the problem?
1. html_sanitize("<embed></embed>", passthrough, passthrough, console.log);
What is the expected output?
"embed removed", just like "script removed" for a script tag
What do you see instead?
no output
Please provide any additional information below.
Specific issue is that there is no log output when 'embed' tags are
stripped, because 'embed' tag is not included in the html4.ELEMENTS
container. General issue is that there is no output when elements are
scrubbed because they are unrecognized tags. This can be fixed in
makeTagPolicy by adding `html4.ELEMENTS[tagName] !== undefined` condition.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
---
You received this message because you are subscribed to the Google Groups "Google Caja Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.