tor-browser

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

parse-input-arguments-018-ref.html (600B)


      1 <!DOCTYPE html>
      2 <html>
      3 <body>
      4 <p>This test result should show a green rect. The registerPaint('failureIndicator')
      5 will be called twice and the inputArguments will return two different strings,
      6 which will throw an exception and the paint function with 'failureIndicator'
      7 should never be called. In other words, there should be no red painted in the result.</p>
      8 <canvas id ="canvas" width="100" height="100"></canvas>
      9 <script>
     10 var canvas = document.getElementById('canvas');
     11 var context = canvas.getContext("2d");
     12 context.fillStyle = 'green'
     13 context.fillRect(50, 50, 50, 50);
     14 </script>
     15 </body>
     16 </html>