mirror of
https://github.com/shaka-project/shaka-player.git
synced 2026-06-14 15:56:38 +03:00
Fix LicenseRequest tests by correcting AJAX mock.
The AJAX mock calls onload() and onreadystatechange() in the wrong order. This broke the tests when clock sync via onreadystatechange was added. Change-Id: I3f55698b6928d5434d1c3edf3bf7cd3b4bdb7eb3
This commit is contained in:
committed by
Gerrit Code Review
parent
a7e2fe5d81
commit
67deb5b7df
+1
-1
@@ -259,8 +259,8 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
this.responseHeaders = response.responseHeaders ||
|
||||
{"Content-Type": response.contentType || "application/json" };
|
||||
|
||||
this.onload();
|
||||
this.onreadystatechange();
|
||||
this.onload();
|
||||
},
|
||||
|
||||
responseTimeout: function() {
|
||||
|
||||
Reference in New Issue
Block a user