summaryrefslogtreecommitdiffstats
path: root/js/src/tests/non262/extensions/regress-636818.js
blob: 9fa1bc3798f08ec2ecd37a126f67e516fc63dabc (plain)
1
2
3
4
5
6
7
8
9
// |reftest| skip-if(!xulRuntime.shell)
// Any copyright is dedicated to the Public Domain.
// http://creativecommons.org/licenses/publicdomain/

a = evalcx('');
a.__proto__ = ''.__proto__;
a.length = 3;  // don't assert

reportCompare(0, 0, 'ok');