editor/libeditor/html/tests/test_spellcheck_pref.html

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     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