Summary

Harness status: OK

Found 2 tests

Details

ResultTest NameMessage
PassSynthetic documents should return about:blank for document.baseURI.
Asserts run
Pass
assert_equals("about:blank", "about:blank", "document.implementation.createHTMLDocument()")
    at Test.<anonymous> ( /html/infrastructure/urls/base-url/document-base-uri-synthetic-document.html:13:3)
Pass
assert_equals("about:blank", "about:blank", "document.implementation.createDocument(\"\", \"\")")
    at Test.<anonymous> ( /html/infrastructure/urls/base-url/document-base-uri-synthetic-document.html:16:3)
Pass
assert_equals("about:blank", "about:blank", "new Document()")
    at Test.<anonymous> ( /html/infrastructure/urls/base-url/document-base-uri-synthetic-document.html:19:3)
PassSynthetic documents should incorporate <base> href URLs correctly.
Asserts run
Pass
assert_equals("about:blank", "about:blank", "baseURI should be about:blank without a <base>.")
    at Test.<anonymous> ( /html/infrastructure/urls/base-url/document-base-uri-synthetic-document.html:24:3)
Pass
assert_equals("about:blank", "about:blank", "<base> with relative URL should not change the about:blank baseURI.")
    at Test.<anonymous> ( /html/infrastructure/urls/base-url/document-base-uri-synthetic-document.html:29:3)
Pass
assert_equals("http://example.com/", "http://example.com/", "<base> with complete URL should replace the about:blank baseURI.")
    at Test.<anonymous> ( /html/infrastructure/urls/base-url/document-base-uri-synthetic-document.html:32:3)