dom/bindings/crashtests/862610.html
author Kai Engert <kaie@kuix.de>
Thu, 25 Apr 2013 22:06:51 +0200
changeset 141739 572236490691cde4e673991eaba8d5092b73edfa
parent 140943 4b83cfe95da30a37581b22b49b4fefaf169b850d
child 328133 936dd659fb9a19e924546621f2fc0a7e3ab05f22
permissions -rw-r--r--
Bug 865828 - Upgrade Mozilla 23 to NSPR 4.10, r=wtc

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<script>
  HTMLElement.prototype.__proto__ = Proxy.create({}, {});
  try {
    window.Image;
  } finally {
    // Restore our prototype so the test harnesses can deal with us
    // We can't just assign to __proto__ because it lives on our proto chain
    // and we messed that up.
    var desc = Object.getOwnPropertyDescriptor(Object.prototype, "__proto__");
    desc.set.call(HTMLElement.prototype, Element.prototype);
  }
</script>
</head>

<body></body>
</html>