Skip to content

Commit

Permalink
fix: Using correct api calls in shared worker tests
Browse files Browse the repository at this point in the history
  • Loading branch information
John Popovich authored and John Popovich committed Aug 29, 2019
1 parent 279d5c9 commit cfac00f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions spec/api-web-contents-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -1293,8 +1293,7 @@ describe('webContents module', () => {
})
})

// FIXME: disable during chromium update due to crash in content::WorkerScriptFetchInitation::CreateScriptLoaderOnIO.
xdescribe('Shared Workers', () => {
describe('Shared Workers', () => {
let worker1
let worker2

Expand All @@ -1320,7 +1319,7 @@ describe('webContents module', () => {
})

it('can inspect a specific shared worker', (done) => {
const contents = webContents.getAllWebContents()
const contents = remote.getCurrentWebContents()
const sharedWorkers = contents.getAllSharedWorkers()

contents.once('devtools-opened', () => {
Expand Down

0 comments on commit cfac00f

Please sign in to comment.