Notifications From Tests Running In An IFRAME

A test is run inside an iframe with a same origin document. The containing document should receive messages via postMessage/ onmessage as the tests progress inside the iframe. A single passing test is expected in the summary below.

Summary

Harness status: OK

Found 1 tests

Details

ResultTest NameMessage
PassContaining document receives messages
Asserts run
Pass
assert_equals("start", "start")
    at Test.<anonymous> ( /resources/test/tests/functional/iframe-msg.html:28:13)
Pass
assert_own_property(object "[object Object]", "properties")
    at Test.<anonymous> ( /resources/test/tests/functional/iframe-msg.html:29:13)
Pass
assert_equals("test_state", "test_state")
    at Test.<anonymous> ( /resources/test/tests/functional/iframe-msg.html:34:13)
Pass
assert_equals(3, 3)
    at Test.<anonymous> ( /resources/test/tests/functional/iframe-msg.html:35:13)
Pass
assert_equals("result", "result")
    at Test.<anonymous> ( /resources/test/tests/functional/iframe-msg.html:40:13)
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /resources/test/tests/functional/iframe-msg.html:41:13)
Pass
assert_equals("complete", "complete")
    at Test.<anonymous> ( /resources/test/tests/functional/iframe-msg.html:46:13)
Pass
assert_equals(1, 1)
    at Test.<anonymous> ( /resources/test/tests/functional/iframe-msg.html:47:13)
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /resources/test/tests/functional/iframe-msg.html:48:13)
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /resources/test/tests/functional/iframe-msg.html:50:13)