Front end of the Slack clone application.

test.faultydriver.html 1019B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>localForage Tests!</title>
  6. <link rel="stylesheet" href="/bower_components/mocha/mocha.css">
  7. <script src="/bower_components/assert/assert.js"></script>
  8. <script src="/bower_components/mocha/mocha.js"></script>
  9. <script src="/bower_components/expect/index.js"></script>
  10. <script>
  11. try {
  12. window.originalOpenDatabase = window.openDatabase;
  13. window.openDatabase = function faultyOpenDatabase () {
  14. throw new Error('OpenDatabase Faulty Driver Test!');
  15. };
  16. } catch (error) { }
  17. </script>
  18. <!-- Modernizr -->
  19. <script src="/bower_components/modernizr/modernizr.js"></script>
  20. <!-- Test runner -->
  21. <script src="/test/runner.js"></script>
  22. <!-- localForage -->
  23. <script src="/dist/localforage.js"></script>
  24. <!-- specs -->
  25. <script src="/test/test.faultydriver.js"></script>
  26. </head>
  27. <body>
  28. <div id="mocha"></div>
  29. </body>
  30. </html>