testing/web-platform/tests/html/tools/html5lib_test_fragment.xml
author Nicolas Chevobbe <nchevobbe@mozilla.com>
Fri, 03 Dec 2021 15:41:06 +0000
changeset 601010 92df9c655be52b50e0b93a327a5913c14ad76ce1
parent 504498 c6a1e2cdb4ba24ddf6fa5c639883e4462c6a426d
permissions -rw-r--r--
Bug 1744179 - [devtools] Add doctype to all webconsole test pages. Now what we show a warning message on pages with invalid/no doctype, a lot of tests were failing because of it. This patch only adds doctype on all webconsole test pages. Differential Revision: https://phabricator.services.mozilla.com/D132793

<html xmlns:py="http://genshi.edgewall.org/">
  <head>
    <meta charset="utf8"/>
    <title>HTML 5 Parser tests ${file_name}</title>
    <meta name="timeout" content="long"/>
  </head>
  <body>
    <h1>html5lib Parser Test</h1>
    <div id="log"></div>
    <script src="common.js"></script>
    <script src="test.js"></script>
    <script src="template.js"></script>
    <script src="/resources/testharness.js"></script>
    <script src="/resources/testharnessreport.js"></script>
    <script>

      var num_iframes = 8;

      var order = [<py:for each="test in tests">'${test.id}',</py:for>];
      var tests = {
          <py:for each="test in tests">"${test.id}":[async_test('${file_name} ${test.id}'), ${test.string_uri_encoded_input}, ${test.string_escaped_expected}, '${test.container}'],</py:for>
      }

      init_tests("innerHTML");

    </script>
  </body>
</html>