tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

test_bug839913.html (502B)


      1 <!DOCTYPE html>
      2 <meta charset=utf-8>
      3 <title>Test for HTMLAreaElement's stringifier</title>
      4 <script src="/resources/testharness.js"></script>
      5 <script src="/resources/testharnessreport.js"></script>
      6 <div id="log"></div>
      7 <script>
      8 test(function() {
      9  var area = document.createElement("area");
     10  area.href = "http://example.org/";
     11  assert_equals(area.href, "http://example.org/");
     12  assert_equals(String(area), "http://example.org/");
     13 }, "Area elements should stringify to the href attribute");
     14 </script>