https://github.com/web-platform-tests/wpt
Raw File
Tip revision: caabb339c4b96dfc4a9e42a40c118e5df7ccd070 authored by Tarun Bansal on 07 May 2018, 19:22:03 UTC
Add client hints headers as CORS safe headers
Tip revision: caabb33
005.html
<!doctype html>
<title>resolving a same origin targetOrigin</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