Summary

Harness status: OK

Found 3 tests

Details

ResultTest NameMessage
PassInvalid percent-encoded UTF-8 byte should decode as U+FFFD
Asserts run
Pass
assert_equals("", "", "Page must be loaded with no hash")
    at Test.<anonymous> ( /html/browsers/browsing-the-web/scroll-to-fragid/fragment-and-encoding-2.html:17:3)
Pass
assert_equals("#%C2", "#%C2")
    at Test.<anonymous> ( /html/browsers/browsing-the-web/scroll-to-fragid/fragment-and-encoding-2.html:20:3)
Pass
assert_greater_than(9315, 1000, "#%C2")
    at Test.<anonymous> ( /html/browsers/browsing-the-web/scroll-to-fragid/fragment-and-encoding-2.html:21:3)
PassPercent-encoded UTF-8 BOM followed by invalid UTF-8 byte should decode as U+FEFF U+FFFD
Asserts run
Pass
assert_equals(0, 0, "#top")
    at goToTop ( /html/browsers/browsing-the-web/scroll-to-fragid/fragment-and-encoding-2.html:13:3)
Pass
assert_equals("#%EF%BB%BF%C2", "#%EF%BB%BF%C2")
    at Test.<anonymous> ( /html/browsers/browsing-the-web/scroll-to-fragid/fragment-and-encoding-2.html:28:3)
Pass
assert_greater_than(9315, 1000, "#%EF%BB%BF%C2")
    at Test.<anonymous> ( /html/browsers/browsing-the-web/scroll-to-fragid/fragment-and-encoding-2.html:29:3)
PassPercent-encoded UTF-8 byte sequence for U+FFFD should decode as U+FFFD
Asserts run
Pass
assert_equals(0, 0, "#top")
    at goToTop ( /html/browsers/browsing-the-web/scroll-to-fragid/fragment-and-encoding-2.html:13:3)
Pass
assert_equals("#%EF%BF%BD", "#%EF%BF%BD")
    at Test.<anonymous> ( /html/browsers/browsing-the-web/scroll-to-fragid/fragment-and-encoding-2.html:36:3)
Pass
assert_greater_than(9315, 1000, "#%EF%BF%BD")
    at Test.<anonymous> ( /html/browsers/browsing-the-web/scroll-to-fragid/fragment-and-encoding-2.html:37:3)
Pass
assert_equals(0, 0, "#top")
    at goToTop ( /html/browsers/browsing-the-web/scroll-to-fragid/fragment-and-encoding-2.html:13:3)