Confirmed users
656
edits
No edit summary |
m (→Test Format) |
||
| Line 64: | Line 64: | ||
Note that using mozmill may be convenient but is not required. Here is another example. | Note that using mozmill may be convenient but is not required. Here is another example. | ||
<pre> | <pre> | ||
// Get window is a convenience function exposed to tests | |||
// It uses nsIWindowMediator to get the current window | |||
let window = getWindow(); | let window = getWindow(); | ||
let width = window.outerWidth; | let width = window.outerWidth; | ||