Fix this test to deal with the new error that's being thrown.

This commit is contained in:
mrbkap@gmail.com 2007-12-20 15:46:08 -08:00
parent 873105df41
commit e718c42249

View File

@ -35,7 +35,7 @@
window.__proto__ = origProto;
} catch (e) {
is(e.toString(),
'Error: invalid __proto__ value (can only be set to null)',
'Error: cyclic __proto__ value',
'throw the right exception for a cyclic proto');
is(window.__proto__, origProto, 'reset __proto__ after a cyclic proto');
}