blob: 7f7b4abb2f38a38843496e776cf99d99d72a43b5 [file] [log] [blame]
Checks that setting an iframe's src attribute to a javascript URL runs the javascript asynchronously
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS frame1.contentWindow is initialFrame1Window
PASS frame1.contentDocument is initialFrame1Document
PASS messages is "123"
PASS frame1.contentWindow is initialFrame1Window
PASS frame1.contentDocument is initialFrame1Document
PASS frame2.contentWindow is initialFrame2Window
PASS frame2.contentDocument is not initialFrame2Document
PASS frame2.contentWindow is initialFrame2Window
PASS frame2.contentDocument is not initialFrame2Document
PASS frame2.contentDocument.documentElement.textContent is "1"
PASS successfullyParsed is true
TEST COMPLETE