зеркало из https://github.com/mozilla/gecko-dev.git
Bug 580876 - Add debugging logging to figure out if we've got a type error a=test-fix
This commit is contained in:
Родитель
368a729688
Коммит
b49b964daa
|
@ -25,7 +25,11 @@ var tokens = {
|
|||
function gotPlayEvent(event) {
|
||||
var v = event.target;
|
||||
ok(tokens[v._state].indexOf(event.type) >= 0,
|
||||
"Check expected event got " + event.type + " at " + v._state + " for " + v.src);
|
||||
"Check expected event got " + event.type + " at " + v._state + " for " + v.src +
|
||||
" uneval(event.type)=" + uneval(event.type) + " typeof(event.type)=" + typeof(event.type) +
|
||||
" uneval(v._state)=" + uneval(v._state) + " typeof(v._state)=" + typeof(v._state) +
|
||||
" tokens["+v._state+"]=" + tokens[v._state] +
|
||||
" tokens["+v._state+"].indexOf(event.type)=" + tokens[v._state].indexOf(event.type));
|
||||
v._state = event.type;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче