jgraham/testharness.js — pull request #3 by tobie (2012-10-06 20:14:27+00:00)
Title: Add support for posting results using cross-origin communication.

Where supported, the test harness will now also send messages using
cross-document messaging to each ancestor browsing context. Since it
uses the wildcard keyword (*), cross-origin communication is enabled and
script on different origins can collect the results.

This API follows similar conventions as those described above only slightly
modified to accommodate message event API. Each message is sent by the harness
is passed a single vanilla object, available as the `data` property of the
event object. These objects are structures as follows:

start - { type: "start" }
result - { type: "result", test: Test }
complete - { type: "complete", tests: [Test, ...], status: TestsStatus }