Bug 1406146 - Fix cross-compartment global issue in typedarary test. r=jandem

This is an artifact of the same-compartment realm changes. The test
confuses CCWs and WindowProxies.

Differential Revision: https://phabricator.services.mozilla.com/D26847

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Ted Campbell 2019-04-10 12:50:05 +00:00
Родитель 2ee71c3cf5
Коммит dfc3b44cba
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -545,7 +545,7 @@ function test()
check(() => b[90] == 5)
// Protos and proxies, oh my!
var alien = newGlobal();
var alien = newGlobal({newCompartment: true});
var alien_view = alien.eval('view = new Uint8Array(7)');
var alien_buffer = alien.eval('buffer = view.buffer');