From d6b108b27275986bcdfeda4bbb0ac4b3859f91cb Mon Sep 17 00:00:00 2001 From: Jessica Lord Date: Thu, 9 Jun 2016 14:14:20 -0700 Subject: [PATCH] Add spec --- spec/api-browser-window-spec.js | 1 + .../fixtures/devtools-extensions/foo/index.html | 17 +++++++++++++---- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/spec/api-browser-window-spec.js b/spec/api-browser-window-spec.js index 11b954d2d07a..e3e0fea595ad 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.deepEqual(message.storageItems, {foo: 'bar'}) done() }) }) diff --git a/spec/fixtures/devtools-extensions/foo/index.html b/spec/fixtures/devtools-extensions/foo/index.html index 1b9d1b8cb9b4..fffd93adf6d5 100644 --- a/spec/fixtures/devtools-extensions/foo/index.html +++ b/spec/fixtures/devtools-extensions/foo/index.html @@ -4,11 +4,20 @@