blob: 18843e08da05e675d33424d21042711480bbb03a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<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>
|