20 lines
737 B
Plaintext
20 lines
737 B
Plaintext
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
|
|
|