| OLD | NEW |
| 1 Check that window.blur() does nothing, and window.focus() only works if it is in
voked from the window that opened the former. If the test passes, you should see
a series of PASS messages with the last being 'All tests finished'. | 1 Check that window.blur() does nothing, and window.focus() only works if it is in
voked from the window that opened the former. If the test passes, you should see
a series of PASS messages with the last being 'All tests finished'. |
| 2 | 2 |
| 3 This test is adopted from mozilla's tests. | 3 This test is adopted from mozilla's tests. |
| 4 | 4 |
| 5 PASS: The focus should not have been changed! | 5 PASS: The focus should not have been changed! |
| 6 PASS: The focus should not have been changed! | 6 PASS: The focus should not have been changed! |
| 7 PASS: The focus should not have been changed with URL=data:text/html,<script>ope
ner.focus();opener.postMessage("", "*");</script> | 7 PASS: The focus should not have been changed with URL=resources/mozilla-focus-bl
ur-popup-opener-focus.html |
| 8 PASS: The focus should not have been changed with URL=data:text/html,<script>blu
r();opener.postMessage("", "*");</script> | 8 PASS: The focus should not have been changed with URL=resources/mozilla-focus-bl
ur-popup-blur.html |
| 9 PASS: The last opened window should be able to get focus | 9 PASS: The last opened window should be able to get focus |
| 10 PASS: All tests finished | 10 PASS: All tests finished |
| 11 | 11 |
| OLD | NEW |