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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Test case boiled down from www.sjetmarka.no</title>
</head>
<body>
<table>
<tr>
<td>
<SCRIPT language="JavaScript1.2">
document.write('<div>')
</script>
Hei og velkommen til Mozilla
<head>
<script language="JavaScript1.2">
document.write('</div>')
</script>
</head>
</td>
</tr>
</table>
<table>
<tr>
<td>
God jul til alle
</td>
</tr>
</table>
</body>
</html>