Bug 906334 - convert test-window-loader.js to use the new test framework