Last active
December 16, 2015 20:19
-
-
Save darkowlzz/5491797 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
exports['test new top window with content URI'] = function(assert) { | |
let msg = 'only chrome, resource and data uris are allowed'; | |
assert.throws(function () { | |
open('foo'); | |
}, msg); | |
assert.throws(function () { | |
open('http://foo'); | |
}, msg); | |
assert.throws(function () { | |
open('https://foo'); | |
}, msg); | |
assert.throws(function () { | |
open('//'); | |
}, msg); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment