https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 5de28d46eab8eb2f610a77aca0bb004e872a3e3d authored by Hallvord R. M. Steen on 28 February 2014, 09:55:18 UTC
dropping superfluous variable declaration
Tip revision: 5de28d4
006.html
<!doctype html>
<title>resolving a same origin targetOrigin with trailing slash</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
async_test(function() {
  postMessage('', location.protocol + '//' + location.host + '/');
  onmessage = this.step_func(function(e) {
    assert_equals(e.data, '');
    this.done();
  });
});
</script>
back to top