blob: 19e075bbc0b9dd83e41f2f6590e01343f6fff512 [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 document.baseURI
PASS successfullyParsed is true
TEST COMPLETE
PASS document.getElementById('theFrame').contentDocument.getElementById('innerFrame').contentDocument.body.innerHTML is 'PASS\n'
PASS successfullyParsed is true
TEST COMPLETE