Created
May 2, 2013 05:00
-
-
Save darkowlzz/5500224 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let chromeWindow = open('chrome://foo/content/'); | |
assert.ok(~windows().indexOf(chromeWindow), 'chrome URI works'); | |
let resourceWindow = open('resource://foo'); | |
assert.ok(~windows().indexOf(resourceWindow), 'resource URI works'); | |
// Wait for the window unload before ending test | |
close(chromeWindow).close(resourceWindow).then(done); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment