gecko/dom/tests/mochitest/bugs/iframe_bug440572.html

18 lines
288 B
HTML

<html>
<body>
<script>
var success = 0;
try {
parent[name].success = 1;
} catch (e) {
parent.postMessage(e, "http://mochi.test:8888");
}
parent.postMessage(success ? "success" : "failure", "http://mochi.test:8888");
</script>
<p>Move on, nothing to see here...</p>
</body>
</html>