| OLD | NEW |
| 1 This test makes sure that calling the window moving and resizing methods with le
ss than 2 arguments treats the missing arguments as 0. | 1 This test makes sure that calling the window moving and resizing methods with le
ss than 2 arguments treats the missing arguments as 0. |
| 2 | 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 | 4 |
| 5 | 5 |
| 6 | 6 |
| 7 window.resizeTo Tests | 7 window.resizeTo Tests |
| 8 | 8 |
| 9 Testing - resizeTo with 0 arguments | 9 Testing - resizeTo with 0 arguments |
| 10 PASS window.resizeTo() threw exception TypeError: Failed to execute 'resizeTo' o
n 'Window': 2 arguments required, but only 0 present.. |
| 10 PASS window.outerWidth is resetWidth | 11 PASS window.outerWidth is resetWidth |
| 11 PASS window.outerHeight is resetHeight | 12 PASS window.outerHeight is resetHeight |
| 12 Testing - resizeTo with 1 argument | 13 Testing - resizeTo with 1 argument |
| 13 PASS window.outerWidth is width | 14 PASS window.resizeTo(width) threw exception TypeError: Failed to execute 'resize
To' on 'Window': 2 arguments required, but only 1 present.. |
| 15 PASS window.outerWidth is resetWidth |
| 14 PASS window.outerHeight is resetHeight | 16 PASS window.outerHeight is resetHeight |
| 15 Testing - resizeTo with more than 2 arguments | 17 Testing - resizeTo with more than 2 arguments |
| 16 PASS window.outerWidth is width | 18 PASS window.outerWidth is width |
| 17 PASS window.outerHeight is height | 19 PASS window.outerHeight is height |
| 18 | 20 |
| 19 window.resizeBy Tests | 21 window.resizeBy Tests |
| 20 | 22 |
| 21 Testing - resizeBy with 0 arguments | 23 Testing - resizeBy with 0 arguments |
| 24 PASS window.resizeBy() threw exception TypeError: Failed to execute 'resizeBy' o
n 'Window': 2 arguments required, but only 0 present.. |
| 22 PASS window.outerWidth is resetWidth | 25 PASS window.outerWidth is resetWidth |
| 23 PASS window.outerHeight is resetHeight | 26 PASS window.outerHeight is resetHeight |
| 24 Testing - resizeBy with 1 argument | 27 Testing - resizeBy with 1 argument |
| 25 PASS window.outerWidth is resetWidth + x | 28 PASS window.resizeBy(x) threw exception TypeError: Failed to execute 'resizeBy'
on 'Window': 2 arguments required, but only 1 present.. |
| 29 PASS window.outerWidth is resetWidth |
| 26 PASS window.outerHeight is resetHeight | 30 PASS window.outerHeight is resetHeight |
| 27 Testing - resizeBy with more than 2 arguments | 31 Testing - resizeBy with more than 2 arguments |
| 28 PASS window.outerWidth is resetWidth + x | 32 PASS window.outerWidth is resetWidth + x |
| 29 PASS window.outerHeight is resetHeight + y | 33 PASS window.outerHeight is resetHeight + y |
| 30 | 34 |
| 31 window.moveTo Tests | 35 window.moveTo Tests |
| 32 | 36 |
| 33 Testing - moveTo with 0 arguments | 37 Testing - moveTo with 0 arguments |
| 38 PASS window.moveTo() threw exception TypeError: Failed to execute 'moveTo' on 'W
indow': 2 arguments required, but only 0 present.. |
| 34 PASS window.screenX is resetX | 39 PASS window.screenX is resetX |
| 35 PASS window.screenY is resetY | 40 PASS window.screenY is resetY |
| 36 Testing - moveTo with 1 argument | 41 Testing - moveTo with 1 argument |
| 37 PASS window.screenX is Math.max(x, screen.availLeft) | 42 PASS window.moveTo(x) threw exception TypeError: Failed to execute 'moveTo' on '
Window': 2 arguments required, but only 1 present.. |
| 43 PASS window.screenX is resetX |
| 38 PASS window.screenY is resetY | 44 PASS window.screenY is resetY |
| 39 Testing - moveTo with more than 2 arguments | 45 Testing - moveTo with more than 2 arguments |
| 40 PASS window.screenX is Math.max(x, screen.availLeft) | 46 PASS window.screenX is Math.max(x, screen.availLeft) |
| 41 PASS window.screenY is Math.max(y, screen.availTop) | 47 PASS window.screenY is Math.max(y, screen.availTop) |
| 42 | 48 |
| 43 window.moveBy Tests | 49 window.moveBy Tests |
| 44 | 50 |
| 45 Testing - moveBy with 0 arguments | 51 Testing - moveBy with 0 arguments |
| 52 PASS window.moveBy() threw exception TypeError: Failed to execute 'moveBy' on 'W
indow': 2 arguments required, but only 0 present.. |
| 46 PASS window.screenX is resetX | 53 PASS window.screenX is resetX |
| 47 PASS window.screenY is resetY | 54 PASS window.screenY is resetY |
| 48 Testing - moveBy with 1 argument | 55 Testing - moveBy with 1 argument |
| 49 PASS window.screenX is resetX + x | 56 PASS window.moveBy(x) threw exception TypeError: Failed to execute 'moveBy' on '
Window': 2 arguments required, but only 1 present.. |
| 57 PASS window.screenX is resetX |
| 50 PASS window.screenY is resetY | 58 PASS window.screenY is resetY |
| 51 Testing - moveBy with more than 2 arguments | 59 Testing - moveBy with more than 2 arguments |
| 52 PASS window.screenX is resetX + x | 60 PASS window.screenX is resetX + x |
| 53 PASS window.screenY is resetY + y | 61 PASS window.screenY is resetY + y |
| 54 PASS successfullyParsed is true | 62 PASS successfullyParsed is true |
| 55 | 63 |
| 56 TEST COMPLETE | 64 TEST COMPLETE |
| 57 | 65 |
| OLD | NEW |