summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/webmessaging/with-ports/015.html
blob: a17c97be19a1d5972d1fa4af409f2bfe520759cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!doctype html>
<title>different origin</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id=log></div>
<script>
async_test(function() {
  postMessage('', 'http://example.org', []);
  onmessage = this.step_func(function(e) {
    assert_unreached();
  });
  setTimeout(this.step_func(function(){ this.done(); }), 50);
});
</script>