https://github.com/web-platform-tests/wpt
Raw File
Tip revision: c18d546c68ddc4075186ae602ec9de5310ce01aa authored by Robert Ma on 21 March 2018, 18:44:32 UTC
Fix SSL regression in resources/test
Tip revision: c18d546
eventsource-constructor-url-bogus.htm
<!DOCTYPE html>
<html>
  <head>
    <title>EventSource: constructor (invalid URL)</title>
    <script src="/resources/testharness.js"></script>
    <script src="/resources/testharnessreport.js"></script>
  </head>
  <body>
    <div id="log"></div>
    <script>
      test(function() {
        assert_throws("SyntaxError", function() { new EventSource("http://this is invalid/") })
      })
    </script>
  </body>
</html>
back to top