test-apart-ctx.html 584 B

12345678910111213141516171819202122
  1. <html>
  2. <head>
  3. <meta charset="utf-8">
  4. <title>Clone Test-Suite (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 = 'This test suite needs to be run on an http server.';
  17. alert('Apart Context iFrame Error\n' + e + '\n\n' + extra);
  18. throw e;
  19. }
  20. </script>
  21. </body>
  22. </html>