diff 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
line wrap: on
line diff
--- a/chrome/pageloader.js	Mon Sep 19 09:48:07 2011 -0400
+++ b/chrome/pageloader.js	Tue Sep 27 09:29:52 2011 -0400
@@ -583,7 +583,7 @@
     if (content.getAttribute("remote") == "true") {
       content.messageManager.removeMessageListener('PageLoader:Load', plLoadHandlerMessage);
       content.messageManager.removeMessageListener('PageLoader:RecordTime', plRecordTimeMessage);
-      if (MozAfterPaint)
+      if (useMozAfterPaint)
         content.messageManager.removeMessageListener('PageLoader:MozAfterPaint', plPaintHandler);
 
       content.messageManager.loadFrameScript("data:,removeEventListener('load', _contentLoadHandler, true);", false);