Revision 497c31799d9d2a643acc8c000f6d54e00ce56950 authored by Geoffrey Sneddon on 07 November 2018, 13:23:33 UTC, committed by GitHub on 07 November 2018, 13:23:33 UTC
Co-Authored-By: jgraham <james@hoppipolla.co.uk>
1 parent 25ae54b
Raw File
open-url-base.htm
<!DOCTYPE html>
<html>
  <head>
    <title>XMLHttpRequest: open() resolving URLs - &lt;base></title>
    <script src="/resources/testharness.js"></script>
    <script src="/resources/testharnessreport.js"></script>
    <base href="./resources/">
    <link rel="help" href="https://xhr.spec.whatwg.org/#the-open()-method" data-tested-assertations="following::ol/li[2]/ol/li[2] following::ol/li[7] following::ol/li[14]/ul/li[2]" />
    <link rel="help" href="https://xhr.spec.whatwg.org/#the-responsetext-attribute" data-tested-assertations="following::ol/li[4]" />
  </head>
  <body>
    <div id="log"></div>
    <script>
      test(function() {
        var client = new XMLHttpRequest()
        client.open("GET", "folder.txt", false)
        client.send(null)
        assert_equals(client.responseText, "bottom\n")
      })
    </script>
  </body>
</html>
back to top