mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 962949 - disable v.networkState checks in test_preload_actions.html because those are not reliable, r=roc
This commit is contained in:
parent
5d675289c5
commit
c1f6394b57
@ -70,7 +70,8 @@ var tests = [
|
||||
is(v._gotLoadStart, true, "(1) Must get loadstart.");
|
||||
is(v._gotLoadedMetaData, false, "(1) Must not get loadedmetadata.");
|
||||
is(v.readyState, v.HAVE_NOTHING, "(1) ReadyState must be HAVE_NOTHING");
|
||||
is(v.networkState, v.NETWORK_IDLE, "(1) NetworkState must be NETWORK_IDLE");
|
||||
// bug 962949
|
||||
// is(v.networkState, v.NETWORK_IDLE, "(1) NetworkState must be NETWORK_IDLE");
|
||||
maybeFinish(v, 1);
|
||||
},
|
||||
|
||||
@ -95,7 +96,8 @@ var tests = [
|
||||
is(v._gotLoadStart, true, "(2) Must get loadstart.");
|
||||
is(v._gotLoadedMetaData, true, "(2) Must get loadedmetadata.");
|
||||
ok(v.readyState >= v.HAVE_CURRENT_DATA, "(2) ReadyState must be >= HAVE_CURRENT_DATA");
|
||||
is(v.networkState, v.NETWORK_IDLE, "(2) NetworkState must be NETWORK_IDLE");
|
||||
// bug 962949
|
||||
// is(v.networkState, v.NETWORK_IDLE, "(2) NetworkState must be NETWORK_IDLE");
|
||||
maybeFinish(v, 2);
|
||||
},
|
||||
|
||||
@ -146,7 +148,8 @@ var tests = [
|
||||
is(v._gotLoadStart, true, "(4) Must get loadstart.");
|
||||
is(v._gotLoadedMetaData, false, "(4) Must not get loadedmetadata.");
|
||||
is(v.readyState, v.HAVE_NOTHING, "(4) ReadyState must be HAVE_NOTHING");
|
||||
is(v.networkState, v.NETWORK_IDLE, "(4) NetworkState must be NETWORK_IDLE");
|
||||
// bug 962949
|
||||
// is(v.networkState, v.NETWORK_IDLE, "(4) NetworkState must be NETWORK_IDLE");
|
||||
v.play(); // Should load and play through.
|
||||
},
|
||||
|
||||
@ -179,7 +182,8 @@ var tests = [
|
||||
is(v._gotLoadStart, true, "(5) Must get loadstart.");
|
||||
is(v._gotLoadedMetaData, false, "(5) Must not get loadedmetadata.");
|
||||
is(v.readyState, v.HAVE_NOTHING, "(5) ReadyState must be HAVE_NOTHING");
|
||||
is(v.networkState, v.NETWORK_IDLE, "(5) NetworkState must be NETWORK_IDLE");
|
||||
// bug 962949
|
||||
// is(v.networkState, v.NETWORK_IDLE, "(5) NetworkState must be NETWORK_IDLE");
|
||||
maybeFinish(v, 5);
|
||||
},
|
||||
|
||||
@ -204,7 +208,8 @@ var tests = [
|
||||
is(v._gotLoadStart, true, "(6) Must get loadstart.");
|
||||
is(v._gotLoadedMetaData, false, "(6) Must not get loadedmetadata.");
|
||||
is(v.readyState, v.HAVE_NOTHING, "(6) ReadyState must be HAVE_NOTHING");
|
||||
is(v.networkState, v.NETWORK_IDLE, "(6) NetworkState must be NETWORK_IDLE");
|
||||
// bug 962949
|
||||
// is(v.networkState, v.NETWORK_IDLE, "(6) NetworkState must be NETWORK_IDLE");
|
||||
maybeFinish(v, 6);
|
||||
},
|
||||
|
||||
@ -235,7 +240,8 @@ var tests = [
|
||||
is(v._gotLoadStart, true, "(7) Must get loadstart.");
|
||||
is(v._gotLoadedMetaData, false, "(7) Must not get loadedmetadata.");
|
||||
is(v.readyState, v.HAVE_NOTHING, "(7) ReadyState must be HAVE_NOTHING");
|
||||
is(v.networkState, v.NETWORK_IDLE, "(7) NetworkState must be NETWORK_IDLE");
|
||||
// bug 962949
|
||||
// is(v.networkState, v.NETWORK_IDLE, "(7) NetworkState must be NETWORK_IDLE");
|
||||
v.play(); // Should load and play through.
|
||||
},
|
||||
|
||||
@ -276,7 +282,8 @@ var tests = [
|
||||
var v = e.target;
|
||||
is(v._gotLoadedMetaData, true, "(8) Must get loadedmetadata.");
|
||||
ok(v.readyState >= v.HAVE_CURRENT_DATA, "(8) ReadyState must be >= HAVE_CURRENT_DATA on suspend.");
|
||||
is(v.networkState, v.NETWORK_IDLE, "(8) NetworkState must be NETWORK_IDLE when load is halted");
|
||||
// bug 962949
|
||||
// is(v.networkState, v.NETWORK_IDLE, "(8) NetworkState must be NETWORK_IDLE when load is halted");
|
||||
maybeFinish(v, 8);
|
||||
},
|
||||
|
||||
@ -343,7 +350,8 @@ var tests = [
|
||||
var v = e.target;
|
||||
is(v._gotLoadedMetaData, true, "(11) Must get loadedmetadata.");
|
||||
ok(v.readyState >= v.HAVE_CURRENT_DATA, "(11) ReadyState must be >= HAVE_CURRENT_DATA.");
|
||||
is(v.networkState, v.NETWORK_IDLE, "(11) NetworkState must be NETWORK_IDLE.");
|
||||
// bug 962949
|
||||
// is(v.networkState, v.NETWORK_IDLE, "(11) NetworkState must be NETWORK_IDLE.");
|
||||
maybeFinish(v, 11);
|
||||
},
|
||||
|
||||
@ -391,7 +399,8 @@ var tests = [
|
||||
is(v._gotLoadStart, true, "(13) Must get loadstart.");
|
||||
is(v._gotLoadedMetaData, false, "(13) Must not get loadedmetadata.");
|
||||
is(v.readyState, v.HAVE_NOTHING, "(13) ReadyState must be HAVE_NOTHING");
|
||||
is(v.networkState, v.NETWORK_IDLE, "(13) NetworkState must be NETWORK_IDLE");
|
||||
// bug 962949
|
||||
// is(v.networkState, v.NETWORK_IDLE, "(13) NetworkState must be NETWORK_IDLE");
|
||||
maybeFinish(v, 13);
|
||||
},
|
||||
|
||||
@ -417,7 +426,8 @@ var tests = [
|
||||
is(v._gotLoadStart, true, "(14) Must get loadstart.");
|
||||
is(v._gotLoadedMetaData, true, "(14) Must get loadedmetadata.");
|
||||
ok(v.readyState >= v.HAVE_CURRENT_DATA, "(14) ReadyState must be >= HAVE_CURRENT_DATA");
|
||||
is(v.networkState, v.NETWORK_IDLE, "(14) NetworkState must be NETWORK_IDLE");
|
||||
// bug 962949
|
||||
// is(v.networkState, v.NETWORK_IDLE, "(14) NetworkState must be NETWORK_IDLE");
|
||||
v.play();
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user