Bug 1269005. part 1 - add logs to help debugging. r=bechen.

MozReview-Commit-ID: KQvqiEKZ2O
This commit is contained in:
JW Wang 2016-05-03 11:28:33 +08:00
parent 38fac9d91b
commit 8bd742f2ee

View File

@ -12,6 +12,13 @@
var manager = new MediaTestManager;
function startTest(test, token) {
var ok = function (condition, name) {
SimpleTest.ok(condition, test.name + ": " + name);
}
var is = function (a, b, name) {
SimpleTest.is(a, b, test.name + ": " + name);
}
var v = document.createElement("video");
manager.started(token);
v.addEventListener("error", function (event) {