tor-browser

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

getElementsByClassName-15.htm (496B)


      1 <!doctype html>
      2 <html class="a
      3 b">
      4 <head>
      5  <title>document.getElementsByClassName(array): "a\n"</title>
      6  <script src="/resources/testharness.js"></script>
      7  <script src="/resources/testharnessreport.js"></script>
      8 </head>
      9 <body class="a
     10 ">
     11  <div id="log"></div>
     12  <script>test(function () {
     13                 assert_array_equals(document.getElementsByClassName(["a\n"]),
     14                                    [document.documentElement, document.body]);
     15          })
     16 </script>
     17 </body>
     18 </html>