This page outlines what needs to happen to 1) enable the HTML5 parser by default on mozilla-central and 2) ship a release with the HTML5 parser enabled by default.

The HTML5 parser has been suitable for dogfooding for over a year and in the past couple of months there have been virtually no new site compat bugs. Thus, the parser is already alpha quality from a user POV but not from a zero test suite regressions POV.

Things that need to happen before turning the HTML5 parser on by default

  • Land 13 or so reviewed patches in hsivonen's queue (trivial once the tree is green). (hsivonen)
  • Get reviews on pending patches. (various people)
  • Make tp4 not regress. (hsivonen)
    • A first go at the fix is in hand but it failed unit tests miserably.
    • Iterating on this will take at least a couple of days, because checking an iteration needs to go through the reftests and mochitests.
  • Drive testsuite failures to zero. (hsivonen but help would be useful)
    • 534458 test failure on css3.info selectors test with :checked{}
      • Needs help
    • 536097 spinning in nsHtml5TreeBuilder::startTag()?
      • This will either be simple or so rare that it's not an alpha blocker after all.
    • 541040 Browser freezes in the v8 test suite
      • The test suite is faulty and should be fixed in any case. However, the tp4 fix will likely hide this problem.
    • 541078 contentEditable reload: docshell/test/navigation/test_bug430624.html fails
      • The way the editor attaches itself to the document is brittle.
    • 543726 dom/tests/mochitest/ajax/offline/test_foreign.html fails
      • Being investigated.
    • 543689 toolkit/components/startup/tests/browser/browser_bug537449.js fails
    • 545661 browser_410196_paste_into_tags.js fails
    • 545662 browser_bookmarksProperties.js times out
    • 545663 browser_522545.js fails
    • 545664 browser_423515.js fails
    • 546381 browser_bug537449.js throws and times out
    • 546398 test_bug263683.html times out
    • 546636 [Editor] layout/generic/test/test_backspace_delete.xul fails
      • If not dupe of bug 541078, probably needs help from the author of the test case.
    • 546641 [Spec] layout/style/test/test_parse_rule.html fails
      • Well understood and simple to fix.
    • 547674 [Random?] content/xul/templates/tests/test_bug441785.xul fails
      • Not understood.
    • 547675 dom/tests/mochitest/general/test_domWindowUtils.html fails
    • 547688 toolkit/content/tests/widgets/test_radio.xul fails
    • 547928 Mochitest on XP leaks 184 instances of nsStringBuffer
      • Not understood. Potentially hard to track down. Windows only.
    • 547933 test_bug451286.xul times out
    • 547934 toolkit/content/tests/widgets/test_tooltip.xul times out
  • Either change form submission code to deal with IE-style isindex (hsivonen but help would be useful) or change the parser to use a Gecko-style isindex for now (hsivonen).
  • Update the html5lib test suite snapshot used by mochitest. (jgriffin)
  • Review the unreviewed parser core code. (sicking?)
    • Some more code documentation on the Java side would be useful. (hsivonen)
  • Create a "slow tp" test suite for exercising speculative parsing. (bnewman) What if this suite reveals something bad?

Things that need to happen before shipping the HTML5 parser is a final Firefox release

  • Fix "[HTML5]" bugs marked P2. (hsivonen)