mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Add guestId non-writeable assertions
This commit is contained in:
@@ -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()
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user