tor-browser

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

historical.html (789B)


      1 <!doctype html>
      2 <title>Shadow DOM v0 features should NOT be present</title>
      3 <script src=/resources/testharness.js></script>
      4 <script src=/resources/testharnessreport.js></script>
      5 <script>
      6 test(() => {
      7  assert_false('createShadowRoot' in Element.prototype)
      8 }, 'element.createShadowRoot should not exist')
      9 
     10 test(() => {
     11  assert_false('getDestinationInsertionPoints' in Element.prototype)
     12 }, 'element.getDestinationInsertionPoints should not exist')
     13 
     14 test(() => {
     15  assert_false('getDestinationInsertionPoints' in Text.prototype)
     16 }, 'text.getDestinationInsertionPoints should not exist')
     17 
     18 test(() => {
     19  assert_false('path' in Event.prototype)
     20 }, 'event.path should not exist')
     21 
     22 test(() => {
     23  assert_false('HTMLContentElement' in window)
     24 }, 'HTMLContentElement should not exist')
     25 </script>