mirror of
https://github.com/electron/electron.git
synced 2026-01-09 23:48:01 -05:00
reenable some specs
This commit is contained in:
@@ -1356,7 +1356,7 @@ describe('BrowserWindow module', () => {
|
||||
})
|
||||
})
|
||||
|
||||
xit('supports calling preventDefault on new-window events', (done) => {
|
||||
it('supports calling preventDefault on new-window events', (done) => {
|
||||
w.destroy()
|
||||
w = new BrowserWindow({
|
||||
show: false,
|
||||
|
||||
@@ -477,7 +477,7 @@ describe('protocol module', () => {
|
||||
})
|
||||
})
|
||||
|
||||
xdescribe('protocol.registerStreamProtocol', () => {
|
||||
describe('protocol.registerStreamProtocol', () => {
|
||||
it('sends Stream as response', (done) => {
|
||||
const handler = (request, callback) => callback(getStream())
|
||||
protocol.registerStreamProtocol(protocolName, handler, (error) => {
|
||||
@@ -869,7 +869,7 @@ describe('protocol module', () => {
|
||||
})
|
||||
})
|
||||
|
||||
xdescribe('protocol.interceptStreamProtocol', () => {
|
||||
describe('protocol.interceptStreamProtocol', () => {
|
||||
it('can intercept http protocol', (done) => {
|
||||
const handler = (request, callback) => callback(getStream())
|
||||
protocol.interceptStreamProtocol('http', handler, (error) => {
|
||||
|
||||
Reference in New Issue
Block a user