Filler Text
" for (var i=0; i
ends up in assert_equals(iframe.contentDocument.body.childNodes[0].textContent, "Filler Text"); assert_equals(iframe.contentDocument.body.childNodes[0].localName, "i"); assert_equals(iframe.contentDocument.body.childNodes[0].getAttribute('id'), "a"); assert_equals(iframe.contentDocument.body.childNodes[1].textContent, "Filler Text"); assert_equals(iframe.contentDocument.body.childNodes[1].localName, "b"); assert_equals(iframe.contentDocument.body.childNodes[1].getAttribute('id'), "b"); });
Summary
Found 1 tests
1 Pass
Details
Result
Test Name
Message
Pass
document.write script into iframe