Add guestId non-writeable assertions
This commit is contained in:
parent
2f93735909
commit
2f88bec177
1 changed files with 6 additions and 0 deletions
|
@ -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()
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in a new issue