html5lib Parser Test

Summary

Harness status: OK

Found 26 tests

Details

ResultTest NameMessage
Passhtml5lib_scriptdata01.html 3fc7e140adb65f9cfdf39219996f98e0749f398d
Asserts run
Pass
assert_equals("#document\n| <html>\n|   <head>\n|   <body>\n|     \"FOO\"\n|     <script>\n|       \"'Hello'\"\n|     \"BAR\"", "#document\n| <html>\n|   <head>\n|   <body>\n|     \"FOO\"\n|     <script>\n|       \"'Hello'\"\n|     \"BAR\"")
    at Test.<anonymous> ( /html/syntax/parsing/test.js:182:16)
Passhtml5lib_scriptdata01.html 38ab7bda69dfd05e3ff01788cf5dac2d150a712a
Asserts run
Pass
assert_equals("#document\n| <html>\n|   <head>\n|   <body>\n|     \"FOO\"\n|     <script>\n|     \"BAR\"", "#document\n| <html>\n|   <head>\n|   <body>\n|     \"FOO\"\n|     <script>\n|     \"BAR\"")
    at Test.<anonymous> ( /html/syntax/parsing/test.js:182:16)
Passhtml5lib_scriptdata01.html 09abe1da30643fd813db75facc7fde7b75762d43
Asserts run
Pass
assert_equals("#document\n| <html>\n|   <head>\n|   <body>\n|     \"FOO\"\n|     <script>\n|     \"BAR\"", "#document\n| <html>\n|   <head>\n|   <body>\n|     \"FOO\"\n|     <script>\n|     \"BAR\"")
    at Test.<anonymous> ( /html/syntax/parsing/test.js:182:16)
Passhtml5lib_scriptdata01.html 193920d1c0fff50991d61655c529c62075a3da7f
Asserts run
Pass
assert_equals("#document\n| <html>\n|   <head>\n|   <body>\n|     \"FOO\"\n|     <script>\n|     \"BAR\"", "#document\n| <html>\n|   <head>\n|   <body>\n|     \"FOO\"\n|     <script>\n|     \"BAR\"")
    at Test.<anonymous> ( /html/syntax/parsing/test.js:182:16)
Passhtml5lib_scriptdata01.html 66754fc904199af367a0a2b26cc89ea1834939cc
Asserts run
Pass
assert_equals("#document\n| <html>\n|   <head>\n|   <body>\n|     \"FOO\"\n|     <script>\n|     \"BAR\"", "#document\n| <html>\n|   <head>\n|   <body>\n|     \"FOO\"\n|     <script>\n|     \"BAR\"")
    at Test.<anonymous> ( /html/syntax/parsing/test.js:182:16)
Passhtml5lib_scriptdata01.html 8c8a34698899e39e7b0879c07821aeb90f46cd83
Asserts run
Pass
assert_equals("#document\n| <html>\n|   <head>\n|   <body>\n|     \"FOO\"\n|     <script>\n|       type=\"text/plain\"\n|       \"</scriptx>BAR\"", "#document\n| <html>\n|   <head>\n|   <body>\n|     \"FOO\"\n|     <script>\n|       type=\"text/plain\"\n|       \"</scriptx>BAR\"")
    at Test.<anonymous> ( /html/syntax/parsing/test.js:182:16)
Passhtml5lib_scriptdata01.html a454052b572d9952465190ec354ad0ec2defca0b
Asserts run
Pass
assert_equals("#document\n| <html>\n|   <head>\n|   <body>\n|     \"FOO\"\n|     <script>\n|     \"BAR\"", "#document\n| <html>\n|   <head>\n|   <body>\n|     \"FOO\"\n|     <script>\n|     \"BAR\"")
    at Test.<anonymous> ( /html/syntax/parsing/test.js:182:16)
