tenfourfox/js/xpconnect/tests/mochitest/test1_bug629331.html
Cameron Kaiser c9b2922b70 hello FPR
2017-04-19 00:56:45 -07:00

20 lines
526 B
HTML

<body>
<iframe src="about:blank" id="ifr"></iframe>
<script>
/** Test for Bug 629331 **/
function finish() {
parent.postMessage(JSON.stringify({fun: "finish"}), "*");
}
function is(a, b, description) {
parent.postMessage(JSON.stringify({ fun: "is", a: a, b: b, description: description }), "*");
}
document.domain = "example.org";
var i = 0;
is(i, 0, 'i meets starting conditions');
document.getElementById('ifr').src = 'http://test2.example.org/tests/js/xpconnect/tests/mochitest/test2_bug629331.html';
</script>