Skip to content

Frostwork 0.2.1

Choose a tag to compare

@github-actions github-actions released this 05 Nov 12:11
· 10 commits to main since this release

Correctness

  • navigation() no longer reads a <base> or meta refresh written after a self-closed element whose
    content browsers read as text, e.g. <script/><base href="…">: unless it is an SVG or MathML
    element, browsers ignore the / of <script/>, <style/>, <title/>, <textarea/>,
    <noscript/> (with scripting enabled), … and read the markup up to the matching end tag as text.

Performance

  • navigation() no longer tokenizes a document that cannot hold what was asked for: a <base> for
    the base URL, a <meta> with an http-equiv attribute for the meta refresh.
  • frostwork.encoding.bom_encoding(), codec_name() and decode() have less call overhead.