Hello everyone,<div><br></div><div>I found a curious point in intl402/ch11/11.3/11.3.js.</div><div>But I don't know this is test262 bug or globalization spec bug.</div><div><br></div><div><div>var testcase = function() {</div>
<div> "use strict";</div><div><br></div><div> if (!(Intl.Collator.prototype instanceof Intl.Collator)) {</div><div> $ERROR("Intl.Collator's prototype is not an instance of " +</div><div> "Intl.Collator");</div>
<div> }</div><div><br></div><div> return true;</div><div>}</div><div>runTestCase(testcase);</div></div><div><br></div><div>If this test case is passed, chain starting from Intl.Collator.prototype.[[Prototype]] get to Intl.Collator.prototype.</div>
<div>And this is circular reference, so following script</div><div><br></div><div>var collator = new Intl.Collator();</div><div>collator.toString; // this is not defined in Intl.Collator.prototype</div><div><br></div><div>
never stops because of infinite loop of [[Prototype]] resolution in [[GetProperty]], is it right?</div><div>If I missed something, please point out.</div><div><br></div><div>Regards,</div><div>Yusuke Suzuki</div>