From: Kevin Sawicki Date: Wed, 4 Jan 2017 22:54:18 +0000 (-0800) Subject: Assert duplicate objects are supported X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fd23c7bf766ade7ff4173071fc662308d3a36af1;p=platform%2Fframework%2Fweb%2Fcrosswalk-tizen.git Assert duplicate objects are supported --- diff --git a/spec/chromium-spec.js b/spec/chromium-spec.js index e663dcc..8b672a6 100644 --- a/spec/chromium-spec.js +++ b/spec/chromium-spec.js @@ -277,6 +277,11 @@ describe('chromium feature', function () { hello: { world: true } + }, + baz2: { + hello: { + world: true + } } }) done() diff --git a/spec/static/main.js b/spec/static/main.js index 9b9f6c0..5713783 100644 --- a/spec/static/main.js +++ b/spec/static/main.js @@ -242,6 +242,7 @@ ipcMain.on('create-window-with-options-cycle', (event) => { world: true } } + foo.baz2 = foo.baz const window = new BrowserWindow({show: false, foo: foo}) event.returnValue = window.id })