https://github.com/web-platform-tests/wpt
Raw File
Tip revision: f9b2eca3ae1bba2a5bc307d061e450e6ac8a98e0 authored by Domenic Denicola on 01 December 2015, 16:27:52 UTC
Fix up disallow-crossorigin tests based on issues in OP
Tip revision: f9b2eca
009.html
<!doctype html>
<title>zero arguments</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
test(function() {
  assert_throws(new TypeError(), function() {
    postMessage();
  });
});
</script>
back to top