tor-browser

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

historical.html (818B)


      1 <!doctype html>
      2 <title>Historical table features should not be supported</title>
      3 <script src="/resources/testharness.js"></script>
      4 <script src="/resources/testharnessreport.js"></script>
      5 <div id=log></div>
      6 <script>
      7 function t(property, tagNames) {
      8  if (typeof tagNames === "string") {
      9    tagNames = [tagNames];
     10  }
     11  tagNames.forEach(function(tagName) {
     12    test(function() {
     13      assert_false(property in document.createElement(tagName));
     14    }, tagName + '.' + property + ' should not be supported');
     15  });
     16 }
     17 
     18 // added in https://github.com/whatwg/html/commit/6db0d8d4e3456140de958c963afe9bb9ec7b6a25
     19 // removed in https://github.com/whatwg/html/commit/59b7e2466c2b7c5c408a4963b05b13fd808aa07a
     20 t('onsort', 'table');
     21 t('sortable', 'table');
     22 t('stopSorting', 'table');
     23 t('sorted', 'th');
     24 t('sort', 'th');
     25 </script>