Open notriddle opened 6 years ago
If it helps, feel free to use Bleach's test data. We didn't build it in a way that's easy for other projects to use, but I'm game for fixing that if you have ideas.
https://github.com/mozilla/bleach/tree/master/tests
Also:
Bleach is under the Apache license.
Ammonia is dual Apache / MIT license, for GPLv2 compatibility and to match with rustc.
@notriddle I played with fuzzing some times ago. The only crash I could find was in html5ever https://github.com/servo/html5ever/issues/305
For future reference, there's also https://github.com/servo/html5ever/issues/290 (segfault) and https://github.com/servo/html5ever/issues/289 (high CPU usage on malformed input).
We really should do some form of exhaustive testing.