Followup fix for cyclic-proto exception change, r=orange

--HG--
extra : rebase_source : eb71da4a4b83bfd35d94f51618b68272985e32eb
This commit is contained in:
Jeff Walden 2010-07-16 16:53:15 -05:00
parent 9d7fef353a
commit 688bdd2c80

View File

@ -104,7 +104,7 @@
window.__proto__ = origProto;
} catch (e) {
is(e.toString(),
'Error: cyclic __proto__ value',
'TypeError: cyclic __proto__ value',
'throw the right exception for a cyclic proto');
is(window.__proto__, origProto, 'reset __proto__ after a cyclic proto');
}