mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-28 20:55:39 +00:00
Bug 524006 - toolkit/content/tests/widgets/test_videocontrols_audio_direction.html fails on Windows debug builds
This commit is contained in:
parent
c164850eaa
commit
a291a5e0f3
@ -21,7 +21,8 @@ RemoteCanvas.prototype.load = function(callback) {
|
||||
iframe.addEventListener("load", function() {
|
||||
var m = iframe.contentDocument.getElementById("av");
|
||||
m.addEventListener("suspend", function(aEvent) {
|
||||
if (aEvent.loaded == aEvent.total) {
|
||||
if (m.readyState == m.HAVE_ENOUGH_DATA &&
|
||||
aEvent.loaded == aEvent.total) {
|
||||
m.removeEventListener("suspend", arguments.callee, false);
|
||||
setTimeout(function() {
|
||||
me.remotePageLoaded(callback);
|
||||
|
Loading…
Reference in New Issue
Block a user