Skip to content
Taco de Wolff edited this page Oct 20, 2017 · 41 revisions

Bugs found by go-fuzz

HTML

  • 4e4d04b: attr index buffer still used old indices

HTML & XML

XML

CSS

  • ebea09e: early string ending for font-family
  • 240df9d: early string ending for selectors
  • 1490291: unexpected string endings
  • 0155128: non-delim character for !important
  • e0bf2d7: zero length vendor at rules

SVG

  • d9bc3b7: large negative exponents not always give minification

JS

  • ee06aca: unexpected EOF in template string

Possible performance improvements

Try reducing bounds checking where possible due to compiler improvements

Determine HTML attribute quotes in the parser to reduce redundant work

Possible minification techniques

Minify HTML inside IE if-comments #47, if-comments are already non-spec, so I'm hesitant

Convert units of numbers in CSS and SVG #33, from pt/in/cm/mm to px for example, this might be imprecise and costly

Rewrite HTML entities in text #11, this might be very costly with little result