Passhtml5lib_scriptdata01.html 6cc06752976c2cc9a4239f608b47cdb8df2b0b6b
Asserts run
Pass
assert_equals("#document\n| <html>\n|   <head>\n|   <body>\n|     \"FOO\"\n|     <script>\n|       \"'<'\"\n|     \"BAR\"", "#document\n| <html>\n|   <head>\n|   <body>\n|     \"FOO\"\n|     <script>\n|       \"'<'\"\n|     \"BAR\"")
    at Test.<anonymous> ( /html/syntax/parsing/test.js:182:16)
Passhtml5lib_scriptdata01.html 4176aaaa17b9009e1ac8a293acbaa0d0cfd56975
Asserts run
Pass
assert_equals("#document\n| <html>\n|   <head>\n|   <body>\n|     \"FOO\"\n|     <script>\n|       \"'<!'\"\n|     \"BAR\"", "#document\n| <html>\n|   <head>\n|   <body>\n|     \"FOO\"\n|     <script>\n|       \"'<!'\"\n|     \"BAR\"")
    at Test.<anonymous> ( /html/syntax/parsing/test.js:182:16)
Passhtml5lib_scriptdata01.html e05f6594ea01489b55fca25aa79e5cffa43d9587
Asserts run
Pass
assert_equals("#document\n| <html>\n|   <head>\n|   <body>\n|     \"FOO\"\n|     <script>\n|       \"'<!-'\"\n|     \"BAR\"", "#document\n| <html>\n|   <head>\n|   <body>\n|     \"FOO\"\n|     <script>\n|       \"'<!-'\"\n|     \"BAR\"")
    at Test.<anonymous> ( /html/syntax/parsing/test.js:182:16)
Passhtml5lib_scriptdata01.html c7728688e5d12d5350c4228ac82c03a9886bef2f
Asserts run
Pass
assert_equals("#document\n| <html>\n|   <head>\n|   <body>\n|     \"FOO\"\n|     <script>\n|       \"'<!--'\"\n|     \"BAR\"", "#document\n| <html>\n|   <head>\n|   <body>\n|     \"FOO\"\n|     <script>\n|       \"'<!--'\"\n|     \"BAR\"")
    at Test.<anonymous> ( /html/syntax/parsing/test.js:182:16)
Passhtml5lib_scriptdata01.html c2a2bd66cbf430ee517678470fb560fa8862fa86
Asserts run
Pass
assert_equals("#document\n| <html>\n|   <head>\n|   <body>\n|     \"FOO\"\n|     <script>\n|       \"'<!---'\"\n|     \"BAR\"", "#document\n| <html>\n|   <head>\n|   <body>\n|     \"FOO\"\n|     <script>\n|       \"'<!---'\"\n|     \"BAR\"")
    at Test.<anonymous> ( /html/syntax/parsing/test.js:182:16)
Passhtml5lib_scriptdata01.html e04bd4c273176c0638e98dce1cbdcfc6438ec7eb
Asserts run
Pass
assert_equals("#document\n| <html>\n|   <head>\n|   <body>\n|     \"FOO\"\n|     <script>\n|       \"'<!-->'\"\n|     \"BAR\"", "#document\n| <html>\n|   <head>\n|   <body>\n|     \"FOO\"\n|     <script>\n|       \"'<!-->'\"\n|     \"BAR\"")
    at Test.<anonymous> ( /html/syntax/parsing/test.js:182:16)
Passhtml5lib_scriptdata01.html 96a8546fd066084179852aa72bb599c1ee6f513f
Asserts run
Pass
assert_equals("#document\n| <html>\n|   <head>\n|   <body>\n|     \"FOO\"\n|     <script>\n|       \"'<!-- potato'\"\n|     \"BAR\"", "#document\n| <html>\n|   <head>\n|   <body>\n|     \"FOO\"\n|     <script>\n|       \"'<!-- potato'\"\n|     \"BAR\"")
    at Test.<anonymous> ( /html/syntax/parsing/test.js:182:16)
