1 This test makes sure that we have similar behavior as other browsers when resizing and moving a window outside of the screen. This test will fail in some dimensions when run manually because of inconsistencies of when the window can and cannot go behind the doc.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
9 Testing - resizeTo: Too Big
10 PASS window.outerWidth is screen.availWidth
12 Testing - resizeTo: Too Small
13 PASS window.outerWidth is 100
15 Testing - resizeTo: Full Screen Out of Bounds
16 PASS window.screenY is screen.availTop
17 PASS window.outerHeight is screen.availHeight
18 PASS window.screenX is screen.availLeft
19 PASS window.outerWidth is screen.availWidth
21 Testing - resizeTo: Not Full Screen Out of Bounds
22 PASS window.outerHeight + window.screenY - screen.availTop is screen.availHeight
23 PASS window.outerWidth + window.screenX - screen.availLeft is screen.availWidth
27 Testing - resizeBy: Too Small
28 PASS window.outerWidth is 100
30 Testing - resizeBy: Too Big
31 PASS window.outerWidth is screen.availWidth
35 Testing - moveTo: Top Left
36 PASS window.screenY is screen.availTop
37 PASS window.screenX is screen.availLeft
40 PASS window.screenY is screen.availTop
41 PASS window.screenX is screen.availLeft
43 Testing - moveTo: Top Right
44 PASS window.screenY is screen.availTop
45 PASS window.outerWidth is screen.availWidth
47 Testing - moveTo: Right
48 PASS window.screenY is screen.availTop
49 PASS window.outerWidth is screen.availWidth
51 Testing - moveTo: Bottom Right
52 PASS window.outerHeight is screen.availHeight
53 PASS window.outerWidth is screen.availWidth
55 Testing - moveTo: Bottom
56 PASS window.outerHeight is screen.availHeight
57 PASS window.screenX is screen.availLeft
59 Testing - moveTo: Bottom Left
60 PASS window.outerHeight is screen.availHeight
61 PASS window.screenX is screen.availLeft
63 Testing - moveTo: Left
64 PASS window.screenY is screen.availTop
65 PASS window.screenX is screen.availLeft
69 Testing - moveBy: Zero Zero
70 PASS window.screenX == previousScreenX is true
71 PASS window.screenY == previousScreenY is true
73 Testing - moveBy: One Zero
74 PASS window.screenX == previousScreenX + 1 is true
75 PASS window.screenY == previousScreenY is true
77 Testing - moveBy: Zero One
78 PASS window.screenX == previousScreenX is true
79 PASS window.screenY == previousScreenY + 1 is true
81 Testing - moveBy: Top Left
82 PASS window.screenY is screen.availTop
83 PASS window.screenX is screen.availLeft
86 PASS window.screenY is screen.availTop
87 PASS window.screenX is screen.availLeft
89 Testing - moveBy: Top Right
90 PASS window.screenY is screen.availTop
91 PASS window.outerWidth is screen.availWidth
93 Testing - moveBy: Right
94 PASS window.screenY is screen.availTop
95 PASS window.outerWidth is screen.availWidth
97 Testing - moveBy: Bottom Right
98 PASS window.outerHeight is screen.availHeight
99 PASS window.outerWidth is screen.availWidth
101 Testing - moveBy: Bottom
102 PASS window.outerHeight is screen.availHeight
104 Testing - moveBy: Bottom Left
105 PASS window.outerHeight is screen.availHeight
106 PASS window.screenX is screen.availLeft
108 Testing - moveBy: Left
109 PASS window.screenX is screen.availLeft
111 PASS successfullyParsed is true