mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-06-30 07:29:41 +00:00
20 lines
526 B
HTML
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>
|
|
|
|
|