mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backout of changeset 01e3238d3ddd because it didn't help with the orange
This commit is contained in:
parent
e147c900f4
commit
f994a3ef93
@ -20,10 +20,10 @@ RemoteCanvas.prototype.load = function(callback) {
|
||||
var me = this;
|
||||
iframe.addEventListener("load", function() {
|
||||
var m = iframe.contentDocument.getElementById("av");
|
||||
m.addEventListener("progress", function(aEvent) {
|
||||
m.addEventListener("suspend", function(aEvent) {
|
||||
if (m.readyState == m.HAVE_ENOUGH_DATA &&
|
||||
aEvent.loaded == aEvent.total) {
|
||||
m.removeEventListener("progress", arguments.callee, false);
|
||||
m.removeEventListener("suspend", arguments.callee, false);
|
||||
setTimeout(function() {
|
||||
me.remotePageLoaded(callback);
|
||||
}, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user