tor-browser

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

historical.html (678B)


      1 <!doctype html>
      2 <title>Historical HTMLElement features</title>
      3 <script src=/resources/testharness.js></script>
      4 <script src=/resources/testharnessreport.js></script>
      5 <body>
      6 <script>
      7 [
      8  // https://github.com/whatwg/html/commit/389ec2620d89e9480ef8847bf016abdfa92427bc
      9  "commandType",
     10  "commandLabel",
     11  "commandIcon",
     12  "commandHidden",
     13  "commandDisabled",
     14  "commandChecked",
     15  "commandTriggers",
     16  // https://github.com/whatwg/html/pull/2402
     17  "dropzone",
     18 ].forEach(function(member) {
     19  test(function() {
     20    assert_false(member in document.body);
     21    assert_false(member in document.createElement('div'));
     22  }, 'HTMLElement member must be nuked: ' + member);
     23 });
     24 </script>