Platform/HTML5 sanitizer: Difference between revisions

Line 23: Line 23:


==Non-Gecko Requirements==
==Non-Gecko Requirements==
These are features for the HTML5 parser when it is used outside Gecko.


* Allow form-related elements to be toggled on and off in the white list.
* Allow form-related elements to be toggled on and off in the white list.
* Allow using the sanitizer in non-fragment mode (in which case, the title element should be allowed).
* Allow using the sanitizer in non-fragment mode (in which case, the title element should be allowed).
** Are there compelling use cases for non-fragment mode sanitization?
** Are there compelling use cases for non-fragment mode sanitization?
* Have a configurable white list of URL schemes.
* Have a configurable white list of permitted URL schemes in attributes that take URLs.
254

edits