diff --git a/spec/api-browser-window-spec.js b/spec/api-browser-window-spec.js index 11b954d2d0..6a76ba5ddb 100644 --- a/spec/api-browser-window-spec.js +++ b/spec/api-browser-window-spec.js @@ -864,6 +864,7 @@ describe('browser-window module', function () { ipcMain.once('answer', function (event, message) { assert.equal(message.runtimeId, 'foo') + assert.equal(message.tabId, w.webContents.id) done() }) }) @@ -875,6 +876,7 @@ describe('browser-window module', function () { ipcMain.once('answer', function (event, message, extensionId) { assert.equal(message.runtimeId, 'foo') + assert.equal(message.tabId, w.webContents.id) done() }) }) diff --git a/spec/fixtures/devtools-extensions/foo/index.html b/spec/fixtures/devtools-extensions/foo/index.html index 1b9d1b8cb9..2e0a29aff3 100644 --- a/spec/fixtures/devtools-extensions/foo/index.html +++ b/spec/fixtures/devtools-extensions/foo/index.html @@ -5,7 +5,8 @@