PASS endsWith(document.querySelector('base').href, 'foo/bar/') is true PASS endsWith(document.querySelector('base').href, 'foo/bar/foo/bar/') is false PASS endsWith(document.querySelector('base').href, '/null') is true PASS endsWith(documentWithoutAView.querySelector('base').href, '') is true PASS documentWithoutAView.querySelector('base').href is "http://webkit.org/" PASS endsWith(iframe.contentDocument.querySelector('base').href, 'foo/bar/') is true PASS endsWith(iframe.contentDocument.querySelector('base').href, 'foo/bar/') is true PASS successfullyParsed is true TEST COMPLETE