<span style>Hello everyone,</span><div style><br></div><div style>I found a curious point in intl402/ch11/11.3/11.3.js.</div><div style>But I don't know this is test262 bug or globalization spec bug.</div><div style><br>

</div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div style><div>var testcase = function() {</div></div><div style><div>  "use strict";</div></div><div style><div><br></div></div><div style><div>

  if (!(Intl.Collator.prototype instanceof Intl.Collator)) {</div></div><div style><div>    $ERROR("Intl.Collator's prototype is not an instance of " +</div></div><div style><div>           "Intl.Collator");</div>

</div><div style><div>  }</div></div><div style><div><br></div></div><div style><div>  return true;</div></div><div style><div>}</div></div><div style><div>runTestCase(testcase);</div></div></blockquote><div style><br></div>

<div style>If this test case is passed, chain starting from Intl.Collator.prototype.[[Prototype]] get to Intl.Collator.prototype.</div><div style>And this is circular reference, so following script</div><div style><br></div>

<blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div style>var collator = new Intl.Collator();</div><div style>collator.toString;  // this is not defined in Intl.Collator.prototype</div></blockquote><div style>

<br></div><div style>never stops because of infinite loop of [[Prototype]] resolution in [[GetProperty]], is it right?</div><div style>If I missed something, please point out.</div><div style><br></div><div style>I sent this mail to test262 yesterday, but <a href="https://mail.mozilla.org/pipermail/test262-discuss/2012-April/thread.html">https://mail.mozilla.org/pipermail/test262-discuss/2012-April/thread.html</a> is not updated, so I send this again.</div>

<div style>Sorry If duplicate mail is arrived.</div><div style><br></div><div style>Regards,</div><div style>Yusuke Suzuki</div>