comparison chrome/pageloader.js @ 204:4dec1e56c677

Bug 689518 - error in pageloader causes talos + e10s to timeout in certain cases. r=bear
author Joel Maher <jmaher@mozilla.com>
date Tue, 27 Sep 2011 09:29:52 -0400
parents 0b38ce037298
children eaef28f55f92
comparison
equal deleted inserted replaced
203:24604ae471f8 204:4dec1e56c677
581 content.removeEventListener("MozAfterPaint", plPainted, true); 581 content.removeEventListener("MozAfterPaint", plPainted, true);
582 582
583 if (content.getAttribute("remote") == "true") { 583 if (content.getAttribute("remote") == "true") {
584 content.messageManager.removeMessageListener('PageLoader:Load', plLoadHandlerMessage); 584 content.messageManager.removeMessageListener('PageLoader:Load', plLoadHandlerMessage);
585 content.messageManager.removeMessageListener('PageLoader:RecordTime', plRecordTimeMessage); 585 content.messageManager.removeMessageListener('PageLoader:RecordTime', plRecordTimeMessage);
586 if (MozAfterPaint) 586 if (useMozAfterPaint)
587 content.messageManager.removeMessageListener('PageLoader:MozAfterPaint', plPaintHandler); 587 content.messageManager.removeMessageListener('PageLoader:MozAfterPaint', plPaintHandler);
588 588
589 content.messageManager.loadFrameScript("data:,removeEventListener('load', _contentLoadHandler, true);", false); 589 content.messageManager.loadFrameScript("data:,removeEventListener('load', _contentLoadHandler, true);", false);
590 } 590 }
591 } 591 }