Add guestId non-writeable assertions

This commit is contained in:
Kevin Sawicki 2016-06-09 13:45:05 -07:00
parent 2f93735909
commit 2f88bec177

View file

@ -165,6 +165,12 @@ describe('chromium feature', function () {
var b = window.open('about:blank', '', 'show=no')
assert.equal(b.closed, false)
assert.equal(b.constructor.name, 'BrowserWindowProxy')
// Check that guestId is not writeable
assert(b.guestId)
b.guestId = 'anotherValue'
assert.notEqual(b.guestId, 'anoterValue')
b.close()
})