Fix worker onerror tests to catch window.onerror; expect 5 arguments; ex...

...pect addEventListener to work; add a new test involving two documents.