|
@@ -160,7 +160,7 @@ describe('chromium feature', function () {
|
|
|
it('accepts "nodeIntegration" as feature', function (done) {
|
|
|
var b
|
|
|
listener = function (event) {
|
|
|
- assert.equal(event.data, 'undefined')
|
|
|
+ assert.equal(event.data.isProcessGlobalUndefined, true)
|
|
|
b.close()
|
|
|
done()
|
|
|
}
|
|
@@ -185,7 +185,7 @@ describe('chromium feature', function () {
|
|
|
it('disables node integration when it is disabled on the parent window', function (done) {
|
|
|
var b
|
|
|
listener = function (event) {
|
|
|
- assert.equal(event.data, 'undefined')
|
|
|
+ assert.equal(event.data.isProcessGlobalUndefined, true)
|
|
|
b.close()
|
|
|
done()
|
|
|
}
|