2a6b1234 by Gary Katsevman

Use sinon fakeXmlHttpRequest.

Change out the custom synchronous XHR to use sinon's fake XHR.
This allows to decide exactly when to respond to XHRs.
1 parent 9cd0cc95
...@@ -3,6 +3,9 @@ ...@@ -3,6 +3,9 @@
3 <head> 3 <head>
4 <meta charset="utf-8"> 4 <meta charset="utf-8">
5 <title>video.js HLS Plugin Test Suite</title> 5 <title>video.js HLS Plugin Test Suite</title>
6 <!-- Load sinon server for fakeXHR -->
7 <script src="../libs/sinon/sinon-server-1.9.0.js"></script>
8
6 <!-- Load local QUnit. --> 9 <!-- Load local QUnit. -->
7 <link rel="stylesheet" href="../libs/qunit/qunit.css" media="screen"> 10 <link rel="stylesheet" href="../libs/qunit/qunit.css" media="screen">
8 <script src="../libs/qunit/qunit.js"></script> 11 <script src="../libs/qunit/qunit.js"></script>
......