Skip to content

Commit d13e831

Browse files
committed
Fix ClearTimeouts
1 parent 6b65e14 commit d13e831

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

chrome/content/grabber.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ var hterr_grabber = {
159159
if (!wnd)
160160
return;
161161
if (wnd.contentWindow.hterrTimer)
162-
wnd.contentWindow.clearTimeout(wnd.hterrTimer);
162+
wnd.contentWindow.clearTimeout(wnd.contentWindow.hterrTimer);
163163
if (wnd.contentDocument.body === null)
164164
return;
165165
if (wnd.contentDocument.body.scrollHeight > wnd.contentDocument.documentElement.clientHeight)
@@ -297,7 +297,7 @@ hterr_grabber.TracingListener.prototype = {
297297
if (mainDoc !== false)
298298
{
299299
if (mainDoc.contentWindow.hterrTimer)
300-
mainDoc.contentWindow.clearTimeout(mainDoc.hterrTimer);
300+
mainDoc.contentWindow.clearTimeout(mainDoc.contentWindow.hterrTimer);
301301
}
302302
request.QueryInterface(Components.interfaces.nsIHttpChannel);
303303
hterr_grabber.nullData[request.channelId] = true;

0 commit comments

Comments
 (0)