chromium/third_party/blink/web_tests/editing/execCommand/default-parameters.html

<html>
<body>
<p>Test for <a href="http://bugs.webkit.org/show_bug.cgi?id=12249">bug 12249</a>:
FCKeditor: &lt;hr>, &lt;ul> and &lt;ol> have id="undefined".</p>
<div id="div" contenteditable="true"></div>

<script>
if (window.testRunner)
  testRunner.dumpAsText();

try {
  var div = document.getElementById("div");
  div.focus();

  document.execCommand("InsertHorizontalRule");

  if (div.innerHTML.match(/.*undefined.*/))
    document.write("FAILURE");
  else
    document.write("SUCCESS");
} catch (ex) {
  document.write(ex);
}
</script>
</body>