[I2024-11-04T10:27:55.311105-08:00 21465 0 sink.go:277] SinkServer: warm-up started [I2024-11-04T10:27:55.311325-08:00 21465 0 sink.go:350] SinkServer: starting HTTP server... [I2024-11-04T10:27:55.316149-08:00 21465 0 sink.go:282] SinkServer: warm-up ended [I2024-11-04T10:27:55.316570-08:00 21465 0 cmd_stream.go:492] rdb-stream: starting the test command - ["/Users/swarming/.swarming/w/ir/cache/tools/bin/result_adapter" "go" "-v=false" "-dump-json" "/Users/swarming/.swarming/w/ir/x/w/go.testjson" "--" "/Users/swarming/.swarming/w/ir/x/w/goroot/bin/go" "test" "-json" "-short" "./..."] ok golang.org/x/net/bpf 0.026s ok golang.org/x/net/context 0.088s ok golang.org/x/net/context/ctxhttp 0.143s ok golang.org/x/net/dns/dnsmessage 0.153s --- FAIL: TestParser (0.12s) parse_test.go:276: testdata/webkit/comments01.dat test #12 "", got vs want: ---- | | | ---- | | | | ---- parse_test.go:276: testdata/webkit/comments01.dat test #13 " | | ---- | | | | ---- parse_test.go:276: testdata/webkit/comments01.dat test #15 "Comment before head", got vs want: ---- | | | | | "Comment before head" ---- | <html> | <!-- comment --> | <head> | <title> | "Comment before head" | <body> ---- parse_test.go:276: testdata/webkit/doctype01.dat test #28 "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"\n\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">", got vs want: ---- | <!DOCTYPE html "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | <html> | <head> ---- | <!DOCTYPE html "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | <html> | <head> | <body> ---- parse_test.go:276: testdata/webkit/doctype01.dat test #29 "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Frameset//EN\"\n\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd\">", got vs want: ---- | <!DOCTYPE html "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"> | <html> | <head> ---- | <!DOCTYPE html "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"> | <html> | <head> | <body> ---- parse_test.go:276: testdata/webkit/doctype01.dat test #31 "<!DOCTYPE html PUBLIC\n \"-//WAPFORUM//DTD XHTML Mobile 1.0//EN\"\n \"http://www.wapforum.org/DTD/xhtml-mobile10.dtd\">", got vs want: ---- | <!DOCTYPE html "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd"> | <html> | <head> ---- | <!DOCTYPE html "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd"> | <html> | <head> | <body> ---- parse_test.go:276: testdata/webkit/doctype01.dat test #33 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\"\"http://www.w3.org/TR/html4/strict.dtd\">", got vs want: ---- | <!DOCTYPE html "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> | <html> | <head> ---- | <!DOCTYPE html "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> | <html> | <head> | <body> ---- parse_test.go:276: testdata/webkit/doctype01.dat test #34 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\"'http://www.w3.org/TR/html4/strict.dtd'>", got vs want: ---- | <!DOCTYPE html "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> | <html> | <head> ---- | <!DOCTYPE html "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> | <html> | <head> | <body> ---- parse_test.go:276: testdata/webkit/doctype01.dat test #35 "<!DOCTYPE HTML PUBLIC\"-//W3C//DTD HTML 4.01//EN\"'http://www.w3.org/TR/html4/strict.dtd'>", got vs want: ---- | <!DOCTYPE html "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> | <html> | <head> ---- | <!DOCTYPE html "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> | <html> | <head> | <body> ---- parse_test.go:276: testdata/webkit/doctype01.dat test #36 "<!DOCTYPE HTML PUBLIC'-//W3C//DTD HTML 4.01//EN''http://www.w3.org/TR/html4/strict.dtd'>", got vs want: ---- | <!DOCTYPE html "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> | <html> | <head> ---- | <!DOCTYPE html "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> | <html> | <head> | <body> ---- parse_test.go:276: testdata/webkit/domjs-unsafe.dat test #3 "<script>a='\x00'</script>", got vs want: ---- | <html> | <head> | <script> | "a='�'" ---- | <html> | <head> | <script> | "a='�'" | <body> ---- parse_test.go:276: testdata/webkit/domjs-unsafe.dat test #4 "<script type=\"data\"><!--\x00</script>", got vs want: ---- | <html> | <head> | <script> | type="data" | "<!--�" ---- | <html> | <head> | <script> | type="data" | "<!--�" | <body> ---- parse_test.go:276: testdata/webkit/domjs-unsafe.dat test #5 "<script type=\"data\"><!--foo\x00</script>", got vs want: ---- | <html> | <head> | <script> | type="data" | "<!--foo�" ---- | <html> | <head> | <script> | type="data" | "<!--foo�" | <body> ---- parse_test.go:276: testdata/webkit/domjs-unsafe.dat test #6 "<script type=\"data\"><!-- foo-\x00</script>", got vs want: ---- | <html> | <head> | <script> | type="data" | "<!-- foo-�" ---- | <html> | <head> | <script> | type="data" | "<!-- foo-�" | <body> ---- parse_test.go:276: testdata/webkit/domjs-unsafe.dat test #7 "<script type=\"data\"><!-- foo--\x00</script>", got vs want: ---- | <html> | <head> | <script> | type="data" | "<!-- foo--�" ---- | <html> | <head> | <script> | type="data" | "<!-- foo--�" | <body> ---- parse_test.go:276: testdata/webkit/domjs-unsafe.dat test #8 "<script type=\"data\"><!-- foo-", got vs want: ---- | <html> | <head> | <script> | type="data" | "<!-- foo-" ---- | <html> | <head> | <script> | type="data" | "<!-- foo-" | <body> ---- parse_test.go:276: testdata/webkit/domjs-unsafe.dat test #9 "<script type=\"data\"><!-- foo-<</script>", got vs want: ---- | <html> | <head> | <script> | type="data" | "<!-- foo-<" ---- | <html> | <head> | <script> | type="data" | "<!-- foo-<" | <body> ---- parse_test.go:276: testdata/webkit/domjs-unsafe.dat test #10 "<script type=\"data\"><!-- foo-<S", got vs want: ---- | <html> | <head> | <script> | type="data" | "<!-- foo-<S" ---- | <html> | <head> | <script> | type="data" | "<!-- foo-<S" | <body> ---- parse_test.go:276: testdata/webkit/domjs-unsafe.dat test #11 "<script type=\"data\"><!-- foo-</SCRIPT>", got vs want: ---- | <html> | <head> | <script> | type="data" | "<!-- foo-" ---- | <html> | <head> | <script> | type="data" | "<!-- foo-" | <body> ---- parse_test.go:276: testdata/webkit/domjs-unsafe.dat test #12 "<script type=\"data\"><!--<p></script>", got vs want: ---- | <html> | <head> | <script> | type="data" | "<!--<p>" ---- | <html> | <head> | <script> | type="data" | "<!--<p>" | <body> ---- parse_test.go:276: testdata/webkit/domjs-unsafe.dat test #13 "<script type=\"data\"><!--<script></script></script>", got vs want: ---- | <html> | <head> | <script> | type="data" | "<!--<script></script>" ---- | <html> | <head> | <script> | type="data" | "<!--<script></script>" | <body> ---- parse_test.go:276: testdata/webkit/domjs-unsafe.dat test #14 "<script type=\"data\"><!--<script>\x00</script></script>", got vs want: ---- | <html> | <head> | <script> | type="data" | "<!--<script>�</script>" ---- | <html> | <head> | <script> | type="data" | "<!--<script>�</script>" | <body> ---- parse_test.go:276: testdata/webkit/domjs-unsafe.dat test #15 "<script type=\"data\"><!--<script>-\x00</script></script>", got vs want: ---- | <html> | <head> | <script> | type="data" | "<!--<script>-�</script>" ---- | <html> | <head> | <script> | type="data" | "<!--<script>-�</script>" | <body> ---- parse_test.go:276: testdata/webkit/domjs-unsafe.dat test #16 "<script type=\"data\"><!--<script>--\x00</script></script>", got vs want: ---- | <html> | <head> | <script> | type="data" | "<!--<script>--�</script>" ---- | <html> | <head> | <script> | type="data" | "<!--<script>--�</script>" | <body> ---- parse_test.go:276: testdata/webkit/domjs-unsafe.dat test #17 "<script type=\"data\"><!--<script>---</script></script>", got vs want: ---- | <html> | <head> | <script> | type="data" | "<!--<script>---</script>" ---- | <html> | <head> | <script> | type="data" | "<!--<script>---</script>" | <body> ---- parse_test.go:276: testdata/webkit/domjs-unsafe.dat test #18 "<script type=\"data\"><!--<script></scrip></SCRIPT></script>", got vs want: ---- | <html> | <head> | <script> | type="data" | "<!--<script></scrip></SCRIPT>" ---- | <html> | <head> | <script> | type="data" | "<!--<script></scrip></SCRIPT>" | <body> ---- parse_test.go:276: testdata/webkit/domjs-unsafe.dat test #19 "<script type=\"data\"><!--<script></scrip </SCRIPT></script>", got vs want: ---- | <html> | <head> | <script> | type="data" | "<!--<script></scrip </SCRIPT>" ---- | <html> | <head> | <script> | type="data" | "<!--<script></scrip </SCRIPT>" | <body> ---- parse_test.go:276: testdata/webkit/domjs-unsafe.dat test #20 "<script type=\"data\"><!--<script></scrip/</SCRIPT></script>", got vs want: ---- | <html> | <head> | <script> | type="data" | "<!--<script></scrip/</SCRIPT>" ---- | <html> | <head> | <script> | type="data" | "<!--<script></scrip/</SCRIPT>" | <body> ---- parse_test.go:276: testdata/webkit/domjs-unsafe.dat test #21 "<script type=\"data\"></scrip/></script>", got vs want: ---- | <html> | <head> | <script> | type="data" | "</scrip/>" ---- | <html> | <head> | <script> | type="data" | "</scrip/>" | <body> ---- parse_test.go:276: testdata/webkit/domjs-unsafe.dat test #22 "<script type=\"data\"></scrip ></script>", got vs want: ---- | <html> | <head> | <script> | type="data" | "</scrip >" ---- | <html> | <head> | <script> | type="data" | "</scrip >" | <body> ---- parse_test.go:276: testdata/webkit/domjs-unsafe.dat test #23 "<script type=\"data\"><!--</scrip></script>", got vs want: ---- | <html> | <head> | <script> | type="data" | "<!--</scrip>" ---- | <html> | <head> | <script> | type="data" | "<!--</scrip>" | <body> ---- parse_test.go:276: testdata/webkit/domjs-unsafe.dat test #24 "<script type=\"data\"><!--</scrip </script>", got vs want: ---- | <html> | <head> | <script> | type="data" | "<!--</scrip " ---- | <html> | <head> | <script> | type="data" | "<!--</scrip " | <body> ---- parse_test.go:276: testdata/webkit/domjs-unsafe.dat test #25 "<script type=\"data\"><!--</scrip/</script>", got vs want: ---- | <html> | <head> | <script> | type="data" | "<!--</scrip/" ---- | <html> | <head> | <script> | type="data" | "<!--</scrip/" | <body> ---- parse_test.go:276: testdata/webkit/domjs-unsafe.dat test #26 "<!DOCTYPE html><!DOCTYPE html>", got vs want: ---- | <!DOCTYPE html> | <html> | <head> ---- | <!DOCTYPE html> | <html> | <head> | <body> ---- parse_test.go:276: testdata/webkit/domjs-unsafe.dat test #27 "<html><!DOCTYPE html>", got vs want: ---- | <html> | <head> ---- | <html> | <head> | <body> ---- parse_test.go:276: testdata/webkit/domjs-unsafe.dat test #28 "<html><head><!DOCTYPE html></head>", got vs want: ---- | <html> | <head> ---- | <html> | <head> | <body> ---- parse_test.go:276: testdata/webkit/domjs-unsafe.dat test #29 "<html><head></head><!DOCTYPE html>", got vs want: ---- | <html> | <head> ---- | <html> | <head> | <body> ---- parse_test.go:276: testdata/webkit/html5test-com.dat test #5 "<!DOCTYPE html>", got vs want: ---- | <!DOCTYPE html> | <html> | <head> ---- | <!DOCTYPE html> | <html> | <head> | <body> ---- parse_test.go:276: testdata/webkit/html5test-com.dat test #11 "<?import namespace=\"foo\" implementation=\"#bar\">", got vs want: ---- | <!-- ?import namespace="foo" implementation="#bar" --> | <html> | <head> ---- | <!-- ?import namespace="foo" implementation="#bar" --> | <html> | <head> | <body> ---- parse_test.go:276: testdata/webkit/html5test-com.dat test #12 "<!--foo--bar-->", got vs want: ---- | <!-- foo--bar --> | <html> | <head> ---- | <!-- foo--bar --> | <html> | <head> | <body> ---- parse_test.go:276: testdata/webkit/html5test-com.dat test #13 "<![CDATA[x]]>", got vs want: ---- | <!-- [CDATA[x]] --> | <html> | <head> ---- | <!-- [CDATA[x]] --> | <html> | <head> | <body> ---- parse_test.go:276: testdata/webkit/menuitem-element.dat test #1 "</menuitem>", got vs want: ---- | <html> | <head> ---- | <html> | <head> | <body> ---- parse_test.go:276: testdata/webkit/menuitem-element.dat test #10 "<!DOCTYPE html></menuitem>", got vs want: ---- | <!DOCTYPE html> | <html> | <head> ---- | <!DOCTYPE html> | <html> | <head> | <body> ---- parse_test.go:276: testdata/webkit/menuitem-element.dat test #11 "<!DOCTYPE html><html></menuitem>", got vs want: ---- | <!DOCTYPE html> | <html> | <head> ---- | <!DOCTYPE html> | <html> | <head> | <body> ---- parse_test.go:276: testdata/webkit/menuitem-element.dat test #12 "<!DOCTYPE html><head></menuitem>", got vs want: ---- | <!DOCTYPE html> | <html> | <head> ---- | <!DOCTYPE html> | <html> | <head> | <body> ---- parse_test.go:276: testdata/webkit/noscript01.dat test #0 "<head><noscript><!doctype html><!--foo--></noscript>", got vs want: ---- | <html> | <head> | <noscript> | <!-- foo --> ---- | <html> | <head> | <noscript> | <!-- foo --> | <body> ---- parse_test.go:276: testdata/webkit/noscript01.dat test #1 "<head><noscript><html class=\"foo\"><!--foo--></noscript>", got vs want: ---- | <html> | class="foo" | <head> | <noscript> | <!-- foo --> ---- | <html> | class="foo" | <head> | <noscript> | <!-- foo --> | <body> ---- parse_test.go:276: testdata/webkit/noscript01.dat test #2 "<head><noscript></noscript>", got vs want: ---- | <html> | <head> | <noscript> ---- | <html> | <head> | <noscript> | <body> ---- parse_test.go:276: testdata/webkit/noscript01.dat test #3 "<head><noscript> </noscript>", got vs want: ---- | <html> | <head> | <noscript> | " " ---- | <html> | <head> | <noscript> | " " | <body> ---- parse_test.go:276: testdata/webkit/noscript01.dat test #4 "<head><noscript><!--foo--></noscript>", got vs want: ---- | <html> | <head> | <noscript> | <!-- foo --> ---- | <html> | <head> | <noscript> | <!-- foo --> | <body> ---- parse_test.go:276: testdata/webkit/noscript01.dat test #5 "<head><noscript><basefont><!--foo--></noscript>", got vs want: ---- | <html> | <head> | <noscript> | <basefont> | <!-- foo --> ---- | <html> | <head> | <noscript> | <basefont> | <!-- foo --> | <body> ---- parse_test.go:276: testdata/webkit/noscript01.dat test #6 "<head><noscript><bgsound><!--foo--></noscript>", got vs want: ---- | <html> | <head> | <noscript> | <bgsound> | <!-- foo --> ---- | <html> | <head> | <noscript> | <bgsound> | <!-- foo --> | <body> ---- parse_test.go:276: testdata/webkit/noscript01.dat test #7 "<head><noscript><link><!--foo--></noscript>", got vs want: ---- | <html> | <head> | <noscript> | <link> | <!-- foo --> ---- | <html> | <head> | <noscript> | <link> | <!-- foo --> | <body> ---- parse_test.go:276: testdata/webkit/noscript01.dat test #8 "<head><noscript><meta><!--foo--></noscript>", got vs want: ---- | <html> | <head> | <noscript> | <meta> | <!-- foo --> ---- | <html> | <head> | <noscript> | <meta> | <!-- foo --> | <body> ---- parse_test.go:276: testdata/webkit/noscript01.dat test #9 "<head><noscript><noframes>XXX</noscript></noframes></noscript>", got vs want: ---- | <html> | <head> | <noscript> | <noframes> | "XXX</noscript>" ---- | <html> | <head> | <noscript> | <noframes> | "XXX</noscript>" | <body> ---- parse_test.go:276: testdata/webkit/noscript01.dat test #10 "<head><noscript><style>XXX</style></noscript>", got vs want: ---- | <html> | <head> | <noscript> | <style> | "XXX" ---- | <html> | <head> | <noscript> | <style> | "XXX" | <body> ---- parse_test.go:276: testdata/webkit/noscript01.dat test #12 "<head><noscript><head class=\"foo\"><!--foo--></noscript>", got vs want: ---- | <html> | <head> | <noscript> | <!-- foo --> ---- | <html> | <head> | <noscript> | <!-- foo --> | <body> ---- parse_test.go:276: testdata/webkit/noscript01.dat test #13 "<head><noscript><noscript class=\"foo\"><!--foo--></noscript>", got vs want: ---- | <html> | <head> | <noscript> | <!-- foo --> ---- | <html> | <head> | <noscript> | <!-- foo --> | <body> ---- parse_test.go:276: testdata/webkit/noscript01.dat test #14 "<head><noscript></p><!--foo--></noscript>", got vs want: ---- | <html> | <head> | <noscript> | <!-- foo --> ---- | <html> | <head> | <noscript> | <!-- foo --> | <body> ---- parse_test.go:276: testdata/webkit/noscript01.dat test #17 "<head><noscript>", got vs want: ---- | <html> | <head> | <noscript> ---- | <html> | <head> | <noscript> | <body> ---- parse_test.go:276: testdata/webkit/template.dat test #1 "<template>Hello</template>", got vs want: ---- | <html> | <head> | <template> | content | "Hello" ---- | <html> | <head> | <template> | content | "Hello" | <body> ---- parse_test.go:276: testdata/webkit/template.dat test #3 "<html><template>Hello</template>", got vs want: ---- | <html> | <head> | <template> | content | "Hello" ---- | <html> | <head> | <template> | content | "Hello" | <body> ---- parse_test.go:276: testdata/webkit/template.dat test #4 "<head><template><div></div></template></head>", got vs want: ---- | <html> | <head> | <template> | content | <div> ---- | <html> | <head> | <template> | content | <div> | <body> ---- parse_test.go:276: testdata/webkit/template.dat test #20 "<template><option></option></select><option></option></template>", got vs want: ---- | <html> | <head> | <template> | content | <option> | <option> ---- | <html> | <head> | <template> | content | <option> | <option> | <body> ---- parse_test.go:276: testdata/webkit/template.dat test #40 "<template><frame></frame></frameset><frame></frame></template>", got vs want: ---- | <html> | <head> | <template> | content ---- | <html> | <head> | <template> | content | <body> ---- parse_test.go:276: testdata/webkit/template.dat test #41 "<template><div><frameset><span></span></div><span></span></template>", got vs want: ---- | <html> | <head> | <template> | content | <div> | <span> | <span> ---- | <html> | <head> | <template> | content | <div> | <span> | <span> | <body> ---- parse_test.go:276: testdata/webkit/template.dat test #65 "<html a=b><template><div><html b=c><span></template>", got vs want: ---- | <html> | a="b" | <head> | <template> | content | <div> | <span> ---- | <html> | a="b" | <head> | <template> | content | <div> | <span> | <body> ---- parse_test.go:276: testdata/webkit/template.dat test #66 "<html a=b><template><col></col><html b=c><col></col></template>", got vs want: ---- | <html> | a="b" | <head> | <template> | content | <col> | <col> ---- | <html> | a="b" | <head> | <template> | content | <col> | <col> | <body> ---- parse_test.go:276: testdata/webkit/template.dat test #67 "<html a=b><template><frame></frame><html b=c><frame></frame></template>", got vs want: ---- | <html> | a="b" | <head> | <template> | content ---- | <html> | a="b" | <head> | <template> | content | <body> ---- parse_test.go:276: testdata/webkit/template.dat test #80 "<template></figcaption><sub><table></table>", got vs want: ---- | <html> | <head> | <template> | content | <sub> | <table> ---- | <html> | <head> | <template> | content | <sub> | <table> | <body> ---- parse_test.go:276: testdata/webkit/template.dat test #81 "<template><template>", got vs want: ---- | <html> | <head> | <template> | content | <template> | content ---- | <html> | <head> | <template> | content | <template> | content | <body> ---- parse_test.go:276: testdata/webkit/template.dat test #82 "<template><div>", got vs want: ---- | <html> | <head> | <template> | content | <div> ---- | <html> | <head> | <template> | content | <div> | <body> ---- parse_test.go:276: testdata/webkit/template.dat test #83 "<template><template><div>", got vs want: ---- | <html> | <head> | <template> | content | <template> | content | <div> ---- | <html> | <head> | <template> | content | <template> | content | <div> | <body> ---- parse_test.go:276: testdata/webkit/template.dat test #84 "<template><template><table>", got vs want: ---- | <html> | <head> | <template> | content | <template> | content | <table> ---- | <html> | <head> | <template> | content | <template> | content | <table> | <body> ---- parse_test.go:276: testdata/webkit/template.dat test #85 "<template><template><tbody>", got vs want: ---- | <html> | <head> | <template> | content | <template> | content | <tbody> ---- | <html> | <head> | <template> | content | <template> | content | <tbody> | <body> ---- parse_test.go:276: testdata/webkit/template.dat test #86 "<template><template><tr>", got vs want: ---- | <html> | <head> | <template> | content | <template> | content | <tr> ---- | <html> | <head> | <template> | content | <template> | content | <tr> | <body> ---- parse_test.go:276: testdata/webkit/template.dat test #87 "<template><template><td>", got vs want: ---- | <html> | <head> | <template> | content | <template> | content | <td> ---- | <html> | <head> | <template> | content | <template> | content | <td> | <body> ---- parse_test.go:276: testdata/webkit/template.dat test #88 "<template><template><caption>", got vs want: ---- | <html> | <head> | <template> | content | <template> | content | <caption> ---- | <html> | <head> | <template> | content | <template> | content | <caption> | <body> ---- parse_test.go:276: testdata/webkit/template.dat test #89 "<template><template><colgroup>", got vs want: ---- | <html> | <head> | <template> | content | <template> | content | <colgroup> ---- | <html> | <head> | <template> | content | <template> | content | <colgroup> | <body> ---- parse_test.go:276: testdata/webkit/template.dat test #90 "<template><template><col>", got vs want: ---- | <html> | <head> | <template> | content | <template> | content | <col> ---- | <html> | <head> | <template> | content | <template> | content | <col> | <body> ---- parse_test.go:276: testdata/webkit/template.dat test #91 "<template><template><tbody><select>", got vs want: ---- | <html> | <head> | <template> | content | <template> | content | <tbody> | <select> ---- | <html> | <head> | <template> | content | <template> | content | <tbody> | <select> | <body> ---- parse_test.go:276: testdata/webkit/template.dat test #92 "<template><template><table>Foo", got vs want: ---- | <html> | <head> | <template> | content | <template> | content | "Foo" | <table> ---- | <html> | <head> | <template> | content | <template> | content | "Foo" | <table> | <body> ---- parse_test.go:276: testdata/webkit/template.dat test #93 "<template><template><frame>", got vs want: ---- | <html> | <head> | <template> | content | <template> | content ---- | <html> | <head> | <template> | content | <template> | content | <body> ---- parse_test.go:276: testdata/webkit/template.dat test #94 "<template><template><script>var i", got vs want: ---- | <html> | <head> | <template> | content | <template> | content | <script> | "var i" ---- | <html> | <head> | <template> | content | <template> | content | <script> | "var i" | <body> ---- parse_test.go:276: testdata/webkit/template.dat test #95 "<template><template><style>var i", got vs want: ---- | <html> | <head> | <template> | content | <template> | content | <style> | "var i" ---- | <html> | <head> | <template> | content | <template> | content | <style> | "var i" | <body> ---- parse_test.go:276: testdata/webkit/template.dat test #99 "<template><svg><template>", got vs want: ---- | <html> | <head> | <template> | content | <svg svg> | <svg template> ---- | <html> | <head> | <template> | content | <svg svg> | <svg template> | <body> ---- parse_test.go:276: testdata/webkit/template.dat test #104 "<head></head><template>", got vs want: ---- | <html> | <head> | <template> | content ---- | <html> | <head> | <template> | content | <body> ---- parse_test.go:276: testdata/webkit/template.dat test #105 "<head></head><template>Foo</template>", got vs want: ---- | <html> | <head> | <template> | content | "Foo" ---- | <html> | <head> | <template> | content | "Foo" | <body> ---- parse_test.go:276: testdata/webkit/template.dat test #107 "<template><a><table><a>", got vs want: ---- | <html> | <head> | <template> | content | <a> | <a> | <table> ---- | <html> | <head> | <template> | content | <a> | <a> | <table> | <body> ---- parse_test.go:276: testdata/webkit/tests1.dat test #3 "<html>", got vs want: ---- | <html> | <head> ---- | <html> | <head> | <body> ---- parse_test.go:276: testdata/webkit/tests1.dat test #4 "<head>", got vs want: ---- | <html> | <head> ---- | <html> | <head> | <body> ---- parse_test.go:276: testdata/webkit/tests1.dat test #6 "<html><head>", got vs want: ---- | <html> | <head> ---- | <html> | <head> | <body> ---- parse_test.go:276: testdata/webkit/tests1.dat test #7 "<html><head></head>", got vs want: ---- | <html> | <head> ---- | <html> | <head> | <body> ---- parse_test.go:276: testdata/webkit/tests1.dat test #16 "</head>", got vs want: ---- | <html> | <head> ---- | <html> | <head> | <body> ---- parse_test.go:276: testdata/webkit/tests1.dat test #38 "</#", got vs want: ---- | <!-- # --> | <html> | <head> ---- | <!-- # --> | <html> | <head> | <body> ---- parse_test.go:276: testdata/webkit/tests1.dat test #39 "<?", got vs want: ---- | <!-- ? --> | <html> | <head> ---- | <!-- ? --> | <html> | <head> | <body> ---- parse_test.go:276: testdata/webkit/tests1.dat test #40 "<?#", got vs want: ---- | <!-- ?# --> | <html> | <head> ---- | <!-- ?# --> | <html> | <head> | <body> ---- parse_test.go:276: testdata/webkit/tests1.dat test #41 "<!", got vs want: ---- | <!-- --> | <html> | <head> ---- | <!-- --> | <html> | <head> | <body> ---- parse_test.go:276: testdata/webkit/tests1.dat test #42 "<!#", got vs want: ---- | <!-- # --> | <html> | <head> ---- | <!-- # --> | <html> | <head> | <body> ---- parse_test.go:276: testdata/webkit/tests1.dat test #43 "<?COMMENT?>", got vs want: ---- | <!-- ?COMMENT? --> | <html> | <head> ---- | <!-- ?COMMENT? --> | <html> | <head> | <body> ---- parse_test.go:276: testdata/webkit/tests1.dat test #44 "<!COMMENT>", got vs want: ---- | <!-- COMMENT --> | <html> | <head> ---- | <!-- COMMENT --> | <html> | <head> | <body> ---- parse_test.go:276: testdata/webkit/tests1.dat test #45 "</ COMMENT >", got vs want: ---- | <!-- COMMENT --> | <html> | <head> ---- | <!-- COMMENT --> | <html> | <head> | <body> ---- parse_test.go:276: testdata/webkit/tests1.dat test #46 "<?COM--MENT?>", got vs want: ---- | <!-- ?COM--MENT? --> | <html> | <head> ---- | <!-- ?COM--MENT? --> | <html> | <head> | <body> ---- parse_test.go:276: testdata/webkit/tests1.dat test #47 "<!COM--MENT>", got vs want: ---- | <!-- COM--MENT --> | <html> | <head> ---- | <!-- COM--MENT --> | <html> | <head> | <body> ---- parse_test.go:276: testdata/webkit/tests1.dat test #48 "</ COM--MENT >", got vs want: ---- | <!-- COM--MENT --> | <html> | <head> ---- | <!-- COM--MENT --> | <html> | <head> | <body> ---- parse_test.go:276: testdata/webkit/tests1.dat test #49 "<!DOCTYPE html><style> EOF", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <style> | " EOF" ---- | <!DOCTYPE html> | <html> | <head> | <style> | " EOF" | <body> ---- parse_test.go:276: testdata/webkit/tests1.dat test #61 "", got vs want: ---- | <html> | <head> ---- | <html> | <head> | <body> ---- parse_test.go:276: testdata/webkit/tests1.dat test #83 "<title><meta><meta>", got vs want: ---- | | | | "<meta>" | <link> | <title> | "<meta>" ---- | <html> | <head> | <title> | "<meta>" | <link> | <title> | "<meta>" | <body> ---- parse_test.go:276: testdata/webkit/tests1.dat test #84 "<style><!--</style><meta><script>--><link></script>", got vs want: ---- | <html> | <head> | <style> | "<!--" | <meta> | <script> | "--><link>" ---- | <html> | <head> | <style> | "<!--" | <meta> | <script> | "--><link>" | <body> ---- parse_test.go:276: testdata/webkit/tests1.dat test #85 "<head><meta></head><link>", got vs want: ---- | <html> | <head> | <meta> | <link> ---- | <html> | <head> | <meta> | <link> | <body> ---- parse_test.go:276: testdata/webkit/tests14.dat test #3 "<!DOCTYPE html><html xml:lang=bar><html xml:lang=foo>", got vs want: ---- | <!DOCTYPE html> | <html> | xml:lang="bar" | <head> ---- | <!DOCTYPE html> | <html> | xml:lang="bar" | <head> | <body> ---- parse_test.go:276: testdata/webkit/tests14.dat test #4 "<!DOCTYPE html><html 123=456>", got vs want: ---- | <!DOCTYPE html> | <html> | 123="456" | <head> ---- | <!DOCTYPE html> | <html> | 123="456" | <head> | <body> ---- parse_test.go:276: testdata/webkit/tests14.dat test #5 "<!DOCTYPE html><html 123=456><html 789=012>", got vs want: ---- | <!DOCTYPE html> | <html> | 123="456" | 789="012" | <head> ---- | <!DOCTYPE html> | <html> | 123="456" | 789="012" | <head> | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #0 "<!doctype html><script>", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <script> ---- | <!DOCTYPE html> | <html> | <head> | <script> | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #1 "<!doctype html><script>a", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <script> | "a" ---- | <!DOCTYPE html> | <html> | <head> | <script> | "a" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #2 "<!doctype html><script><", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<" ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #3 "<!doctype html><script></", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <script> | "</" ---- | <!DOCTYPE html> | <html> | <head> | <script> | "</" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #4 "<!doctype html><script></S", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <script> | "</S" ---- | <!DOCTYPE html> | <html> | <head> | <script> | "</S" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #5 "<!doctype html><script></SC", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <script> | "</SC" ---- | <!DOCTYPE html> | <html> | <head> | <script> | "</SC" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #6 "<!doctype html><script></SCR", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <script> | "</SCR" ---- | <!DOCTYPE html> | <html> | <head> | <script> | "</SCR" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #7 "<!doctype html><script></SCRI", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <script> | "</SCRI" ---- | <!DOCTYPE html> | <html> | <head> | <script> | "</SCRI" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #8 "<!doctype html><script></SCRIP", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <script> | "</SCRIP" ---- | <!DOCTYPE html> | <html> | <head> | <script> | "</SCRIP" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #9 "<!doctype html><script></SCRIPT", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <script> | "</SCRIPT" ---- | <!DOCTYPE html> | <html> | <head> | <script> | "</SCRIPT" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #10 "<!doctype html><script></SCRIPT ", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <script> ---- | <!DOCTYPE html> | <html> | <head> | <script> | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #11 "<!doctype html><script></s", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <script> | "</s" ---- | <!DOCTYPE html> | <html> | <head> | <script> | "</s" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #12 "<!doctype html><script></sc", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <script> | "</sc" ---- | <!DOCTYPE html> | <html> | <head> | <script> | "</sc" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #13 "<!doctype html><script></scr", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <script> | "</scr" ---- | <!DOCTYPE html> | <html> | <head> | <script> | "</scr" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #14 "<!doctype html><script></scri", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <script> | "</scri" ---- | <!DOCTYPE html> | <html> | <head> | <script> | "</scri" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #15 "<!doctype html><script></scrip", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <script> | "</scrip" ---- | <!DOCTYPE html> | <html> | <head> | <script> | "</scrip" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #16 "<!doctype html><script></script", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <script> | "</script" ---- | <!DOCTYPE html> | <html> | <head> | <script> | "</script" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #17 "<!doctype html><script></script ", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <script> ---- | <!DOCTYPE html> | <html> | <head> | <script> | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #18 "<!doctype html><script><!", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!" ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #19 "<!doctype html><script><!a", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!a" ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!a" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #20 "<!doctype html><script><!-", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!-" ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!-" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #21 "<!doctype html><script><!-a", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!-a" ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!-a" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #22 "<!doctype html><script><!--", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--" ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #23 "<!doctype html><script><!--a", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--a" ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--a" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #24 "<!doctype html><script><!--<", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<" ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #25 "<!doctype html><script><!--<a", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<a" ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<a" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #26 "<!doctype html><script><!--</", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--</" ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--</" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #27 "<!doctype html><script><!--</script", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--</script" ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--</script" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #28 "<!doctype html><script><!--</script ", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--" ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #29 "<!doctype html><script><!--<s", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<s" ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<s" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #30 "<!doctype html><script><!--<script", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script" ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #31 "<!doctype html><script><!--<script ", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script " ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script " | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #32 "<!doctype html><script><!--<script <", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script <" ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script <" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #33 "<!doctype html><script><!--<script <a", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script <a" ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script <a" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #34 "<!doctype html><script><!--<script </", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script </" ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script </" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #35 "<!doctype html><script><!--<script </s", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script </s" ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script </s" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #36 "<!doctype html><script><!--<script </script", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script </script" ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script </script" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #37 "<!doctype html><script><!--<script </scripta", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script </scripta" ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script </scripta" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #38 "<!doctype html><script><!--<script </script ", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script </script " ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script </script " | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #39 "<!doctype html><script><!--<script </script>", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script </script>" ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script </script>" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #40 "<!doctype html><script><!--<script </script/", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script </script/" ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script </script/" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #41 "<!doctype html><script><!--<script </script <", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script </script <" ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script </script <" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #42 "<!doctype html><script><!--<script </script <a", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script </script <a" ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script </script <a" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #43 "<!doctype html><script><!--<script </script </", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script </script </" ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script </script </" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #44 "<!doctype html><script><!--<script </script </script", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script </script </script" ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script </script </script" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #45 "<!doctype html><script><!--<script </script </script ", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script </script " ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script </script " | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #46 "<!doctype html><script><!--<script </script </script/", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script </script " ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script </script " | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #47 "<!doctype html><script><!--<script </script </script>", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script </script " ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script </script " | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #48 "<!doctype html><script><!--<script -", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script -" ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script -" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #49 "<!doctype html><script><!--<script -a", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script -a" ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script -a" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #50 "<!doctype html><script><!--<script -<", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script -<" ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script -<" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #51 "<!doctype html><script><!--<script --", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script --" ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script --" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #52 "<!doctype html><script><!--<script --a", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script --a" ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script --a" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #53 "<!doctype html><script><!--<script --<", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script --<" ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script --<" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #54 "<!doctype html><script><!--<script -->", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script -->" ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script -->" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #55 "<!doctype html><script><!--<script --><", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script --><" ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script --><" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #56 "<!doctype html><script><!--<script --></", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script --></" ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script --></" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #57 "<!doctype html><script><!--<script --></script", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script --></script" ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script --></script" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #58 "<!doctype html><script><!--<script --></script ", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script -->" ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script -->" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #59 "<!doctype html><script><!--<script --></script/", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script -->" ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script -->" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #60 "<!doctype html><script><!--<script --></script>", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script -->" ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script -->" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #61 "<!doctype html><script><!--<script><\\/script>--></script>", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script><\/script>-->" ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script><\/script>-->" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #62 "<!doctype html><script><!--<script></scr'+'ipt>--></script>", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script></scr'+'ipt>-->" ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script></scr'+'ipt>-->" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #63 "<!doctype html><script><!--<script></script><script></script></script>", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script></script><script></script>" ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script></script><script></script>" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #64 "<!doctype html><script><!--<script></script><script></script>--><!--</script>", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script></script><script></script>--><!--" ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script></script><script></script>--><!--" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #65 "<!doctype html><script><!--<script></script><script></script>-- ></script>", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script></script><script></script>-- >" ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script></script><script></script>-- >" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #66 "<!doctype html><script><!--<script></script><script></script>- -></script>", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script></script><script></script>- ->" ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script></script><script></script>- ->" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #67 "<!doctype html><script><!--<script></script><script></script>- - ></script>", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script></script><script></script>- - >" ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script></script><script></script>- - >" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #68 "<!doctype html><script><!--<script></script><script></script>-></script>", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script></script><script></script>->" ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script></script><script></script>->" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #69 "<!doctype html><script><!--<script>--!></script>X", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script>--!></script>X" ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script>--!></script>X" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #71 "<!doctype html><script><!--<script></scr'+'ipt></script>X", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script></scr'+'ipt></script>X" ---- | <!DOCTYPE html> | <html> | <head> | <script> | "<!--<script></scr'+'ipt></script>X" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #77 "<!doctype html><style><!--...</style><!-- --><style>@import ...</style>", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <style> | "<!--..." | <!-- --> | <style> | "@import ..." ---- | <!DOCTYPE html> | <html> | <head> | <style> | "<!--..." | <!-- --> | <style> | "@import ..." | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #78 "<!doctype html><style>...<style><!--...</style><!-- --></style>", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <style> | "...<style><!--..." | <!-- --> ---- | <!DOCTYPE html> | <html> | <head> | <style> | "...<style><!--..." | <!-- --> | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #81 "<!doctype html><title></title>", got vs want: ---- | | | | | "" ---- | | | | | "" | ---- parse_test.go:276: testdata/webkit/tests16.dat test #82 "foo/title><link></head><body>X", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <title> | "foo/title><link></head><body>X" ---- | <!DOCTYPE html> | <html> | <head> | <title> | "foo/title><link></head><body>X" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #84 "<!doctype html><noscript><!--<noscript></noscript>--></noscript>", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <noscript> | <!-- <noscript></noscript> --> ---- | <!DOCTYPE html> | <html> | <head> | <noscript> | <!-- <noscript></noscript> --> | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #86 "<!doctype html><noscript><!--</noscript>X<noscript>--></noscript>", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <noscript> | <!-- </noscript>X<noscript> --> ---- | <!DOCTYPE html> | <html> | <head> | <noscript> | <!-- </noscript>X<noscript> --> | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #99 "<script>", got vs want: ---- | <html> | <head> | <script> ---- | <html> | <head> | <script> | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #100 "<script>a", got vs want: ---- | <html> | <head> | <script> | "a" ---- | <html> | <head> | <script> | "a" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #101 "<script><", got vs want: ---- | <html> | <head> | <script> | "<" ---- | <html> | <head> | <script> | "<" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #102 "<script></", got vs want: ---- | <html> | <head> | <script> | "</" ---- | <html> | <head> | <script> | "</" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #103 "<script></S", got vs want: ---- | <html> | <head> | <script> | "</S" ---- | <html> | <head> | <script> | "</S" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #104 "<script></SC", got vs want: ---- | <html> | <head> | <script> | "</SC" ---- | <html> | <head> | <script> | "</SC" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #105 "<script></SCR", got vs want: ---- | <html> | <head> | <script> | "</SCR" ---- | <html> | <head> | <script> | "</SCR" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #106 "<script></SCRI", got vs want: ---- | <html> | <head> | <script> | "</SCRI" ---- | <html> | <head> | <script> | "</SCRI" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #107 "<script></SCRIP", got vs want: ---- | <html> | <head> | <script> | "</SCRIP" ---- | <html> | <head> | <script> | "</SCRIP" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #108 "<script></SCRIPT", got vs want: ---- | <html> | <head> | <script> | "</SCRIPT" ---- | <html> | <head> | <script> | "</SCRIPT" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #109 "<script></SCRIPT ", got vs want: ---- | <html> | <head> | <script> ---- | <html> | <head> | <script> | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #110 "<script></s", got vs want: ---- | <html> | <head> | <script> | "</s" ---- | <html> | <head> | <script> | "</s" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #111 "<script></sc", got vs want: ---- | <html> | <head> | <script> | "</sc" ---- | <html> | <head> | <script> | "</sc" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #112 "<script></scr", got vs want: ---- | <html> | <head> | <script> | "</scr" ---- | <html> | <head> | <script> | "</scr" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #113 "<script></scri", got vs want: ---- | <html> | <head> | <script> | "</scri" ---- | <html> | <head> | <script> | "</scri" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #114 "<script></scrip", got vs want: ---- | <html> | <head> | <script> | "</scrip" ---- | <html> | <head> | <script> | "</scrip" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #115 "<script></script", got vs want: ---- | <html> | <head> | <script> | "</script" ---- | <html> | <head> | <script> | "</script" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #116 "<script></script ", got vs want: ---- | <html> | <head> | <script> ---- | <html> | <head> | <script> | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #117 "<script><!", got vs want: ---- | <html> | <head> | <script> | "<!" ---- | <html> | <head> | <script> | "<!" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #118 "<script><!a", got vs want: ---- | <html> | <head> | <script> | "<!a" ---- | <html> | <head> | <script> | "<!a" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #119 "<script><!-", got vs want: ---- | <html> | <head> | <script> | "<!-" ---- | <html> | <head> | <script> | "<!-" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #120 "<script><!-a", got vs want: ---- | <html> | <head> | <script> | "<!-a" ---- | <html> | <head> | <script> | "<!-a" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #121 "<script><!--", got vs want: ---- | <html> | <head> | <script> | "<!--" ---- | <html> | <head> | <script> | "<!--" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #122 "<script><!--a", got vs want: ---- | <html> | <head> | <script> | "<!--a" ---- | <html> | <head> | <script> | "<!--a" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #123 "<script><!--<", got vs want: ---- | <html> | <head> | <script> | "<!--<" ---- | <html> | <head> | <script> | "<!--<" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #124 "<script><!--<a", got vs want: ---- | <html> | <head> | <script> | "<!--<a" ---- | <html> | <head> | <script> | "<!--<a" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #125 "<script><!--</", got vs want: ---- | <html> | <head> | <script> | "<!--</" ---- | <html> | <head> | <script> | "<!--</" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #126 "<script><!--</script", got vs want: ---- | <html> | <head> | <script> | "<!--</script" ---- | <html> | <head> | <script> | "<!--</script" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #127 "<script><!--</script ", got vs want: ---- | <html> | <head> | <script> | "<!--" ---- | <html> | <head> | <script> | "<!--" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #128 "<script><!--<s", got vs want: ---- | <html> | <head> | <script> | "<!--<s" ---- | <html> | <head> | <script> | "<!--<s" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #129 "<script><!--<script", got vs want: ---- | <html> | <head> | <script> | "<!--<script" ---- | <html> | <head> | <script> | "<!--<script" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #130 "<script><!--<script ", got vs want: ---- | <html> | <head> | <script> | "<!--<script " ---- | <html> | <head> | <script> | "<!--<script " | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #131 "<script><!--<script <", got vs want: ---- | <html> | <head> | <script> | "<!--<script <" ---- | <html> | <head> | <script> | "<!--<script <" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #132 "<script><!--<script <a", got vs want: ---- | <html> | <head> | <script> | "<!--<script <a" ---- | <html> | <head> | <script> | "<!--<script <a" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #133 "<script><!--<script </", got vs want: ---- | <html> | <head> | <script> | "<!--<script </" ---- | <html> | <head> | <script> | "<!--<script </" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #134 "<script><!--<script </s", got vs want: ---- | <html> | <head> | <script> | "<!--<script </s" ---- | <html> | <head> | <script> | "<!--<script </s" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #135 "<script><!--<script </script", got vs want: ---- | <html> | <head> | <script> | "<!--<script </script" ---- | <html> | <head> | <script> | "<!--<script </script" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #136 "<script><!--<script </scripta", got vs want: ---- | <html> | <head> | <script> | "<!--<script </scripta" ---- | <html> | <head> | <script> | "<!--<script </scripta" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #137 "<script><!--<script </script ", got vs want: ---- | <html> | <head> | <script> | "<!--<script </script " ---- | <html> | <head> | <script> | "<!--<script </script " | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #138 "<script><!--<script </script>", got vs want: ---- | <html> | <head> | <script> | "<!--<script </script>" ---- | <html> | <head> | <script> | "<!--<script </script>" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #139 "<script><!--<script </script/", got vs want: ---- | <html> | <head> | <script> | "<!--<script </script/" ---- | <html> | <head> | <script> | "<!--<script </script/" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #140 "<script><!--<script </script <", got vs want: ---- | <html> | <head> | <script> | "<!--<script </script <" ---- | <html> | <head> | <script> | "<!--<script </script <" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #141 "<script><!--<script </script <a", got vs want: ---- | <html> | <head> | <script> | "<!--<script </script <a" ---- | <html> | <head> | <script> | "<!--<script </script <a" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #142 "<script><!--<script </script </", got vs want: ---- | <html> | <head> | <script> | "<!--<script </script </" ---- | <html> | <head> | <script> | "<!--<script </script </" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #143 "<script><!--<script </script </script", got vs want: ---- | <html> | <head> | <script> | "<!--<script </script </script" ---- | <html> | <head> | <script> | "<!--<script </script </script" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #144 "<script><!--<script </script </script ", got vs want: ---- | <html> | <head> | <script> | "<!--<script </script " ---- | <html> | <head> | <script> | "<!--<script </script " | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #145 "<script><!--<script </script </script/", got vs want: ---- | <html> | <head> | <script> | "<!--<script </script " ---- | <html> | <head> | <script> | "<!--<script </script " | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #146 "<script><!--<script </script </script>", got vs want: ---- | <html> | <head> | <script> | "<!--<script </script " ---- | <html> | <head> | <script> | "<!--<script </script " | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #147 "<script><!--<script -", got vs want: ---- | <html> | <head> | <script> | "<!--<script -" ---- | <html> | <head> | <script> | "<!--<script -" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #148 "<script><!--<script -a", got vs want: ---- | <html> | <head> | <script> | "<!--<script -a" ---- | <html> | <head> | <script> | "<!--<script -a" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #149 "<script><!--<script --", got vs want: ---- | <html> | <head> | <script> | "<!--<script --" ---- | <html> | <head> | <script> | "<!--<script --" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #150 "<script><!--<script --a", got vs want: ---- | <html> | <head> | <script> | "<!--<script --a" ---- | <html> | <head> | <script> | "<!--<script --a" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #151 "<script><!--<script -->", got vs want: ---- | <html> | <head> | <script> | "<!--<script -->" ---- | <html> | <head> | <script> | "<!--<script -->" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #152 "<script><!--<script --><", got vs want: ---- | <html> | <head> | <script> | "<!--<script --><" ---- | <html> | <head> | <script> | "<!--<script --><" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #153 "<script><!--<script --></", got vs want: ---- | <html> | <head> | <script> | "<!--<script --></" ---- | <html> | <head> | <script> | "<!--<script --></" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #154 "<script><!--<script --></script", got vs want: ---- | <html> | <head> | <script> | "<!--<script --></script" ---- | <html> | <head> | <script> | "<!--<script --></script" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #155 "<script><!--<script --></script ", got vs want: ---- | <html> | <head> | <script> | "<!--<script -->" ---- | <html> | <head> | <script> | "<!--<script -->" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #156 "<script><!--<script --></script/", got vs want: ---- | <html> | <head> | <script> | "<!--<script -->" ---- | <html> | <head> | <script> | "<!--<script -->" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #157 "<script><!--<script --></script>", got vs want: ---- | <html> | <head> | <script> | "<!--<script -->" ---- | <html> | <head> | <script> | "<!--<script -->" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #158 "<script><!--<script><\\/script>--></script>", got vs want: ---- | <html> | <head> | <script> | "<!--<script><\/script>-->" ---- | <html> | <head> | <script> | "<!--<script><\/script>-->" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #159 "<script><!--<script></scr'+'ipt>--></script>", got vs want: ---- | <html> | <head> | <script> | "<!--<script></scr'+'ipt>-->" ---- | <html> | <head> | <script> | "<!--<script></scr'+'ipt>-->" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #160 "<script><!--<script></script><script></script></script>", got vs want: ---- | <html> | <head> | <script> | "<!--<script></script><script></script>" ---- | <html> | <head> | <script> | "<!--<script></script><script></script>" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #161 "<script><!--<script></script><script></script>--><!--</script>", got vs want: ---- | <html> | <head> | <script> | "<!--<script></script><script></script>--><!--" ---- | <html> | <head> | <script> | "<!--<script></script><script></script>--><!--" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #162 "<script><!--<script></script><script></script>-- ></script>", got vs want: ---- | <html> | <head> | <script> | "<!--<script></script><script></script>-- >" ---- | <html> | <head> | <script> | "<!--<script></script><script></script>-- >" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #163 "<script><!--<script></script><script></script>- -></script>", got vs want: ---- | <html> | <head> | <script> | "<!--<script></script><script></script>- ->" ---- | <html> | <head> | <script> | "<!--<script></script><script></script>- ->" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #164 "<script><!--<script></script><script></script>- - ></script>", got vs want: ---- | <html> | <head> | <script> | "<!--<script></script><script></script>- - >" ---- | <html> | <head> | <script> | "<!--<script></script><script></script>- - >" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #165 "<script><!--<script></script><script></script>-></script>", got vs want: ---- | <html> | <head> | <script> | "<!--<script></script><script></script>->" ---- | <html> | <head> | <script> | "<!--<script></script><script></script>->" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #166 "<script><!--<script>--!></script>X", got vs want: ---- | <html> | <head> | <script> | "<!--<script>--!></script>X" ---- | <html> | <head> | <script> | "<!--<script>--!></script>X" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #168 "<script><!--<script></scr'+'ipt></script>X", got vs want: ---- | <html> | <head> | <script> | "<!--<script></scr'+'ipt></script>X" ---- | <html> | <head> | <script> | "<!--<script></scr'+'ipt></script>X" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #174 "<style><!--...</style><!-- --><style>@import ...</style>", got vs want: ---- | <html> | <head> | <style> | "<!--..." | <!-- --> | <style> | "@import ..." ---- | <html> | <head> | <style> | "<!--..." | <!-- --> | <style> | "@import ..." | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #175 "<style>...<style><!--...</style><!-- --></style>", got vs want: ---- | <html> | <head> | <style> | "...<style><!--..." | <!-- --> ---- | <html> | <head> | <style> | "...<style><!--..." | <!-- --> | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #178 "<title></title>", got vs want: ---- | | | | "" ---- | | | | "" | ---- parse_test.go:276: testdata/webkit/tests16.dat test #179 "foo/title><link></head><body>X", got vs want: ---- | <html> | <head> | <title> | "foo/title><link></head><body>X" ---- | <html> | <head> | <title> | "foo/title><link></head><body>X" | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #181 "<noscript><!--<noscript></noscript>--></noscript>", got vs want: ---- | <html> | <head> | <noscript> | <!-- <noscript></noscript> --> ---- | <html> | <head> | <noscript> | <!-- <noscript></noscript> --> | <body> ---- parse_test.go:276: testdata/webkit/tests16.dat test #183 "<noscript><!--</noscript>X<noscript>--></noscript>", got vs want: ---- | <html> | <head> | <noscript> | <!-- </noscript>X<noscript> --> ---- | <html> | <head> | <noscript> | <!-- </noscript>X<noscript> --> | <body> ---- parse_test.go:276: testdata/webkit/tests18.dat test #15 "<!doctype html><template><plaintext>a</template>b", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <template> | content | <plaintext> | "a</template>b" ---- | <!DOCTYPE html> | <html> | <head> | <template> | content | <plaintext> | "a</template>b" | <body> ---- parse_test.go:276: testdata/webkit/tests19.dat test #1 "<!doctype html><html></p><!--foo-->", got vs want: ---- | <!DOCTYPE html> | <html> | <!-- foo --> | <head> ---- | <!DOCTYPE html> | <html> | <!-- foo --> | <head> | <body> ---- parse_test.go:276: testdata/webkit/tests19.dat test #2 "<!doctype html><head></head></p><!--foo-->", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <!-- foo --> ---- | <!DOCTYPE html> | <html> | <head> | <!-- foo --> | <body> ---- parse_test.go:276: testdata/webkit/tests19.dat test #85 "<!doctype html><meta charset=\"ascii\">", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <meta> | charset="ascii" ---- | <!DOCTYPE html> | <html> | <head> | <meta> | charset="ascii" | <body> ---- parse_test.go:276: testdata/webkit/tests19.dat test #86 "<!doctype html><meta http-equiv=\"content-type\" content=\"text/html;charset=ascii\">", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <meta> | content="text/html;charset=ascii" | http-equiv="content-type" ---- | <!DOCTYPE html> | <html> | <head> | <meta> | content="text/html;charset=ascii" | http-equiv="content-type" | <body> ---- parse_test.go:276: testdata/webkit/tests19.dat test #87 "<!doctype html><head><!--aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa--><meta charset=\"utf8\">", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <!-- aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa --> | <meta> | charset="utf8" ---- | <!DOCTYPE html> | <html> | <head> | <!-- aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa --> | <meta> | charset="utf8" | <body> ---- parse_test.go:276: testdata/webkit/tests19.dat test #88 "<!doctype html><html a=b><head></head><html c=d>", got vs want: ---- | <!DOCTYPE html> | <html> | a="b" | c="d" | <head> ---- | <!DOCTYPE html> | <html> | a="b" | c="d" | <head> | <body> ---- parse_test.go:276: testdata/webkit/tests2.dat test #11 "<script></x", got vs want: ---- | <html> | <head> | <script> | "</x" ---- | <html> | <head> | <script> | "</x" | <body> ---- parse_test.go:276: testdata/webkit/tests2.dat test #16 "</b test", got vs want: ---- | <html> | <head> ---- | <html> | <head> | <body> ---- parse_test.go:276: testdata/webkit/tests2.dat test #18 "<!doctypehtml><scrIPt type=text/x-foobar;baz>X</SCRipt", got vs want: ---- | <!DOCTYPE html> | <html> | <head> | <script> | type="text/x-foobar;baz" | "X</SCRipt" ---- | <!DOCTYPE html> | <html> | <head> | <script> | type="text/x-foobar;baz" | "X</SCRipt" | <body> ---- parse_test.go:276: testdata/webkit/tests2.dat test #34 "<!DOCTYPE html><!-- X", got vs want: ---- | <!DOCTYPE html> | <!-- X --> | <html> | <head> ---- | <!DOCTYPE html> | <!-- X --> | <html> | <head> | <body> ---- parse_test.go:276: testdata/webkit/tests2.dat test #41 "<!DOCTYPE html><!-- XXX - XXX -->", got vs want: ---- | <!DOCTYPE html> | <!-- XXX - XXX --> | <html> | <head> ---- | <!DOCTYPE html> | <!-- XXX - XXX --> | <html> | <head> | <body> ---- parse_test.go:276: testdata/webkit/tests2.dat test #42 "<!DOCTYPE html><!-- XXX - XXX", got vs want: ---- | <!DOCTYPE html> | <!-- XXX - XXX --> | <html> | <head> ---- | <!DOCTYPE html> | <!-- XXX - XXX --> | <html> | <head> | <body> ---- parse_test.go:276: testdata/webkit/tests2.dat test #43 "<!DOCTYPE html><!-- XXX - XXX - XXX -->", got vs want: ---- | <!DOCTYPE html> | <!-- XXX - XXX - XXX --> | <html> | <head> ---- | <!DOCTYPE html> | <!-- XXX - XXX - XXX --> | <html> | <head> | <body> ---- parse_test.go:276: testdata/webkit/tests2.dat test #48 " \n ", got vs want: ---- | <html> | <head> ---- | <html> | <head> | <body> ---- parse_test.go:276: testdata/webkit/tests2.dat test #49 "<!DOCTYPE html> <html>", got vs want: ---- | <!DOCTYPE html> | <html> | <head> ---- | <!DOCTYPE html> | <html> | <head> | <body> ---- parse_test.go:276: testdata/webkit/tests2.dat test #50 "<!DOCTYPE html><script>\n</script> <title>x ", got vs want: ---- | | | | ", got vs want: ---- | | | ", got vs want: ---- | | |