Mark http/tests/websocket/tests/hybi/secure-cookie-secure-connection.pl as a failure...
[WebKit-https.git] / LayoutTests / fetch / fetch-url-serialization.html
1 <!doctype html>
2 <html>
3   <head>
4     <meta charset="utf-8">
5     <title>Request URL handling</title>
6     <meta name="help" href="https://fetch.spec.whatwg.org/#request">
7     <script src="../resources/testharness.js"></script>
8     <script src="../resources/testharnessreport.js"></script>
9     <base id="base">
10   </head>
11   <body>
12     <script>
13 function executeTests(urls)
14 {
15     for (url of urls) {
16         if (url.input) {
17             test(function() {
18                 document.getElementById("base").setAttribute("href", url.base);
19                 if (url.username || url.password || url.failure)
20                     assert_throws(new TypeError(), function() {  new Request(url.input); });
21                 else {
22                     var request = new Request(url.input);
23                     assert_equals(request.url, url.href);
24                 }
25             }, "Testing Request url '" + url.input + "' with base '" + url.base + "'");
26          }
27     }
28 }
29     </script>
30     <script src="fetch-urls.json"></script>
31   </body>
32 </html>