spec: protocol.registerStandardSchemes does not throw
This commit is contained in:
parent
4dc431043f
commit
8e7a5adc60
1 changed files with 0 additions and 6 deletions
|
@ -841,12 +841,6 @@ describe('protocol module', function () {
|
|||
})
|
||||
})
|
||||
|
||||
it('throws when called after ready event', function () {
|
||||
assert.throws(function () {
|
||||
protocol.registerStandardSchemes(['some-scheme'])
|
||||
}, 'protocol.registerStandardSchemes should be called before app is ready')
|
||||
})
|
||||
|
||||
it('resolves relative resources', function (done) {
|
||||
var handler = function (request, callback) {
|
||||
if (request.url === imageURL) {
|
||||
|
|
Loading…
Reference in a new issue