4 https://bugzilla.mozilla.org/show_bug.cgi?id=629227
7 <title>Test for Bug
629227</title>
8 <script src=
"/tests/SimpleTest/SimpleTest.js"></script>
9 <link rel=
"stylesheet" type=
"text/css" href=
"/tests/SimpleTest/test.css"/>
12 <a target=
"_blank" href=
"https://bugzilla.mozilla.org/show_bug.cgi?id=629227">Mozilla Bug
629227</a>
14 <iframe id=
"testTarget"></iframe>
16 <div id=
"content" style=
"display: none">
20 <script type=
"application/javascript">
22 /** Test for Bug
629227 **/
23 SimpleTest.waitForExplicitFinish();
26 "http://test1.example.org" +
27 location.pathname.replace(/test_bug629227.html/,
"file1_bug629227.html");
29 window.onmessage = function(ev) {
30 if (ev.data ==
"finish") {
33 var data = JSON.parse(ev.data);
35 ok(data.ok, data.reason);
40 addLoadEvent(function() {
41 $(
"testTarget").contentWindow.postMessage(
"start",
"*");