Passhtml5lib_scriptdata01.html 1dae0f9ba7e933c1f6f9912d2289c290b2c8495a
Asserts run
Pass
assert_equals("#document\n| <html>\n|   <head>\n|   <body>\n|     \"FOO\"\n|     <script>\n|       \"'<!-- <sCrIpt'\"\n|     \"BAR\"", "#document\n| <html>\n|   <head>\n|   <body>\n|     \"FOO\"\n|     <script>\n|       \"'<!-- <sCrIpt'\"\n|     \"BAR\"")
    at Test.<anonymous> ( /html/syntax/parsing/test.js:182:16)
Passhtml5lib_scriptdata01.html 44437869d870fea50416386a003d0b477a7d4f9d
Asserts run
Pass
assert_equals("#document\n| <html>\n|   <head>\n|   <body>\n|     \"FOO\"\n|     <script>\n|       type=\"text/plain\"\n|       \"'<!-- <sCrIpt>'</script>BAR\"", "#document\n| <html>\n|   <head>\n|   <body>\n|     \"FOO\"\n|     <script>\n|       type=\"text/plain\"\n|       \"'<!-- <sCrIpt>'</script>BAR\"")
    at Test.<anonymous> ( /html/syntax/parsing/test.js:182:16)
Passhtml5lib_scriptdata01.html 3c72e7aa1fe7b65598a88a8cba1d7691824ec8a2
Asserts run
Pass
assert_equals("#document\n| <html>\n|   <head>\n|   <body>\n|     \"FOO\"\n|     <script>\n|       type=\"text/plain\"\n|       \"'<!-- <sCrIpt> -'</script>BAR\"", "#document\n| <html>\n|   <head>\n|   <body>\n|     \"FOO\"\n|     <script>\n|       type=\"text/plain\"\n|       \"'<!-- <sCrIpt> -'</script>BAR\"")
    at Test.<anonymous> ( /html/syntax/parsing/test.js:182:16)
Passhtml5lib_scriptdata01.html 026ad2b8a6c85ab7a8804b1553b16560bc36fefd
Asserts run
Pass
assert_equals("#document\n| <html>\n|   <head>\n|   <body>\n|     \"FOO\"\n|     <script>\n|       type=\"text/plain\"\n|       \"'<!-- <sCrIpt> --'</script>BAR\"", "#document\n| <html>\n|   <head>\n|   <body>\n|     \"FOO\"\n|     <script>\n|       type=\"text/plain\"\n|       \"'<!-- <sCrIpt> --'</script>BAR\"")
    at Test.<anonymous> ( /html/syntax/parsing/test.js:182:16)
Passhtml5lib_scriptdata01.html d6b18cb44b4eda72b75fb64fe4287ee984562aaf
Asserts run
Pass
assert_equals("#document\n| <html>\n|   <head>\n|   <body>\n|     \"FOO\"\n|     <script>\n|       \"'<!-- <sCrIpt> -->'\"\n|     \"BAR\"", "#document\n| <html>\n|   <head>\n|   <body>\n|     \"FOO\"\n|     <script>\n|       \"'<!-- <sCrIpt> -->'\"\n|     \"BAR\"")
    at Test.<anonymous> ( /html/syntax/parsing/test.js:182:16)
Passhtml5lib_scriptdata01.html 6ebea78eedeb25cbefd06e1ff55423db91f98c6d
Asserts run
Pass
assert_equals("#document\n| <html>\n|   <head>\n|   <body>\n|     \"FOO\"\n|     <script>\n|       type=\"text/plain\"\n|       \"'<!-- <sCrIpt> --!>'</script>BAR\"", "#document\n| <html>\n|   <head>\n|   <body>\n|     \"FOO\"\n|     <script>\n|       type=\"text/plain\"\n|       \"'<!-- <sCrIpt> --!>'</script>BAR\"")
    at Test.<anonymous> ( /html/syntax/parsing/test.js:182:16)
