blob: d584cdea2268c7e041baa43409a234185b3cba68 [file] [log] [blame]
This tests that an iframe with no src attribute uses the parent document's origin when resolving links inserted into the frame via JavaScript.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS document.getElementById('theFrame').contentDocument.baseURI is "http://127.0.0.1:8000/dom/iframe-no-src-local-origin-allow.html"
PASS document.getElementById('theFrame').contentDocument.getElementById('innerFrame').contentDocument.body.innerHTML is 'PASS\n'
PASS successfullyParsed is true
TEST COMPLETE