1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dom/tests/mochitest/bugs/iframe_bug304459-2.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,18 @@ 1.4 +<html> 1.5 +<head> 1.6 + <title>Iframe test for bug 304459</title> 1.7 +</head> 1.8 +<body"> 1.9 +<script> 1.10 + 1.11 +var result; 1.12 +try { 1.13 + x == undefined; 1.14 +} catch (e) { 1.15 + result = true; 1.16 +} 1.17 +window.parent.postMessage(result, "http://mochi.test:8888"); 1.18 + 1.19 +</script> 1.20 +</body> 1.21 +</html>