mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
spec: protocol.registerStandardSchemes does not throw
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user