tor-browser

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

test_bug610212.html (896B)


      1 <!DOCTYPE HTML>
      2 <html>
      3 <!--
      4 https://bugzilla.mozilla.org/show_bug.cgi?id=610212
      5 -->
      6 <head>
      7  <title>Test for Bug 610212</title>
      8  <script src="/tests/SimpleTest/SimpleTest.js"></script>
      9  <script type="application/javascript" src="reflect.js"></script>
     10  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
     11 </head>
     12 <body>
     13 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=610212">Mozilla Bug 610212</a>
     14 <p id="display"></p>
     15 <div id="content" style="display: none">
     16  
     17 </div>
     18 <pre id="test">
     19 <script type="application/javascript">
     20 
     21 /** Test for Bug 610212 */
     22 
     23 var canvas = document.createElement('canvas');
     24 
     25 reflectUnsignedInt({
     26  element: canvas,
     27  attribute: "width",
     28  nonZero: false,
     29  defaultValue: 300,
     30 });
     31 
     32 reflectUnsignedInt({
     33  element: canvas,
     34  attribute: "height",
     35  nonZero: false,
     36  defaultValue: 150,
     37 });
     38 
     39 </script>
     40 </pre>
     41 </body>
     42 </html>