Bug 1077294 - remove NETWORK_LOADED from the test cases. r=jwwang

MozReview-Commit-ID: 7tvTT7DVSqH

--HG--
extra : transplant_source : %DCC%1D%9E%AE%001%EB%06%A4%E5B%80%80%89%8C%E4%FCv%F6
This commit is contained in:
Kilik Kuo 2016-08-08 15:27:14 +08:00
parent c4b39a49eb
commit b7644b831d
2 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@ function startTest(test, token) {
is(test.name, v.name, test.name + ": Name should match #2");
checkMetadata(test.name, v, test);
is(v.readyState, v.HAVE_CURRENT_DATA, test.name + " checking readyState");
ok(v.readyState != v.NETWORK_LOADED, test.name + " shouldn't report NETWORK_LOADED");
is(v.networkState, v.NETWORK_IDLE, test.name + " checking networkState");
ok(v.ended, test.name + " checking playback has ended");
ok(!v.finished, test.name + " shouldn't be finished");
ok(!v.seenEnded, test.name + " shouldn't be ended");

View File

@ -63,7 +63,7 @@ function startTest(test, token) {
is(test.name, v.name, test.name + ": Name should match #2");
checkMetadata(test.name, v, test);
is(v.readyState, v.HAVE_CURRENT_DATA, test.name + " checking readyState");
ok(v.readyState != v.NETWORK_LOADED, test.name + " shouldn't report NETWORK_LOADED");
is(v.networkState, v.NETWORK_IDLE, test.name + " checking networkState");
ok(v.ended, test.name + " checking playback has ended");
finish();