spec: protocol.registerStandardSchemes does not throw

This commit is contained in:
Cheng Zhao 2016-05-10 09:57:13 +09:00
parent 4dc431043f
commit 8e7a5adc60

View file

@ -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) {