layout/forms/crashtests/370703-1.html
author Tom Schuster <evilpies@gmail.com>
Sun, 14 Jun 2020 18:59:08 +0000
changeset 535622 c68fe15a81fc2dc9fc5765f3be2573519c09b6c1
parent 9924 b32d94555318a6bd2448aa18e751fac1404b92a8
permissions -rw-r--r--
Bug 1644878 - Don't define Map/Set identical iterator methods in self-hosted JS. r=arai I think we were defining those methods in self-hosted JS, because that automatically gives us the property that they all have the same identity. This causes bad error messages. Instead redefine them in the finishInit ClassSpec hook. We still have the "wrong" methods in the 'methods' array so that JSXray tests continue to pass. Differential Revision: https://phabricator.services.mozilla.com/D79615

<html class="reftest-wait">
<head>
<script>

function boom()
{
  document.getElementById("M").style.width = "6em";
  document.documentElement.removeAttribute("class");
}

</script>

<body onload="setTimeout(boom, 30);">

<div style="position:absolute; top: 50px; left: 50px; border: 2px solid orange;">

  <select>
    <option id="M">M</option>
  </select>
 
  <br>
 
  <select style="width: 200%">
    <option style="visibility: collapse; overflow: auto; display: table-footer-group;">X</option>
  </select>
 
</div>

</body>
</html>