editor/libeditor/html/tests/test_spellcheck_pref.html

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     1 <html>
     2 <head>
     3   <title>Test if spellcheck is turned on</title>
     4   <script type="text/javascript"
     5           src="/tests/SimpleTest/SimpleTest.js"></script>
     6   <link rel="stylesheet" type="text/css"
     7           href="/tests/SimpleTest/test.css" />
     8 </head>
     9 <body>
    11 <div id="content" style="display: none">
    12 </div>
    13 <pre id="test">
    14 </pre>
    16 <script class="testbody" type="application/javascript">
    18   is(SpecialPowers.getIntPref("layout.spellcheckDefault"), 1, "Check if the layout.spellcheckDefault pref is turned on");
    20 </script>
    21 </body>
    23 </html>

mercurial