Passhtml5lib_scriptdata01.html fb5424c9ab36d5f8383268df1d64b17bab310e4d
Asserts run
Pass
assert_equals("#document\n| <html>\n|   <head>\n|   <body>\n|     \"FOO\"\n|     <script>\n|       type=\"text/plain\"\n|       \"'<!-- <sCrIpt> -- >'</script>BAR\"", "#document\n| <html>\n|   <head>\n|   <body>\n|     \"FOO\"\n|     <script>\n|       type=\"text/plain\"\n|       \"'<!-- <sCrIpt> -- >'</script>BAR\"")
    at Test.<anonymous> ( /html/syntax/parsing/test.js:182:16)
Passhtml5lib_scriptdata01.html 3123b21e759d33987c407189584a5533c31a7482
Asserts run
Pass
assert_equals("#document\n| <html>\n|   <head>\n|   <body>\n|     \"FOO\"\n|     <script>\n|       type=\"text/plain\"\n|       \"'<!-- <sCrIpt '</script>BAR\"", "#document\n| <html>\n|   <head>\n|   <body>\n|     \"FOO\"\n|     <script>\n|       type=\"text/plain\"\n|       \"'<!-- <sCrIpt '</script>BAR\"")
    at Test.<anonymous> ( /html/syntax/parsing/test.js:182:16)
Passhtml5lib_scriptdata01.html f208b834bd4a2e13d79cebd59c02659f2f75ff04
Asserts run
Pass
assert_equals("#document\n| <html>\n|   <head>\n|   <body>\n|     \"FOO\"\n|     <script>\n|       type=\"text/plain\"\n|       \"'<!-- <sCrIpt/'</script>BAR\"", "#document\n| <html>\n|   <head>\n|   <body>\n|     \"FOO\"\n|     <script>\n|       type=\"text/plain\"\n|       \"'<!-- <sCrIpt/'</script>BAR\"")
    at Test.<anonymous> ( /html/syntax/parsing/test.js:182:16)
Passhtml5lib_scriptdata01.html 0b72c0fef80895598cdf691a4913ff7aa5b1934b
Asserts run
Pass
assert_equals("#document\n| <html>\n|   <head>\n|   <body>\n|     \"FOO\"\n|     <script>\n|       type=\"text/plain\"\n|       \"'<!-- <sCrIpt\\'\"\n|     \"BAR\"", "#document\n| <html>\n|   <head>\n|   <body>\n|     \"FOO\"\n|     <script>\n|       type=\"text/plain\"\n|       \"'<!-- <sCrIpt\\'\"\n|     \"BAR\"")
    at Test.<anonymous> ( /html/syntax/parsing/test.js:182:16)
Passhtml5lib_scriptdata01.html bc7d3b5d37eaf53e338d81215f552e55cb555fc2
Asserts run
Pass
assert_equals("#document\n| <html>\n|   <head>\n|   <body>\n|     \"FOO\"\n|     <script>\n|       type=\"text/plain\"\n|       \"'<!-- <sCrIpt/'</script>BAR\"\n|     \"QUX\"", "#document\n| <html>\n|   <head>\n|   <body>\n|     \"FOO\"\n|     <script>\n|       type=\"text/plain\"\n|       \"'<!-- <sCrIpt/'</script>BAR\"\n|     \"QUX\"")
    at Test.<anonymous> ( /html/syntax/parsing/test.js:182:16)
Passhtml5lib_scriptdata01.html df2e36330e2e9609b1b9e1ff8a9440a66281dd46
Asserts run
Pass
assert_equals("#document\n| <html>\n|   <head>\n|   <body>\n|     \"FOO\"\n|     <script>\n|       \"<!--<script>-></script>-->\"\n|     \"QUX\"", "#document\n| <html>\n|   <head>\n|   <body>\n|     \"FOO\"\n|     <script>\n|       \"<!--<script>-></script>-->\"\n|     \"QUX\"")
    at Test.<anonymous> ( /html/syntax/parsing/test.js:182:16)