tor-browser

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

events.html (1069B)


      1 <!DOCTYPE html>
      2 <meta charset='utf-8'>
      3 <title>drag &amp; drop – events</title>
      4 
      5 <script src='/resources/testharness.js'></script>
      6 <script src='/resources/testharnessreport.js'></script>
      7 
      8 
      9 <noscript><p>Enable JavaScript and reload.</p></noscript>
     10 
     11 <div id='log'></div>
     12 
     13 <script>
     14 
     15 var element = document.createElement('div');
     16 
     17 test(function () {
     18  assert_equals(element.ondragstart, null);
     19 }, 'element.ondragstart initial value');
     20 
     21 test(function () {
     22  assert_equals(element.ondrag, null);
     23 }, 'element.ondrag must initial value');
     24 
     25 test(function () {
     26  assert_equals(element.ondragenter, null);
     27 }, 'element.ondragenter initial value');
     28 
     29 test(function () {
     30  assert_equals(element.ondragleave, null);
     31 }, 'element.ondragleave initial value');
     32 
     33 test(function () {
     34  assert_equals(element.ondragover, null);
     35 }, 'element.ondragover initial value');
     36 
     37 test(function () {
     38  assert_equals(element.ondrop, null);
     39 }, 'element.ondrop initial value');
     40 
     41 test(function () {
     42  assert_equals(element.ondragend, null);
     43 }, 'element.ondragend initial value');
     44 
     45 </script>
     46 
     47 </body>
     48 </html>