Revision df4bdf53c4e851fe1006f0fcc2943fc8cd7f3a92 authored by Florian Rivoal on 29 March 2018, 06:13:03 UTC, committed by Florian Rivoal on 29 March 2018, 06:13:03 UTC
1 parent 55846d5
Raw File
001.html
<!doctype html>
<title>resolving broken url</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
test(function() {
  assert_throws('SYNTAX_ERR', function() {
    postMessage('', 'http://foo bar', []);
  }, 'should have failed to resolve');
});
</script>
back to top