debug.html 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <!doctype html>
  2. <!--
  3. This file is almost the same as context.html - loads all source files,
  4. but its purpose is to be loaded in the main frame (not within an iframe),
  5. just for immediate execution, without reporting to Karma server.
  6. -->
  7. <html>
  8. <head>
  9. %X_UA_COMPATIBLE%
  10. <title>Karma DEBUG RUNNER</title>
  11. <link href="favicon.ico" rel="icon" type="image/x-icon" />
  12. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  13. <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
  14. </head>
  15. <body>
  16. <!-- The scripts need to be at the end of body, so that some test running frameworks
  17. (Angular Scenario, for example) need the body to be loaded so that it can insert its magic
  18. into it. If it is before body, then it fails to find the body and crashes and burns in an epic
  19. manner. -->
  20. <script src="context.js"></script>
  21. <script src="debug.js"></script>
  22. <script type="text/javascript">
  23. // Configure our Karma
  24. %CLIENT_CONFIG%
  25. // All served files with the latest timestamps
  26. %MAPPINGS%
  27. </script>
  28. <!-- Dynamically replaced with <script> tags -->
  29. %SCRIPTS%
  30. <script type="text/javascript">
  31. window.__karma__.loaded();
  32. </script>
  33. </body>
  34. </html>