https://github.com/web-platform-tests/wpt
Raw File
Tip revision: c1df8c29879917e2602bfb32a292e3c450452e27 authored by Henrik Boström on 04 April 2018, 19:14:49 UTC
RTCPeerConnection.getStats(MediaStreamTrack? selector = null) added.
Tip revision: c1df8c2
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