1
edit
Changes
→Reviewing Tests
# Prefer <code>i++;</code> to <code>i+=1;</code>
# Many tests require the harness and focus, ensure that those tests are correctly written ie:
#* For Harness: See [[#Using the Test Harness|here]]#* For Focus: Ensure the test resembles the following format-<pre><!-- snip --><body onload="runTests();"> <!-- other tags that you may need go here --> <script> function runTests() { SimpleTest.waitForExplicitFinish(); SimpleTest.waitForFocus(function() { // Test code goes here }); } </script></body><!-- /snip --></pre>See [[#Waiting For Focus]]
One or more tests have to deal with switching the lock between multiple elements, and the [[Changes to Fullscreen Unlock|spec is changing]] on that front.