comparison: dom/tests/mochitest/bugs/iframe_bug440572.html
dom/tests/mochitest/bugs/iframe_bug440572.html
- branch
- TOR_BUG_9701
- changeset 8
- 97036ab72558
equal
deleted
inserted
replaced
|
1 <html> |
|
2 <body> |
|
3 <script> |
|
4 |
|
5 var success = 0; |
|
6 |
|
7 try { |
|
8 parent[name].success = 1; |
|
9 } catch (e) { |
|
10 parent.postMessage(e, "http://mochi.test:8888"); |
|
11 } |
|
12 |
|
13 parent.postMessage(success ? "success" : "failure", "http://mochi.test:8888"); |
|
14 </script> |
|
15 <p>Move on, nothing to see here...</p> |
|
16 </body> |
|
17 </html> |