1 | <html>
|
2 | <head>
|
3 | <meta charset="utf-8">
|
4 | <title>Clone Test on Browser</title>
|
5 | </head>
|
6 | <body>
|
7 | <script>
|
8 | var data = document.location.search.substr(1).split('&');
|
9 | try {
|
10 | ctx = parent[data[0]];
|
11 | eval(decodeURIComponent(data[1]));
|
12 | window.results = results;
|
13 | } catch(e) {
|
14 | var extra = '';
|
15 | if ( e.name == 'SecurityError' )
|
16 | extra = '\n\n!!! Try to run this test through a http server. !!!';
|
17 | alert('Apart Context iFrame Error\n'+e+extra);
|
18 | throw e;
|
19 | }
|
20 | </script>
|
21 | </body>
|
22 | </html>
|