tor-browser

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

test_bug1112040.html (819B)


      1 <!DOCTYPE HTML>
      2 <html>
      3 <!--
      4 https://bugzilla.mozilla.org/show_bug.cgi?id=1112040
      5 -->
      6 <head>
      7  <title>Test for Bug 1112040</title>
      8  <script src="/tests/SimpleTest/SimpleTest.js"></script>
      9  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
     10  <base href="http://mochi.test:8888/tests/dom/tests/mochitest/">
     11  <meta charset="UTF-8">
     12 </head>
     13 <body>
     14 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1112040">Mozilla Bug 1112040</a>
     15 <p id="display">
     16 </p>
     17 <div id="content">
     18    <input id="i" type="text" pattern="^.**$">
     19 </div>
     20 <pre id="test">
     21 <script type="application/javascript">
     22 
     23 /** Test for Bug 1112040 */
     24 SimpleTest.runTestExpectingConsoleMessages(
     25    function() { $('i').value = "42"; },
     26    [{ errorMessage: /nothing to repeat/ }]
     27 );
     28 
     29 </script>
     30 </pre>
     31 </body>
     32 </html>