summaryrefslogtreecommitdiff
path: root/dom/tests/mochitest/bugs/iframe_bug304459-2.html
blob: 3a922b9b211cabd1dec0751d2a3817be55b56f20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<html>
<head>
	<title>Iframe test for bug 304459</title>
</head>
<body">
<script>

var result;
try {
  x == undefined;
} catch (e) {
  result = true;
}
window.parent.postMessage(result, "http://mochi.test:8888");

</script>
</body>
</html>